3DS Max Exporting

Advanced game related topics
Psych
Enthusiast
Enthusiast
Posts: 239
Joined: Thu Dec 18, 2008 3:35 pm
Location: Wales, UK

Post by Psych »

Ok, I think I will abandon ogre in favour of dreammotion, looking at the examples there it would seem to do everything I want. And it uses .X files, which I can export without any messing about.
The downside is I dont know the command set and the parameters dont come up in the ide, so it's all trial and error.
Does anyone know if there is any basic documentation in english for this product?
----------------------------------------------------------------------------
Commenting your own code is admitting you don't understand it.
----------------------------------------------------------------------------
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

Post by scurrier »

don't know if any one still needs this but i have a program that converts .3ds to mesh it's called 3ds2mesh it's a command line util.
very easy to use put your *.3ds in the same directory then type:


program .3ds mesh on the mesh don't give it an ext.
3ds2mesh.exe ball.3ds ball

search for the filename on OGRE'S site

here is the readme that comes with it::::

3ds2mesh - converter from 3D Studio file to Ogre3D .mesh/.material

The purpose of 3ds2mesh is to get Ogre3D mesh from .3ds files

Ogre is an object oriented graphics rendering engine. See http://www.ogre3d.org/ for more information.

As a do not have enough .3ds files to fully test my converter, if you encounter any problem please contact
me.

The sources can be obtained from ogre cvs add-ons repository.

To compile it under windows :

1) if you have the OgreSDK installed
- set the OGRE_HOME environment variable to the path of your OgreSDK (c:\OgreSDK)
- add %OGRE_HOME%\bin\release;%OGRE_HOME%\bin\debug to your PATH

2) if you want to use the OGRE sources to compile 3ds2mesh
- set the OGRE_SRC environment variable to the path of your source installation
- add (at the beginning) to your PATH :
%OGRE_SRC%\samples\common\bin\debug;%OGRE_SRC%\samples\common\bin\release

Then you will just have to load 3ds2mesh.sln in VC++ 7.1 (.NET 2003) and generate solution. It will generate
bin\debug\3ds2mesh.exe
bin\release\3ds2mesh.exe

To compile it under linux :
1) set the OGRE_HOME environment variable to the path of your OgreSDK
setenv OGRE_HOME /usr/local/OGRE
export OGRE_HOME=/usr/local/OGRE

2) compile the sources
make
the executable will be produced in the src directory

Supported platform: at the current time, only tested with VC++ 7.1 (.NET 2003) and linux

--
David Geldreich <david.geldreich@free.fr>



Hope this helps I use it all the time it ROCKS!!!!

Sean
Post Reply