![]() |
POV-Ray [plugin] (updated: 2016/Aug/08) - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6) +--- Thread: POV-Ray [plugin] (updated: 2016/Aug/08) (/showthread.php?tid=75) |
RE: POV-Ray plugin [update] - maker - 12-28-2012 [Sorry. I was busy testing some of my replies ![]() "Emission" keyword. (Or translate pov-ray field "power" to "emission" in exported file.) Best to turn off the actual "light" in export, and translate the rgb values to equivalent values of Emission. (Light is {rgb 0} in prev image). Perhaps you can add the "emission" value to the rgb value. E.g.: emission 1 + rgb (colour of light in Wings) <0.2, 0.4, 0.2> = rgb <0.2, 0.4, 0.2> + 1 (in Pov exported file.) Actually, I think, you can just export it as an object. If you translate pov-ray field "power" to equivalent emission, it should do the trick. (Needs more tests for this.) Also, I think (I'm not sure) that radiosity needs to be "on" for it to work properly. RE: POV-Ray plugin [update] - micheus - 12-28-2012 (12-28-2012, 08:17 PM)maker Wrote: Actually, I think, you can just export it as an object. If you translate pov-ray field "power" to equivalent emission, it should do the trick. (Needs more tests for this.)Ok, write down everithing you find and post it to the thread: "POV-Ray Tips" ![]() RE: POV-Ray plugin [update] - micheus - 12-29-2012 (12-27-2012, 05:36 AM)oort Wrote: I am wondering what "material emit" is being used in the plug-in preferences > Use material emit? It seems that the only time you want this enabled is when no lights have been added to the scene. Maybe this option should be labeled as something else???programaticly talking: "Use material Emit for POV-Ray Ambient" => use_emit_ambient when exporting the finish property it will check for this setting and finish ambient will be used in accord Code: case use_emit_ambient of Quote:I don't know enough to say for sure... but wouldn't it be good to list "Emissive Filter" as "Ambient Emissive Filter" so that new users will know what to look for in the render options????again, programaticly talking: "Emissive Filter" => ambient "Emissive power" => ambient_power Code: global_settings { ambient < ambient *ambient_power > RE: POV-Ray [plugin] (updated: 2013/Jan/07) - micheus - 01-07-2013 There is a new update on the top RE: POV-Ray [plugin] (updated: 2013/Jan/07) - oort - 01-07-2013 Micheus, Thanks for the updated file. I only have a moment to check. I noticed that for some reason if an object converted to an area light has hard edges it causes the scene to fail to render. I noticed that an object converted to an area light is visible in the scene but the standard Wings3d area light is not. Assuming that these objects are to be used as meshlights that makes sense... When a sphere is converted to an area light the sphere is mostly dark and does not look like a meshlight... maybe it is not the intent to have them act like meshlights??? Have you posted in the Pov-Ray forum as suggested by maker? Not that you have time for that... ![]() ![]() ![]() oort RE: POV-Ray [plugin] (updated: 2013/Jan/07) - micheus - 01-08-2013 (01-07-2013, 05:54 PM)oort Wrote: I noticed that for some reason if an object converted to an area light has hard edges it causes the scene to fail to render.Thanks oort. I found what was wrong. Fixed. (go top) oort Wrote:I noticed that an object converted to an area light is visible in the scene but the standard Wings3d area light is not.oort, I believe that the Avariant has used it just to implement the orientation vectors (a reason why it was using only three vertices from that plane) - necessary for this kind of light - as I tried to explain here many times (see post #19). Just an addendum I found: "How do I make a visible light source?" or: "Although I put the camera just in front of my light source, I can't see anything. What am I doing wrong?" Sorin Popescu Wrote:"How do I make a visible light source?" or: "Although I put the camera just in front of my light source, I can't see anything. What am I doing wrong?" Quote:Have you posted in the Pov-Ray forum as suggested by maker?Not yet, but there is a lot of links related to this when I "gloogled". I believe that we can mature these concept together and make the changes when it be necessary. At this point I'm going to finish fixing bugs taht you guys have found in order to make the plugin work for the next Wings3d release. But just to foment these questions, I found some informations about the light on other renders (I would like to add only the video links, but I couldn't - it's better watch in full size): VRayLight examples How To Use Textures and Objects to Light Your Scene With and Without Global Illumination in Cinema 4D How to emit light from Objects in Autodesk Maya Don't go away. ![]() RE: POV-Ray [plugin] (updated: 2013/Jan/08) - oort - 01-08-2013 Micheus, Thanks for fixing the problem with hard edges. I think I need to read the entire thread from start to finish again... ![]() ![]() When I add a sphere > convert object to area light > Reset view to Wings3D default view > Render, I see a portion of the sphere. Are you saying that the object being visible is expected behavior? Also, if I set edges to hard I see a couple of white lines running along the Y axis. Just noticed that simply adding a sphere > Reset view to Wings3D default view > Render, gives you a couple of black lines running along the Y axis. oort RE: POV-Ray [plugin] (updated: 2013/Jan/08) - micheus - 01-08-2013 (01-08-2013, 06:25 PM)oort Wrote: Are you saying that the object being visible is expected behavior?I'm just trying to separate the area light from a object converted to light. The first is the light concept and the second is something that looks like a light. So, if we want a plane be used as a emmiter we need to create it with more than four vertices and convert it to light. All examples I found using looks_like key word to produce a emmiter requires a value for global Ambient color as well a big value for ambient color in texture property. This way you'll see the object glowing. I believe the right way to export this kind of light still need to be found. I think that is necessary to export the object outside of the light declaration as well the object's material outside from mesh declaration, but this'll require to change a big part of the plugin code in order to make possible export de declarations in the proper order. That's why I told be stopping at this point for now. We'll come back for a version - supporting v3.7 (maybe v4) features. ![]() RE: POV-Ray plugin [update] - micheus - 01-11-2013 (12-28-2012, 07:30 PM)maker Wrote: And here are the results of my tests.maker, please make this test file available. Thanks RE: POV-Ray [plugin] (updated: 2013/Jan/08) - maker - 01-12-2013 Here it is ![]() Modifications in the .pov file marked with "//CHANGED" |