PDA

View Full Version : gluBuild3DMipmaps Problem



Stack Overflow
01-22-2003, 10:43 AM
Hello,

I am trying to find an example of how gluBuild3DMipmaps work. Does anyone know of a tutorial or a source file where I can find an example of gluBuild3DMipmaps. This maybe a beginner question, but I already tried posting there. No replies. I thought I would try here. Thank You.

- VC6-OGL

V-man
01-22-2003, 02:03 PM
You can download the source code from sgi's web site to see how it works.

I think it scales the slices, then it scales for the depth by contructing new slices (called anti-slices I think) ...

It's very CPU intensive.

vincoof
01-23-2003, 12:44 PM
The difference between gluBuild2DMipmaps and gluBuild3DMipmaps is exactly the same difference between gluBuild1DMipmaps and gluBuild2DMipmaps. Excuse me but I don't get the problem since the mipmapping algorithm is obvious. Maybe I'm misunderstanding your question.

Stack Overflow
01-23-2003, 04:16 PM
I am simply trying to find an example code or a source code that explains how to use this function and to see it work using GLUT.

- VC6-OGL