PDA

View Full Version : Cube Environment Mapping ?



edotorpedo
10-31-2000, 04:48 AM
Does anyone know a good tutorial with some code on Cube Environment Mapping. I need tutes that don't need the geForce-hardware, because I don't have a geForce, so the tutes from nVidia will do me no good.

Thanks,

EdoTorpedo

10-31-2000, 12:53 PM
The problem is that cube environment mapping
is an OpenGL extension, and thus you need the
tutorial for that extension. Hopefully,
everyone who implements that extension will
implement it the same way.

Does your hardware even support CEM ? If it
does, does the OpenGL driver implement the
extension? If it does, then the nVidia
tutorials should work fine (if you can work
around any other non-related extensions they
may possibly use).

richardve
10-31-2000, 08:47 PM
Don't try to do CEM in software because it's very slow.

edotorpedo
11-02-2000, 08:50 AM
Thanks for the comments.
No, my hardware does not support CEM, because I have a voodoo2. Does anybody know if there is an other way to do realistic environment mapping in runtime ? I've tried sphere mapping, but its still too 2-dimensional.

Edo

mcraighead
11-02-2000, 01:14 PM
Dual paraboloid mapping is an option, so long as your hardware can do projective texturing. I don't know if Voodoo2 can.

Dual paraboloid mapping is higher-quality than spheremapping, at the cost of using 2 textures or 2 passes, but less efficient and lower quality than cubemapping.

- Matt