Glenn Waldron (gwaldron++at++peril.com)
Wed, 19 Feb 1997 09:52:59 -0500
As for sampling, when you render to say the fbuffer, and then use
glCopyTexImage2D to copy into texture memory, only mipmap level 0
is supported on RE/RE2 (anyone know about iR?). So you'd have to
use something like gluBuild2DMipmaps, but this is slow because it calls
glTexImage2D for each mipmap level it generates.
You can still get pretty good performance if you map to a geometric
approx. of a sphere (if you don't mind the approximation). Check out
ftp://ftp.coryphaeus.com/pub/tmp/distcorr.tar.gz for some example code
(requires Coryphaeus EasyScene to run. The math may not be right but
it demonstrates the technique).
Glenn.
------------------------------------------------------------------------
Glenn Waldron - ANSER Leading Edge Technologies phone/PCS: 703.598.7835
email: gwaldron++at++peril.com voice mail: 703.416.8462
=======================================================================
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:54:40 PDT