Rendering a 3-d texture

New Message Reply Date view Thread view Subject view Author view

wrvo (WRVO++at++chevron.com)
Wed, 27 Aug 1997 13:28:02 -0700


I have a 3-d texture I want to render this cube in a given number of
planes where each plane is perpendicular to the eye direction (parallel
to the screen). I can't seem to figure out what transforms I need to do
this. I've tried Texture matrix and generating the coordinates in
EYE_LINEAR with a constant box in x,y (0,0->1,0->1,1->0,1->0,0) and the
z coordinate changing but this rendering stuff that is outside of the
cube. The current code generates and renders the cube parallel to the
cube's z's axis not parallel to the screen. I know it can be done, but
how? I looked at the tex3d program but it renders using the
texture matrix and just uses that to modify the orientation of the cube,
not the view direction.

Thanks,

Bill Volz
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.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:55:47 PDT

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