PDA

View Full Version : Managing Different Objects



Bhimesh
11-14-2009, 05:07 AM
Hi,

I am very new to OpenGl/GLUT.

I am developing a 3D application where I want to render objects like HUB, Valves in 3D.

As a start I created individual programs for HUB, Valves, etc I have around 250+ such objects

User can select any object in application and select "view 3D" button. So problem is how to manage these objects?
Do I need to write program for all objects. Is there any intelligent way to do? I mean writing program for 250 objects is not a correct way to do. So, can we design 3d object using some tool and use that object in openGL?? Is there any standard format to save 3d objects?

The application is developed in proprietary language where there is no direct bind to openGl. So I am developing a c program, which I can call from the application.

Please direct me to a right path


Thanks,
Bhimesh

pjcozzi
11-14-2009, 09:07 AM
Is there any standard format to save 3d objects?
Unfortunately not, but COLLADA (http://) is a popular interchange format and the COLLADA DOM (http://sourceforge.net/projects/collada-dom/) is a freely available C++ library.

Take care,
Patrick

Bhimesh
11-15-2009, 03:04 AM
i did some search on collada.. i found it is a type of XML format.. I am able to download some viewers. which loads .dae file. But i coudn't find editors

I mean i want to create a 3d shape in the editor and export To .DAE file and use them in my program.

is there any editor available which can create a user custom shape and saves a DAE..

Please tell some Open source tools


Thanks,
Bhimesh

ZbuffeR
11-15-2009, 04:17 AM
Blender

Aleksandar
11-15-2009, 06:05 AM
is there any editor available which can create a user custom shape and saves a DAE..
I'll change this question to:
Is there any respectable 3D editor that does not support Collada? :)

The point is that Collada is an interchange file format for 3D applications. Even Google SketchUp supports it. 3DS MAX and Maya also support Collada...