12-25-2012, 04:33 AM
I'm working in the POV-Ray plugin in order to fix the exporting crash when an object was converted to an area light (option Object To Area Light). It's happening because until now it was expected to process an object with only four vertices (the conventional Area light).
But, by testing the changes and checking some source codes for add some options I got again in an old problem: the context menu for this kind of light is the same shaw for mesh objects.
The code treats this special light only to include in the context menu an option to revert light to object (option Area Light to Object).
I checked the wings_light:menu() and it's ready to process this kind of light - although that never happens.
also, to convert an object into light should be (probably) the last user action before finishing the scene.
that said, I believe that the right work-flow for this should be:
... and, what about if the user decided to change the shape?
I would like to listening to someone else about this concept/idea.
TIA
Micheus
But, by testing the changes and checking some source codes for add some options I got again in an old problem: the context menu for this kind of light is the same shaw for mesh objects.
The code treats this special light only to include in the context menu an option to revert light to object (option Area Light to Object).
I checked the wings_light:menu() and it's ready to process this kind of light - although that never happens.
also, to convert an object into light should be (probably) the last user action before finishing the scene.
that said, I believe that the right work-flow for this should be:
Code:
- to model the object and convert it into light;
-> from this point, the object is only a light - and Wings will treat as such.
... and, what about if the user decided to change the shape?
Code:
- convert back the light into object;
-> from this point, it is only a object again - and Wings will treat as such.
I would like to listening to someone else about this concept/idea.
TIA
Micheus