tree[d] treesI have gotten tree[d] trees into Ogre through Ulitmate Unwrap 3D
http://www.frecle.net/index.php?show=treed.about FREE!
http://www.unwrap3d.com/u3d/index.aspxHaven't tried with multiverse yet but shouldn't be difficult. I have imported Sinbad with animation.
The trees are animated. Low Poly!!. Have to edit the materials exported by Ultimate Unwrap 3D.
Basic workflow in tree[d] for a really low poly tree is render a good looking tree to a billboard.
Use the billboard as a cross texture without a lot of branch geometry.
Export to .X or .b3d. Import to Ulitmate Unwrap 3D and -> Ogre Mesh. Run the .bat file Ulitmate Unwrap 3D exports.
The .bat file runs OgreXmlConverter.exe which is available from the Ogre website
http://www.ogre3d.org/Then of course use the Multiverse Asset Importer.
Mod the materials file for trans leaf textures.
Materials file for an example tree
- Code:
-
// Creator: Ultimate Unwrap3D v2.50.07
// Time: Mon Nov 21 14:16:07 2011
material rotted_jpg
{
technique
{
pass
{
ambient 0.000000 0.000000 0.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.500000 0.500000 0.500000 1.000000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture rotted.jpg
}
}
}
}
material NoNameMat1
{
technique
{
pass
{
//added for trans leaves
lighting off
ambient 0.000000 0.000000 0.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.500000 0.500000 0.500000 1.000000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
//added following 2 lines for trans leaves
scene_blend alpha_blend
depth_write off
texture_unit
{
texture leaf5.png
//added following 2 lines for trans leaves
tex_coord_set 0
colour_op modulate
}
}
}
}
Cheers