>Hmm.... The normals might actually be a problem... Since I haven't added
anyone myself.


And now that I added the normals, it works just fine :o)

The question then is why the same code behaves differently in the prototype
and the main application.
One reason might be that in the prototype I am using the osgProducer
viewer, and in the application I use producer directly, implementing a
custom navigation etc.

Another issue might be that in the prototype, I add the objects to the
scenegraph before I do viewer->realize(). In the application the nodes are
added after the realize() call.
My question then is whether or not osgProducer and/or the realize function
performs some kind of automatic normal calculation on the geometry object?

Regards, Werner Lindgård.


_______________________________________________
Werner Lindgård, Programmerer
Telephone   +47 67 81 70 00
Direct line     +47 67 81 70 68
[EMAIL PROTECTED]

ViaNova Systems AS
Leif Tronstads Plass 4, P.O.Box 434
N-1302 Sandvika, Norway
________________________________________________

http://www.vianova.no
http://www.novapoint.com

________________________________________________

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to