GithubHelp home page GithubHelp logo

ogrecave / easyogreexporter Goto Github PK

View Code? Open in Web Editor NEW
18.0 8.0 18.0 801.88 MB

3DS max exporter for the OGRE 3D engine - mirror

Home Page: https://redmine.openspace3d.com/projects/eoe

C++ 97.06% C 0.47% Inno Setup 2.47%
ogre3d 3dsmax exporter

easyogreexporter's Introduction

/**********************************/
/*     EASY OGRE MAX EXPORTER     */
/**********************************/

/**********************************************************/
/* Author       : Bastien BOURINEAU                       */
/* Start Date   : January 13, 2012                        */
/* Licence      : LGPL V2 or later                        */
/* Contributors : Nir Benda (BJoe) for UNICODE conversion */
/**********************************************************/
////////////////////////////////////

Ogre wiki page : http://www.ogre3d.org/tikiwiki/Easy+Ogre+Exporter
Ogre forum thread : http://www.ogre3d.org/forums/viewtopic.php?f=8&t=68688

#Version 3.2.0 : September 25 2018

 - Ogre Scene file
 - meshs
 - materials :
  - converted from the max standard materials, with colors, textures, multi uv and transparency
  - converted from the Architecture materials, with colors, diffuse texture, multi uv and transparency
  - converted from the Mentalray Archi / Design materials, with colors, diffuse texture, multi uv and transparency
  - Automatic Shader creation for pixel lighting and normal / specular maps with a standard technique for non supported hardware
  - Convert texures to DDS format
 - biped skeletons
 - skeletons animation from the main track or from the biped mixer clips if available
 - Nodes animations included in the Ogre Scene file (from the main animation track)
 - Mesh Poses
 - Mesh Poses Animations
 - Mesh morph animations
 - animations from the motion mixer 
 - animations clips from track tags
 - Manage units convertion from max to meter
 - Export interface with options
   - resources subdirs
   - material prefix
   - Ogre version
   - advanced configuration
   - automatic LOD generation

Available object user properties
This attributes can be added from the Object property dialog in Max
 - renderingDistance, this attribute is exporter in the ogre scene file, it define the visibility distance of a mesh 
  * ex : renderingDistance=10.5
 - noLOD, override the LOD generation for the specified object
  * ex : noLOD=false

Materials use :
 - disable "PreMultiplied Alpha" option on diffuse textures with an alpha channel to use alpha_rejection (usefull for folliages)

 - Setup (automatic install)
   

#Build
to build the exporter it's a little complicated because of some max sdk components :/

- create an ext directory in EOE project directory

Ogre 32 & 64b in static :
- rebuild all Ogre dependencies with _SECURE_SCL=0 in preprocessor
- rebuild ogre with _SECURE_SCL=0 in preprocessor

- copy the ogre 32 to ext/ogre3d_secure_scl/sdk/static (bin/, lib/, include/)
- copy the ogre 64 to ext/ogre3d_secure_scl/sdk_x64/static (bin/, lib/, include/)

Max SDK: (for each max sdk ^^)
- build the maxsdk\samples\modifiers\morpher lib in 32 & 64b
- copy max sdk in ext/maxversion ex: ext/2012/include, ext/2012/lib, ext/2012/libx64
- also copy the morpher sample lib and include in the corresponding directories

Then you can open the EOE vcproj and build.

To debug in max you need to build in hybrid mode and launch max from the debugger

easyogreexporter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easyogreexporter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.