How to export a 3d Model

From Iris2

Jump to: navigation, search
(Export the Meshes)
(Export the Meshes)
 
Line 10: Line 10:
==Export the Meshes==
==Export the Meshes==
-
*In the "3D View" select the mesh objects you want to export. Important is to rename your texture in tex_XXXX-YYYY-Z.png or tga. X represents the description of the tile in four letters Y in four letters the material or color and Z the number. Just a note you have to change the size in "Edit Mode" and not "Object Mode". Else the size would not change.
+
*In the "3D View" select the mesh objects you want to export. Important is to rename your texture in tex_XXXXYYYZZ.png or tga. X represents the description of the tile in four letters Y in four letters the material or color and Z the number. You can find more about the naimg pattern on this [[How to make Textures and Skins for Iris 2|page]]. Just a note you have to change the size in "Edit Mode" and not "Object Mode". Else the size would not change.
-
 
+
<gallery>Image:Export1.jpg</gallery>
<gallery>Image:Export1.jpg</gallery>
Line 30: Line 30:
==Modification outside of Blender==
==Modification outside of Blender==
-
* It is quite important to delete some part of the line "solid/Tex/tex_0x411b.tga" into "tex_0x411b.tga" in the Mesh XML before you convert it into a mesh.
+
* It is quite important to delete some part of the line "solid/Tex/texXXXXYYYYZ.tga" into "texXXXXYYYYZ.tga" in the Mesh XML before you convert it into a mesh.
<gallery>Image:Export5.jpg</gallery>
<gallery>Image:Export5.jpg</gallery>
-
* Modify ./data/models/material/textures.material by inserting new lines.
 
-
 
-
<gallery>Image:Export6.jpg</gallery>
 
-
 
-
* Diffuse is the texture for normal light and ambient is what happens if there is no light.
 
* Copy the mesh in the models folder and the textures in the texture one.
* Copy the mesh in the models folder and the textures in the texture one.

Current revision as of 09:06, 4 December 2011

Personal tools