Can I load rgba files directly?
liyi (liyi++at++appmail.zju.edu.cn)
Sun, 06 Jun 1999 16:00:12 +0800
Hi, thank you for looking at my question.
These days I use Performer on O2 to do some work of virtual
reality.
And I want to make some faces be transparent. I have some rgba files
like
*.rgba. And I use pfLoadTexFile(pfTexture *tex,char *fname) to load the
files. But it doesn't work, seeming that it can just load rgb file. But
I want to transparent parts of the texture. And I have succeeded
transparent
parts of the texture using pfTexImage(pfTexture *tex,unit* image,int
comp...)
by setting comp = 4. But I think loading rgba files is easier. How can I
load
them directly and also get their transparent attribute.
thank you!
ZhouTian
This archive was generated by hypermail 2.0b2
on Sun Jun 06 1999 - 00:55:51 PDT