The terrain stay black even if I remove the speedtree node.So we can specify:
1.When we use a addslave-type rtt camera,with usemasterdata set true,Eveything 
is OK,BUT the workload is quite heavy.
2.When we use a addslave-type rtt camera,with usemasterdata set false,the 
osgearth lost its textures and turn into black,but the speedtree is fine.
3.When we use a addchild-type rtt camera,the osgearth can be fine,but the 
speedtree node are totally disapeared.
BTW,nodemask seem not to work when we use the first and only way.



robertosfield wrote:
> Hi John,
> 
> 
> The inconsistent behaviour suggests that some state set up by SpeedTree is 
> affecting the OSG rendering and possibly the other way around too.  
> 
> 
> W.r.t. rendering different parts of the scene in the mirror vs main scene, 
> you can use a combination of NodeMask's on the subgraphs you want to 
> specialize and CullMask (see in osg::CullSettings that is inherited by 
> osg::Camera.)
> 
> 
> Robert
> 
> 
> 


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





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

Reply via email to