12-19-2012, 10:36 PM
Hi micheus,
I have found a small bug in the POVRay exporter, in which infinite light objects are misnamed.
The easiest way to generate the bug is to create a new wings model, with no custom lighting, and simply use View | Two Lights. When you export your scene to POVRay, open the file and go to the end. The light names are given as:
object{ wl_0_Infinite1
}
object{ wl_1_Infinite2
}
When they should be:
object{ wl_1_Infinite1
}
object{ wl_2_Infinite2
}
I hope this helps- I imagine that it is a quick and easy fix, as it looks like a simple fencepost (off by one) error. (Alternately, the declarations at the beginning of the file could be altered to match what's at the end). I am using the 1.5.0 beta (alpha?) but I think I remember seeing this awhile back the last time I used the POVRay exporter.
Thanks.
I have found a small bug in the POVRay exporter, in which infinite light objects are misnamed.
The easiest way to generate the bug is to create a new wings model, with no custom lighting, and simply use View | Two Lights. When you export your scene to POVRay, open the file and go to the end. The light names are given as:
object{ wl_0_Infinite1
}
object{ wl_1_Infinite2
}
When they should be:
object{ wl_1_Infinite1
}
object{ wl_2_Infinite2
}
I hope this helps- I imagine that it is a quick and easy fix, as it looks like a simple fencepost (off by one) error. (Alternately, the declarations at the beginning of the file could be altered to match what's at the end). I am using the 1.5.0 beta (alpha?) but I think I remember seeing this awhile back the last time I used the POVRay exporter.
Thanks.