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

Robert Osfield robert.osfield at gmail.com
Fri Oct 26 12:09:29 PDT 2007


On 10/26/07, Argentieri, John-P63223 <John.Argentieri at gdc4s.com> wrote:
> Robert,
>
> My images are in a lat/long coordinate system. How can I project them
> onto a globe in spherical coordinates?

There is no OpenGL texgen support for this type of mapping.  You could
possible use a vertex program to do it, but far more practical would
be to put lat/long tex coords onto the geometry via a custom visitor
that adds this to loaded models.

Robert.



More information about the osg-users mailing list