Ron Inbar (dp17243++at++elbit.co.il)
Tue, 13 Apr 1999 20:27:20 +0200
As far as I know, the SGI implementation of OpenGL always interpolates
texture coordinates in a perspective-correct manner, so chances are your
problem is not perspective correction.
To be on the safe side, try turning on perspective correction with the
following OpenGL statement:
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
Ron
> ----------
> From: Frank Foehl[SMTP:foehl++at++rus.uni-stuttgart.de]
> Sent: ?יום שלישי, אפריל 13, 1999? 15:27
> To: info-performer++at++sgi.com
> Subject: Perspective Correction of 3d-Textures?
>
> I've just noticed that there seems to be no perspective
> correction when rendering polygons with 3d-textures mapped
> onto them.
>
> Do I have to put up with it (I'd use a finer triangle mesh instead
> of few large triangles) or can I switch on perspective correction?
> (how?)
>
>
> Cheers,
> 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
>
This archive was generated by hypermail 2.0b2 on Tue Apr 13 1999 - 10:44:35 PDT