[osg-users] problem of rendering overlaped models.

2013-02-15 Thread wh_xiexing
hi friends: i have 2 models to render, some part of which are overlaped . so the result is some kind of weird. how can i resolve this probem? do i need to split the model and align them? or set different render details for the 2 models? Shawl__

Re: [osg-users] problem of rendering overlaped models.

2013-02-16 Thread Preet
When you say "weird" what do you mean? If you have polygons that are positioned/aligned very closely to one another you might be seeing z-fighting (http://www.zeuscmd.com/tutorials/opengl/15-PolygonOffset.php). In that case you can tell OpenSceneGraph to use polygon offset on one of the models.

Re: [osg-users] problem of rendering overlaped models.

2013-02-16 Thread Chris Hanson
Are the models transparent at all, or opaque? On Sat, Feb 16, 2013 at 5:21 AM, Preet wrote: > When you say "weird" what do you mean? If you have polygons that are > positioned/aligned very closely to one another you might be seeing > z-fighting (http://www.zeuscmd.com/tutorials/opengl/15-Polygo