Jump to content

  • Log In with Google      Sign In   
  • Create Account


[dx9, XMesh] Modeling and Rendering (bilboard) tree


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 cebugdev   Members   -  Reputation: 318

Like
0Likes
Like

Posted 06 May 2012 - 08:48 AM

I was reading around the internet on how to render a tree using billboarding style in directx by using a 3d Mesh exported to .X file format and got me confused on one single item.
I have learned that the mesh will be divided into 2 parts, one 3d mesh for the trunk and branches, and a number of transparent billboards (quads) of leafs.

now my question,
On the modeler side,
how would the artist model a tree in 3DS max that supports transparent Billboarding and export the mesh in .X format?

thanks.

Sponsor:

#2 DJTN   Members   -  Reputation: 207

Like
1Likes
Like

Posted 07 May 2012 - 01:42 PM

As for the format type, it depends on what your game engine's importer supports. Natively, DX 10 and lower versions support the X file format. However, DX11+ doesn't. There are 3rd party plug-ins for 3DS Max that will allow you to export in the X file format.

When modeling vegetation most large studios use SpeedTree. It's expensive and I don’t think there is a demo or any licensing for indies. Usually when I model a tree I start out with a cylinder and then extrude, move and scale till I get the trunk and branches the way I want them. I add the leaves with a separate material and my game engine imports this as a subset and allows me to tag them as transparent, thus setting the appropriate blending stage when rendering.

There are also several free (low cost) tree generators that let you quickly create trees and export them in the X file format. I think Tree[d] is a good one. Just make sure you read the license and usage terms carefully.

Good Luck!

#3 ankhd   Members   -  Reputation: 1116

Like
0Likes
Like

Posted 09 May 2012 - 03:44 AM

Hello.

How I do my tree is I model a trunk with branches I then create a quad that I put 3 different leaf textures on then I place all these leaves in 3ds max all over
the branches.

I then export the trunck mesh in its own .X file
I then do the same with the all the leaf quads.

I used the leaf quads as only position date for placing instanced leave on the instanced trunk .

The Idea is the same as the 2009 DX SDKs Instancing 10 example. the island and tree one.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS