PDA

View Full Version : Reflections with OBJ files...



Robert_Burns
03-05-2003, 02:08 PM
Hello,

I am working on a project called glChess (sourceforge.net/projects/glchess [the site is way out of date]), and we are currently working on rewriting the codebase. We would like to add support for external models using the OBJ format. We also want the pieces to be reflective, in order to simulate the appearance of silver, gold, etc. We have the code to load the model; now, how do we make the pieces reflective?

Thanks much.

Robert

rgpc
03-05-2003, 06:23 PM
Have a look at the home page for Opengl.org - there was a reflection demo posted today. You could also look at the reflection demos on the nVidia developer site (and no doubt ATI has a heap of them too).

dorbie
03-06-2003, 10:04 AM
Look for environment mapping documentation, spheremap and cubemap.