Philip Nemec (nemec++at++sgi.com)
Tue, 10 Mar 1998 11:23:49 -0800
The examples given of how to pad out a non-square cliptexture to a square one
are the correct solutions, although there are also a few cases where the best
thing to do is make 2 square cliptextures.
caveats with these techniques:
Padding up a non-square cliptexture may cost you a level. In other words if
you have 2 square cliptextures you can achieve a higher number of levels (a
larger sized cliptexture) than with one square one containing a rectangular
cliptexture.
2 cliptextures take up roughly twice the texture memory as 1. Other resources
are increased as well, but this is the most painful one to me...
-------
Angus's suggestion of using the texture matrix to scale texture coords to make
the square cliptexture look like a rectangle sounds reasonable, but hopefully
Don Hatch can clarify if this interferes any with Performer's cliptexture
munging (and precision issues).
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:00 PDT