[osg-users] Unexpected different lightening

Florian GOLESTIN florian.golestin at gmail.com
Wed Nov 22 08:22:29 PST 2017


Hi everyone, 

I've exported a blender scene with the osgexport module (https://github.com/cedricpinson/osgexport) however the lightening is not as bright as expected (see screenshot).

I've exported the same scene as wavefront (.obj) and it renders correctly.

Then I converted the .obj into a .osgt with osgcong to compare but I cannot spot the difference. I even copied the Material and Normal parts without success.

ScreenShot:

Code:

osgconv ../media/ZincTest.obj ../media/ZincTest.osgt 
osgviewer ../media/ZincTest.osgt ../media/islands.osgt




The bright green elements are the correct ones (from Wavefront)

What else I can look for?

Have a nice day!
Florian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72437#72437




Attachments: 
http://forum.openscenegraph.org//files/capture_dcran_de_2017_11_22_16_54_33_649.png




More information about the osg-users mailing list