Re: texture matrix

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Fri, 1 Mar 1996 09:22:16 -0800


On Mar 1, 9:57am, Angus Dorbie wrote:
> Subject: Re: texture matrix
> Use pushmatrix & popmatrix to save & restore the default texture matrix.
>
> Rgds,
> Angus.
>
> On Feb 29, 6:00pm, AnitaKishore wrote:
> > Subject: texture matrix
> > I am using gl commands to download texture matrix. I was not able to
localize
> > the texture matrix effect to the textures I wanted. Once downloaded, it
> > effected
> > all geometry textures following the current node.
> >-- End of excerpt from AnitaKishore
>
>
>
> --
> Angus Dorbie,
> Silicon Graphics Ltd, UK
> dorbie++at++reading.sgi.com
>-- End of excerpt from Angus Dorbie

I did so at first. I called pushmatrix before loadmatrix in pre-node trav
callback. Then restored it by popmatrix in the post-trav callback. It
didn't help. Also the gl man page says:

"pushmatrix operates on the single transformation stack when mmode is
     MSINGLE, and on the ModelView matrix stack when mmode is MVIEWING. It
     should not be called when mmode is MPROJECTION or MTEXTURE."

Hence I changed it to loading id matrix to restore. But none of these
things work. Has anyone worked on texture matrix in Performer (2.0)?

Any help would be greatly appreciated.

thanks
-anita

----------------------------------------------------------------------
Anita Kishore
kishore++at++electrogig.com
----------------------------------------------------------------------


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:52:31 PDT

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