MIPMap and texture subload

New Message Reply Date view Thread view Subject view Author view

From: kchan2++at++csc.com.au
Date: 12/14/2000 20:35:41


I have a pfTexture with MIPMap levels generated by performer. I retrieve
and modify the pixel data using pfTexture::getImage. I download the
modified areas using pfTexture::subload. I notice only the base level is
subloaded. I have tried calling pfTexture::subloadLevel but the
modifications didn't show up. I suspect the texture for the MIPMap levels
need to be re-generated.

Ideally, I would like to modify the texture on the fly and have the changes
reflected in at least MIPmap level 0 - 2 without incurring the overhead of
forcing the download of the entire texture every frame using
pfTexture::setImage or having to modify the MIPMap texture for level 1 and
2 myself. Any suggestion is appreciated.

I have also tried calling pfTexture::format followed by
pfTexture::loadLevel without success.

Platform Details:
IRIX performer 2.2.8
open GL
Onyx 2 IR2

Cheers
Kenneth Chan
__________________________________________________

CSC
460 Pacific Hwy St Leonards NSW 2065
Ph: +61 2 9901 1165 Mobile: 0413 04 34 74 (+61 413 043474) Fax: +61 2
9901 1110
Email: kchan2++at++csc.com.au


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 15:23:25 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.