Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Tree Creator tree[d]

Go down 
AuthorMessage
Guest
Guest
avatar



Tree Creator  tree[d]  Empty
PostSubject: Tree Creator tree[d]    Tree Creator  tree[d]  EmptyMon 6 Aug - 11:49

tree[d] trees

I 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.aspx

Haven'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 Very Happy
Back to top Go down
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
GabriëL*KnighT


Posts : 22
Join date : 2012-07-31
Location : South Africa

Tree Creator  tree[d]  Empty
PostSubject: Re: Tree Creator tree[d]    Tree Creator  tree[d]  EmptyMon 6 Aug - 18:43

Thanks for sharing this! Smile

Not to hijack this tread, but have you looked into terrain generation for Muliverse yet? How do you plan on doing it for your world?
Back to top Go down
Guest
Guest
avatar



Tree Creator  tree[d]  Empty
PostSubject: Terrain gen   Tree Creator  tree[d]  EmptyTue 7 Aug - 14:32

Haven't really started working on terrain yet.

I'd imagine using the Terrain Generator first, then import the .mvt into World Editor and finally open
the .mvw in Terrain Painter and let it convert the fractal terrain to a heightmap.

Cheers
Back to top Go down
Sponsored content





Tree Creator  tree[d]  Empty
PostSubject: Re: Tree Creator tree[d]    Tree Creator  tree[d]  Empty

Back to top Go down
 
Tree Creator tree[d]
Back to top 
Page 1 of 1
 Similar topics
-
» [World Editor] Plant Life and other TGC Tools
» Tree rendering - SpeedTree and alternatives.
» Mosaic Creator Unhandled exeption error

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Developer Tools-
Jump to: