Michael A. Coleman (mcoleman++at++txdirect.net)
Tue, 10 Mar 1998 10:45:13 -0600
One can stuff a non-square texture into a square clipmap; we had to do
this. Decide which square power of two you want to go to and then stuff
your image into half or fourth or eighth (or whatever your nearest
power-of-two aspect ratio is) of the cliptexture. Your image cache
files still have to refer to a square cliptexture. The trick is
positioning your eyepoint so that you never look at the areas of the
entire cliptexture that don't correspond to your actual image. We set
up blank tiles of various sizes to cover the "undefined" area of the
cliptexture.
There may be a better way to do this, but this is what we came up with.
We did this quite a bit of time ago, so my explanation is a little hazy.
Regards,
Michael A. Coleman
mcoleman++at++txdirect.net
=======================================================================
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