[osg-users] TexGenNode and projecting from inside geometry to the outside

Robert Osfield robert.osfield at gmail.com
Fri Oct 26 10:56:33 PDT 2007


Use the TexGenNode with eye linear coordinates.

On 10/26/07, Argentieri, John-P63223 <John.Argentieri at gdc4s.com> wrote:
>
>
>
> Robert,
>
> If I want to project textures onto a PagedLOD globe, can I do so from inside
> the globe using a texgennode? It would be easiest to do if I could set the
> texgennode's matrices to look out at the surface of the earth from the
> origin.
>
> Would the fact that this is a paged database screw things up?
>
> It looks to me like the stateset that applies the texture must belong to the
> parent of both the texgennode and the geometry I am projecting onto. Is this
> true?
>
> How many texture attributes can this parent have in its stateset? I need a
> lot.
>
>
> John
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list