From: Lawrence E Bertoldi (lberto++at++adelphia.net)
Date: 11/25/2003 20:21:31
I'm building a wave model and I am trying to use 3d texturing.
After having little success, I tried to check out the volume demo in
Performer/src/pguide/libpf/C++
Looking at the image file they build, I have concluded that it dose not
work because all I see
is the white cube, no black or gray.
So I built a 512 x 1024 texture, load it, do a getImage on it.
The returned image is as expected,
cmp = 4
sx = 512
sy = 1024
sz = 1
Now I do a setImage setting sx = 512, sy = 512, sz = 2
No matter what I set the texGen planes to the texture wont show up!
If i set sz = 1 the texture shows up no matter how I have the texgen
set!
I have tried this on 2.5.1 and 3.0 Linux with gforce 4 and fx2000/3000
So my question is::
Dose 3d texturing under Performer 2.5.1 or 3.0 work?
Dose it work on 3.1 or should I go directly to OpenGL!
This archive was generated by hypermail 2b29 : Tue Nov 25 2003 - 21:14:12 PST