PhilY
06-26-2002, 11:33 AM
Hi,
I just wrote a small code in glut, with LOT's of dorbie's help; it runs quite slow on my card above using 128^3, 32 bit color, blending.
That's only 8megs so my card should be able to handle that. I tried drawing and blending 128 128^2 textures; they run a lot quicker than the 3D texture counter part.
The way I'm implementing is:
- Transform texture matrix
- set up clipping planes and enable
- Change to modelview matrix
- Generate texture coordinates
- and draw about 80 quads, view aligned
It's especially slow (like 2-3 seconds for a single frame on 300X300 viewport taking up less than 30% of the viewport area!) when it's rotated 45 degrees about the X and Y axes - that's when the most number of quads are rendered since the 3D texture is longest in the z-direction.
I was suspecting if 3D texturing is only implemented in software for this card but the guy from 3D Labs assures me that it is implemented in hardware. Plus, the rotations about one single axis are too fast to be software since I only have P2-450 Xeon - maybe 7 fps.
So is this about the normal speed for 3D textures? Anyone have GVX1 and tried 3D textures? Any comments/suggestions are greatly appreciated.
If you wanna see the details of my code, you can look at this post: http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/006597.html
- Phil
I just wrote a small code in glut, with LOT's of dorbie's help; it runs quite slow on my card above using 128^3, 32 bit color, blending.
That's only 8megs so my card should be able to handle that. I tried drawing and blending 128 128^2 textures; they run a lot quicker than the 3D texture counter part.
The way I'm implementing is:
- Transform texture matrix
- set up clipping planes and enable
- Change to modelview matrix
- Generate texture coordinates
- and draw about 80 quads, view aligned
It's especially slow (like 2-3 seconds for a single frame on 300X300 viewport taking up less than 30% of the viewport area!) when it's rotated 45 degrees about the X and Y axes - that's when the most number of quads are rendered since the 3D texture is longest in the z-direction.
I was suspecting if 3D texturing is only implemented in software for this card but the guy from 3D Labs assures me that it is implemented in hardware. Plus, the rotations about one single axis are too fast to be software since I only have P2-450 Xeon - maybe 7 fps.
So is this about the normal speed for 3D textures? Anyone have GVX1 and tried 3D textures? Any comments/suggestions are greatly appreciated.
If you wanna see the details of my code, you can look at this post: http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/006597.html
- Phil