cool, thanks.
I was going to say that C++ isn't a problem, but then I looked at the code and I guess it IS a problem.
I'm quite familiar with Borland C++ but I have some serious problems with MS C++ and since I'm kinda new to 3D, I'd very much appreciate it if anybody could either find a Delphi version or translate it.

My problem is basically how to generate the lightmaps. I know how to do multi-texturing and all that stuff

Maybe somebody can recommend a book? I'd really like to learn more about 3D in general.

Thank you.