OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: 3dssceneexporter
View page
Source of version: 2
(current)
{img src="img/wiki_up/Max_big.png" alt="Max_big.png" imalign="right"} __Author__: ((User:cTh|cTh)) __Project__: OGRE Add-on Project (3dssceneexporter) __Type__: Plug-in __Sources__: [http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/3dssceneexporter|SVN in OGRE Addons] __Status and bug reports__: [http://www.ogre3d.org/phpBB2/viewforum.php?f=2|OGRE Help Forum] --- Scene exporter for 3D Studio Max. This tool exports scenes (as opposed to models / animation as with the core exporter) into the ((dotScene)) format, and XML definition covered in the dotsceneformat project. !!Quick compile instructions Put the source tree under your Ogrenew\OgreAddOns directory. The project is tested only on XP/3DSMax v6/VC7.1(.Net2003), so please no questions about VC6 !!! The included solution (project) file is for Microsoft VC.Net 2003 (VC7.1), so VC7.1 is the first prereq. for 'out of the box compilation', next u need 3DSMaxSDK, it's freely downloadable if u dont have it (see [http://www.discreet.com|www.discreet.com]), and IGame library for 3DSMax (it's included under \IGame subDir of this distro). The project now use the MAX supplied IGame libary as of MAX 6 > it's included, the supplied IGame lib. is only to use with version prior to 6, and then paths must be set in the project files to use the supplied IGame. Before compiling take a look and modify the include and lib search paths to suit your dir hierarchy, ie. set MAXSdk and Ogre lib/includes to suit your system, then compiling should be OK. Also u must specify where the output plugins have to be generated from the compile: # 'OgreExporterPlugin' project should generate 'OgreExporterPlugin.cepg' and this file must be located in your 3DSMax root directory for MAX to load it, ex. 'E:\3DSMax5' # 'OgreUtils' project should generate 'OgreUtils.dlu' and this file must be located in your 3DSMax root\plugins directory for MAX to load it, ex. 'E:\3DSMax5\Plugins' Why 2 projects, well, one is the MAX plugin 'OgreUtils.dlu' (utility plugin), and the other one is a plugin for this plugin... :( It's to have a way to debug the exporter without restarting MAX all the time, ie. 'OgreUtils.dlu' is always loaded in MAX, and it dynamicaly load 'OgreExporterPlugin.cepg' on every "Export" command, and then unload it, so u can compile/recompile 'OgreExporterPlugin.cepg' (where the xporting code is) as u like, also u can unload it manualy through a command button in 'OgreUtils.dlu' ;) !!Installation ~np~:-[~/np~ Follow these steps: # Put the file 'OgreExporterPlugin.cepg' in your MAX root dir, for example 'E:\3DSMax5' # Put 'IGame.dll' in your MAX root dir, for example 'E:\3DSMax5' # Put 'OgreUtils.dlu' in your MAX root\Plugins dir, for example 'E:\3DSMax5\plugins' # Put 'OgreMain.dll' and all it's dependency files in your MAX root dir... # Run MAX, go to the 'Utilities' tab, push "More.." button and select 'OgreUtils'... ... installed ;) !!Usage *Export Cameras:Export cameras defined in the MAX scene if checked. *Export Lights: ...don't really remember what this one could do... *Export Meshes:This one export meshes in the scene...I think... *Export normals:Export or ommit normals from output meshes. *Weighted:Weight normals by 'something', do not ask me what ;) it's a IGame 'thing'. *Export tex.coords:Export 2D texture coordinates...only 1 set for now, and only 2D :(, will be extended sooner or later. *Export vert.colors:Export vertex colors, diffuse color for now only, .mesh format do not save others (specular). *Use Sm.Groups:Create subMeshes based on Smoothing groups defined in MAX rather than based on Materials. *Export Materials:Export materials or no *Exp.Multi.Tex.Layers:Export 'multiple texture layers' or only diffuse texture. ...ups...almost forgot, only 'target' lights/cameras and omni(point) lights will be exported in this version... Meshes position/rotation is baked in the geometry, done by IGame, don't know why and if it's OK, but for now it's like that :(): ...try all and see what happens, it should not crash (at least not often :) )
Search by Tags
Search Wiki by Freetags
Latest Changes
One Function Ogre
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
...more
Search
Find
Advanced
Search Help
Online Users
176 online users