Difference between revisions of "Material Export Preparation"

From CRIPTWiki
Jump to: navigation, search
Line 2: Line 2:
  
 
==Label the structure (Amira)==
 
==Label the structure (Amira)==
This step is done in Amira. For more information please consult with articles related to [http://anatatorium.com/wiki/Category:Amira_Segmentation Amira segmentation]
+
This step is done usually by the grad students For more information on how exactly it works, please consult with articles related to [http://anatatorium.com/wiki/Category:Amira_Segmentation Amira segmentation]
 
==Surfgen the structure based on the labels produced (Amira)==
 
==Surfgen the structure based on the labels produced (Amira)==
This step is also done in Amira. Make sure the surface count is not too high and somewhere under a million.  
+
This step is also done in Amira. Make sure the surface count is not too high and somewhere under a million.
 +
[Triangle reduction]
 
==Save surface files as OBJ file format (Amira)====
 
==Save surface files as OBJ file format (Amira)====
Click the green surface module that is produced, save it as as a Wavefront Obj file format.  
+
Click the green surface module that is produced, save it as as a Wavefront Obj file format. [Save]
 
==Import .obj(Maya 2008 32 bits)==
 
==Import .obj(Maya 2008 32 bits)==
 +
 
==Export into OGRE mesh format (Maya 2008 32 bits)==
 
==Export into OGRE mesh format (Maya 2008 32 bits)==
 
==Post Processing==
 
==Post Processing==

Revision as of 18:18, 30 July 2009

realXtend Final Production Cycle:

Label the structure (Amira)

This step is done usually by the grad students For more information on how exactly it works, please consult with articles related to Amira segmentation

Surfgen the structure based on the labels produced (Amira)

This step is also done in Amira. Make sure the surface count is not too high and somewhere under a million. [Triangle reduction]

Save surface files as OBJ file format (Amira)==

Click the green surface module that is produced, save it as as a Wavefront Obj file format. [Save]

Import .obj(Maya 2008 32 bits)

Export into OGRE mesh format (Maya 2008 32 bits)

Post Processing

Import into realXtend

Create an instance and instanticate the OGRE mesh file into realXtend==

One of the Good Source Material http://artist-3d.com/free_3d_models/dnm/model_disp.php?uid=625&ad=02anatomy_design.php&count=count


Failed Attempts with Blender

Import into BLENDER

Must make sure BLENDER and Python version 2.5.2 (VERY SPECIFIC!) are installed (32 version is fine. MUST NOT BE PORTABLE VERSIONS!).

Must set BLENDER SCRIPT directory.

Change WINDOW type (in Python) (there are THREE major windows panels, each can be many types: Script, Timeline, 3D View etc etc...) to USER PREFERENCES FIRST. Make sure The three panels are NOT one line thin or else it will hide other settings. (this is what I hate about blender, UBER unintuitive interface). THen set the PYTHON SCRIPT DIR to a temporary folder somewhere on the HDD.

That's where you should also save the file from HERE: [1]

Once you saved the files there, Change Window Type in Python to SCRIPT. Click the error if it is pointing RIGHT. When it's pointing DOWN, it will show SCRIPTS. Click on that. Top bar, "update menu".

Now, if you go to export, you should see "OGRE meshes" as an option. .

Once specified, you can save the files somewhere.

you may get .mesh.xml files which require more processing to .mesh file!

This is achieved via OgreXMLConverter which you can get here. "realXtend Export Tools" [2]