[osg-users] TexGenNode and projecting from inside geometry tothe outside
John.Argentieri at gdc4s.com
Fri Oct 26 11:29:10 PDT 2007
My images are in a lat/long coordinate system. How can I project them
onto a globe in spherical coordinates?
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Sent: Friday, October 26, 2007 1:57 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] TexGenNode and projecting from inside geometry
Use the TexGenNode with eye linear coordinates.
On 10/26/07, Argentieri, John-P63223 <John.Argentieri at gdc4s.com> wrote:
> 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.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
osg-users mailing list
osg-users at lists.openscenegraph.org
More information about the osg-users