Re: [osg-users] osgSim::OverlayNode and Point Clouds

2012-05-10 Thread Loren Hoffman
:57 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgSim::OverlayNode and Point Clouds OverlayNode.cpp has some shader code in it you might look at. In osgEarth we pass in a texgen matrix in a uniform, then in the vertex shader say: gl_TexCoord[1] = texGenMatrix * osg_ViewMatrixInverse

[osg-users] osgSim::OverlayNode and Point Clouds

2012-05-09 Thread Loren Hoffman
Hello All, I have a setup where I need to project an overlay node's sub graph onto a point cloud. We already have it setup to overlay onto geometry created with VPB and I was hoping it would just work(tm) for the clouds. Unfortunately it seems to have no effect at all on cloud despite it

Re: [osg-users] osgSim::OverlayNode and Point Clouds

2012-05-09 Thread Glenn Waldron
Loren, If your point cloud has a custom shader, make sure that shader is rendering the projected texture used by OverlayNode. Glenn Waldron / @glennwaldron On Wed, May 9, 2012 at 2:05 PM, Loren Hoffman lhoff...@zebraimaging.comwrote: Hello All, ** ** I have a setup where I need to

Re: [osg-users] osgSim::OverlayNode and Point Clouds

2012-05-09 Thread Loren Hoffman
...@lists.openscenegraph.org] On Behalf Of Glenn Waldron Sent: Wednesday, May 09, 2012 1:17 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgSim::OverlayNode and Point Clouds Loren, If your point cloud has a custom shader, make sure that shader is rendering the projected texture used by OverlayNode. Glenn

Re: [osg-users] osgSim::OverlayNode and Point Clouds

2012-05-09 Thread Glenn Waldron
...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Glenn Waldron *Sent:* Wednesday, May 09, 2012 1:17 PM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] osgSim::OverlayNode and Point Clouds ** ** Loren, ** ** If your point cloud has