Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Tree Creator tree[d]

View previous topic View next topic Go down 
AuthorMessage
Guest
Guest



PostSubject: Tree Creator tree[d]    Mon 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
avatar

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

PostSubject: Re: Tree Creator tree[d]    Mon 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



PostSubject: Terrain gen   Tue 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




PostSubject: Re: Tree Creator tree[d]    

Back to top Go down
 
Tree Creator tree[d]
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» chrismas tree dreadnought
» Walking through the christmas tree Patch
» Tree pixel!
» Jewel Legends: Tree of Life
» Malifaux Hanging Tree

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