Would it be alright if I submitted an update to the example that uses a texgen 
node with ABSOLUTE_RF?  That way the texture would show different effects when 
in EYE_LINEAR and OBJECT_LINEAR mode.

Chase

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Robert Osfield
Sent: Sat 8/4/2007 2:42 AM
To: [email protected]
Subject: Re: [osg-users] texture1D example
 
Hi Brad,

EYE_LINEAR does't actually strictly mean relative to the eye
coordinates, rather the the modelview matrix that was active when the
glTexGen is called is used to compute the final coords.  See the
OpenGL docs for glTexGen.

Robert.

On 8/3/07, Bradford, Chase <[EMAIL PROTECTED]> wrote:
>
>
>
>
> In trying to solve my texgen issue, I decided to play with the texture1D
> example.  I noticed that it defines an AnimateStateCallback which is
> supposed to toggle the texgen mode between OBJECT_LINEAR to EYE_LINEAR every
> second.  Whenever I run the example on cow.osg, the texture seems fixed
> regardless of how I rotate it.  It's as if the texgen computes the coords
> once and never updates them.
>
>
>
> Is there something missing in the example that, or should it really work
> that way?
>
>
>
> Chase
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

<<winmail.dat>>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to