Hi,

I have an OSG app setup where I load in a relatively large model. The bounding 
sphere is centered at 0,0,0 with a radius of 50000.

I have copied the skybox code from the osgvertexprogram, and set the radius of 
the sphere to 100,000.

However, when I run the app now, All I see is the skybox. If I change the state 
to see un-filled polygons, I can see the model data as well as the sky box, so 
it seems the skybox is over-writing the model data. The stats 's' also shows 
that all of the model data polygons are being processed and drawn.

So my question is, why is my skybox overwriting my model pixels? I've followed 
the code exactly as per the osgvertexprogram. 

Any ideas please?

Thank you!

Cheers,
Paul

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





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

Reply via email to