> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay
> Sent: Monday, December 17, 2007 6:18 PM
> To: [email protected]
> Subject: Re: [osg-users] Really Big Scenes and clipping
> 
> Hello Richard,
> 
> > Being able to render something last... that could be useful. But I'm
> > thinking I want to render the skydome _first_, using a "painters
> > algorithm" and drawing everything else in front of it. It seems this
> > would also be the best approach for a rendering a night time sky using
> > point sprites for the stars, etc.
> 
> Why do you want to render it first, and then have it be overwritten by
> your objects, which might (worst case) result in having drawn the
> whole screen twice for nothing?
> 

It sounds like he wants to render it first because he's placing a unit sphere 
around the eyepoint, which is probably closer than everything else and surely 
won't get clipped by the far plane.  That way, everything that's rendered later 
will overwrite it as if occluding it, leaving only unoccluded areas of the sky 
still visible without any fear of z-fighting.

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

Reply via email to