display 3D max scene with OpenGL using Irrlicht
display 3D max scene with OpenGL using Irrlicht
Hello
I found this engine online and I hope it will help me in my task. but I am still trying to discover it.
I need to display a scene created in 3D max with the API OpenGL. when I export the scene from 3D Max to a file such as MD2, I can export and display in OpenGL only one object not the whole scene with all its objects.
can anyone advice me about how to export an entire static scene from 3D max and display it in OpenGL with all its objects at once using Irrlicht engine if this is possible at all?
is it possible to read a file of a multi-object scene exported from 3D max and display it with OpenGL using Irrlicht classes?
thanking you very much in advance
I found this engine online and I hope it will help me in my task. but I am still trying to discover it.
I need to display a scene created in 3D max with the API OpenGL. when I export the scene from 3D Max to a file such as MD2, I can export and display in OpenGL only one object not the whole scene with all its objects.
can anyone advice me about how to export an entire static scene from 3D max and display it in OpenGL with all its objects at once using Irrlicht engine if this is possible at all?
is it possible to read a file of a multi-object scene exported from 3D max and display it with OpenGL using Irrlicht classes?
thanking you very much in advance
-
lazerblade
- Posts: 194
- Joined: Thu Mar 18, 2010 3:31 am
- Contact:
I think it quite likely that you're not exporting all the objects from 3DS max.
Try importing them after you've exported them and see if you get the same
result.
Try importing them after you've exported them and see if you get the same
result.
LazerBlade
When your mind is racing, make sure it's not racing in a circle.
3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/
When your mind is racing, make sure it's not racing in a circle.
3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/
thanks for replykaliber wrote:have you try export to 3DS format ?
I will try to export to 3ds format on Monday, 3D max is not available at the moment. if the scene was successfully exported with all the objects, how can I use the resulting 3ds file to display the scene in opengl using Irrlicht? I mean what is the next step. sorry for this question but I am newbe to Irrlicht and can not see the forest for the tree!
thank you for replylazerblade wrote:I think it quite likely that you're not exporting all the objects from 3DS max.
Try importing them after you've exported them and see if you get the same
result.
I used to export to MD2 and OBJ format from 3D max simply by selecting the scene and using the export option. do I miss anything in the exporting process? I export to OBJ then import it in Blender and export it again to MD2 file because 3D max has no MD2 plug-in. when I import from Blender I can import only one object at a time. actually I am using MD2 because I have only the MD2 loader. If I can use any other format, load and display the scene as it is with all details and animation, that would be fantastic. I am using MD2 because I dont have an alternative loader and hopefully Irrlicht will solve my problem
read the Example 01.Yohanna wrote:thanks for replykaliber wrote:have you try export to 3DS format ?
I will try to export to 3ds format on Monday, 3D max is not available at the moment. if the scene was successfully exported with all the objects, how can I use the resulting 3ds file to display the scene in opengl using Irrlicht? I mean what is the next step. sorry for this question but I am newbe to Irrlicht and can not see the forest for the tree!
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Don't use md2, it's outdated and should only be used with poorly animated quake models. If you get .obj then stay with that. Simply load the .obj mesh into Irrlicht. Most examples show how to load meshes. Format is irrelevant, as long as it's supported by Irrlicht.
You won't get a scene, though, but only a huge object. This object might consists of many subobjects. But a scene, which is a composition of independent objects, is not achievable that way. You'd need to export to Collada for that purpose.
You won't get a scene, though, but only a huge object. This object might consists of many subobjects. But a scene, which is a composition of independent objects, is not achievable that way. You'd need to export to Collada for that purpose.
-
christianclavet
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
thank you all for help
I would try to use the loader of Irrlicht to load collada files to my VC++ program and display it with OpenGL, using for example the function getMesh(). and then I would use OpenGL to modify the scene.
my questionbs are: is there a collada loader in Irrlicht to be used separately in another program using getMesh()? which files I need to change to modify the OpenGL scene in Irrlicht such as the light, projection, view port, view window, size, rotation, scene parameters ect..?
thank you in advance
I would try to use the loader of Irrlicht to load collada files to my VC++ program and display it with OpenGL, using for example the function getMesh(). and then I would use OpenGL to modify the scene.
my questionbs are: is there a collada loader in Irrlicht to be used separately in another program using getMesh()? which files I need to change to modify the OpenGL scene in Irrlicht such as the light, projection, view port, view window, size, rotation, scene parameters ect..?
thank you in advance
