Marcus Barnes (marcus++at++multigen.com)
Fri, 20 Jun 1997 16:46:39 -0700
Yes, although 2.1 is troublesome. My experience has been that you must use
".raw8" image tiles and run your application from the directory containing the
image files.
> A .flt file with any size cliptexture (8k, 4k, 2k) appears distorted
> in perfly (using MultiGen 15.2d loader).
The loader requires that the clip texture use a texture mapping entry, meaning
it must be projected. When mapping the texture using "Put Texture" tool, make
sure to check "Add to mapping palette" in the modeler.
Also pfFlatten doesn't handle texture projection (pfTexGen) so you cannot
project texture on transformed geometry and then flatten it. If your geometry
is transformed, disable the loader mode PFFLT_FLATTEN and don't otherwise call
pfFlatten. For example:
% perfly -y flt,1,0 -y flt,20,1 terrain_cliptexture.flt
> Also, when I attempt to modify clip parameters via perfly controls, the
> following warning appears:
>
> PF Warning: Can't modify clip parameters because the
> pfClipTexture is not being controlled by a pfMPClipTexture
Perfly's setup, in 2.1 and early 2.2 alphas, aren't expecting any loader to
handle clip texture centering, so it's not aware of what the OpenFlight loader
has done. You'd have to modify perfly to resolve this.
Perfly 2.2a265 (or there abouts) is fixed to handle this situation (right Tom?
;-) and the OpenFlight loader R15.4b does a better job negotiating with
pfPipe(s) wrt adding pfMPClipTexture's too.
My goal is to make clip texture usage in OpenFlight as simple and automated as
classic texture usage. Comments and requests are welcome.
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
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:55:29 PDT