PDA

View Full Version : 3D Goblet/Wine Glass Rendering..



CG12345
04-29-2003, 05:09 AM
Hi,

Does anybody have the source code for rendering a 3D goblet/Wine Glass using OpenGL.....I searched on GOOGLE but without luck...or can anyone explain me how I can create one using Open GL(C++).

I would appreciate your help.

Thanks in Advance

nexusone
04-29-2003, 05:31 AM
The best way is to use a 3D editor to create your goblet, there are lot's of sites out there with free 3D objects. Just make sure the object you download is a format that someone has written a routine to load it.

You also can get a program like spatch, milkshape to create the object then you can just us model loading routine to read it in.

Milkshape has a openGL plug-in to create a C/C++ source file with the objects information. And example code on how to use it.


Originally posted by CG12345:
Hi,

Does anybody have the source code for rendering a 3D goblet/Wine Glass using OpenGL.....I searched on GOOGLE but without luck...or can anyone explain me how I can create one using Open GL(C++).

I would appreciate your help.

Thanks in Advance

CG12345
04-29-2003, 06:33 AM
Thankyou..

I have installed Milkshape and I see every other export format other than Open GL and as u said Iam trying to find the plugin to export into a C++ source code..

Thanks,