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

Argentieri, John-P63223 John.Argentieri at gdc4s.com
Fri Oct 26 11:29:10 PDT 2007


Robert,

My images are in a lat/long coordinate system. How can I project them
onto a globe in spherical coordinates? 

John

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Friday, October 26, 2007 1:57 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] TexGenNode and projecting from inside geometry
tothe outside

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
>
>
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g



More information about the osg-users mailing list