[osg-users] texture1D example

Bradford, Chase CHASE.BRADFORD at saic.com
Fri Aug 3 14:05:05 PDT 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070803/b86467aa/attachment.html 


More information about the osg-users mailing list