[osg-users] slave cameras and transparent bin

Paul Martz pmartz at skew-matrix.com
Mon Mar 3 09:15:23 PST 2008


If the problem occurs with two slave cameras, then you should be able to
reproduce it using osgviewer on a dual-display system, right? If so, please
post an .osg file so that we can reproduce the issue.
   -Paul


> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org 
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf 
> Of Jason Coposky
> Sent: Sunday, March 02, 2008 4:17 PM
> To: osg-users
> Subject: [osg-users] slave cameras and transparent bin
> 
> 
>     quick question:
> 
>     i have two adjacent slave cameras with a 45 degree heading view 
>     offset from single point of projection.
> 
>     if i have overlapping geometry with partially transparent 
> textures 
>     they will render correctly in one camera but incorrectly 
> in the other
>     in that the background is no longer properly blended through the
>     transparent portions of the geometry.
> 
>     im testing this with two gaussian blobs which fall off to 
> 100% transparent
>     which are overlapped.  
> 
>     my guess is that the z sort is done once for the master 
> camera and not
>     for the view offset of the slave cameras.  is there some 
> simple way
>     to remedy this or will i have to create multiple viewers 
> and manually
>     set the view offset every frame in a predraw callback?
> 
>     much thanks
> 
>     ~jason coposky
> 
> 
> 
> 
>       
> ______________________________________________________________
> ______________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.  
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org



More information about the osg-users mailing list