: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
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
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
...@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
...@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
5 matches
Mail list logo