Hi,

this is my first post to this forum and I am also quite new to OpenSceneGraph. 
My current project is to write a converter from an XML-based format to 
OpenFlight using OSGs OpenFlight plugin. In general, everything works nicely 
already but now I am diving into some remaining details.

1. I do not have any surface normals on input so I tried to generate them via 
the SmoothingVisitor. It seems to work but the normals are pointing the wrong 
way (to the inside of the objects). I would guess that my input polygons are 
oriented the wrong way. Is there a simple flag that I can set?

2. Out of curiosity I looked into the source and found something that might be 
a bug in SmoothingVisitor.cpp (SVN r13084) lines 655-663: A variable 'stif2' is 
instantiated but inside the if-block 'stif' is used. This looks wrong to me.


Thank you!

Cheers,
Wolfgang

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to