Re: Texture Coordinates

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Thu, 13 Jan 94 10:40:34 -0800


   
> Is there an available algorithm that will automatically generate texture
> coordinates for Performer geosets (i.e. similiar to GL's texgen command) ?

Not per se. It could be a useful addition to the utlity
library geoset construction routines, but most modelers can
do this already.

If your modeler doesn't, or you want dynamic texture
coordinates generated for a special effect, you can call
texgen yourself. At rendering time, you a node pre-draw
callback to turn texgen on and then turn it off in the
node's post-draw callback.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:08 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.