Adding New Trees
#4


Ah trees, yes, a skillset of its own. 




Gather 'round while I share with ye the things known by me.




The texture is a 4 square "quad map". The left side, 2 squares bark. The right side top, leaves that will wither and vanish. The remaining square, branches. This texture uses alpha channel to denote transparency.




The material instance rsc file needs to use Billboard Material as per fig example.




The model, make it and map it's uv as per your quad texture. 




The trick, the leaves and animation. Here's what I do.




I steal a fig tree example leaf. It's got the right size already you see. I steal that 1 leaf, change its material to my new tree one, and attach that leaf to the tree somewhere floating in the branches. I then duplicate that leaf all around the tree. Remember, our billboard material will grow that leaf many times in size, it'll also ensure that all leaf parts of the model are forward facing at all times. 




Next, animation. The example is 150 frames. Comprises of transformation movement in 3 groups, iirc they are chop, sink and fall. I load up the fig tree, export those animations out. Then load the new tree, attach the animation to the tree (load animation, all frames, replace absolute). Our tree model then needs to have an animation map made, so I make a new one, ensuring all transform coordinates are loaded with the new animation. I do this with the load animation tool in 3dsMax.




My tree will then perform the animations as required. 




Learning this takes time.


  Reply


Messages In This Thread
Adding New Trees - by Necora - 01-20-2017, 07:27 PM
Adding New Trees - by Kralyerg - 01-20-2017, 09:38 PM
Adding New Trees - by Necora - 01-20-2017, 10:32 PM
Adding New Trees - by ShockPuppet - 01-22-2017, 01:37 AM
Adding New Trees - by Ketchup - 01-22-2017, 03:22 AM
Adding New Trees - by ShockPuppet - 01-22-2017, 03:38 AM
Adding New Trees - by Ketchup - 01-22-2017, 03:39 AM
Adding New Trees - by Necora - 01-30-2017, 07:08 PM
Adding New Trees - by Necora - 01-30-2017, 09:41 PM
Adding New Trees - by ShockPuppet - 01-30-2017, 09:49 PM
Adding New Trees - by Bartender - 03-21-2017, 11:35 AM
Adding New Trees - by Necora - 03-21-2017, 12:18 PM
Adding New Trees - by Bartender - 03-23-2017, 02:02 AM
Adding New Trees - by Ketchup - 03-23-2017, 03:05 AM