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.
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.
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.
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.