Re: Generate Texture Coords for 3d-Textures?

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Wed, 31 Mar 1999 14:19:30 -0800


This is supported for explicitly specifying 3D tex coords, but you do
not have the individual attribute support in the geoset. You must
instead use:

PFGS_PACKED_ATTRS

Look at the man page and you will see the following 3D texture packed
formats are supported:

PFGS_PA_C4UBN3ST3FV3F, PFGS_PA_C4UBN3ST3F, PFGS_PA_C4UBT3F

Cheers,Angus.

Frank Foehl wrote:
>
> Hi Performer people,
>
> I'm looking for a way to re-calculate texture coordinates
> of a GeoSet per frame, but I'd prefer not to use pfTexGen.
> Normally (with 2d-Textures) I can define new texture coords
> by geoset->setAttribute using the PFGS_TEXCOORD2
> attribute, but there doesn't seem to be an equivalent for
> 3d textures. Is there a way to specify 3d-texture coordinates
> _other_ than with pfTexGen?
>
> Thanks in advance,
>
> Frank
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Only the mediocre are always at their best." -- Jean Giraudoux

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Mar 31 1999 - 14:19:36 PST

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