Author Topic: Animated trees  (Read 2153 times)

Offline Hannes

  • Member
  • *
  • Posts: 4462
Animated trees
« on: August 07, 2015, 02:17:07 PM »
A population of wind blown trees. The scale should be right. Trees are not included!
You'll have to download the following free Xfrog tree set to use this file:
http://xfrog.com/product/AS12.html
Use the AS12_9.tgo model and the according textures.

It's the result of this discussion:
http://www.planetside.co.uk/forums/index.php/topic,20339.60.html
...and is meant to explore some possibilities on how to animate trees.

The lean factors of the instances of each population are (differently) animated.
The trees are additionally animated by the mesh displacer (an animated input transform shader with world scale checked plus a power fractal)
I also used the color tint function to get more variety.
I changed some color settings of the trees, since Xfrog trees seem to be quite dark and uniform off the shelf.

The tree trunks are wobbling too. Looks quite crappy, doesn't it? Feel free to find a solution for that.


Thanks to Kadri for the idea of animating the lean factor of objects and Kaedorg for starting the discussion. Hope you like it.


Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: Animated trees
« Reply #1 on: August 07, 2015, 02:29:06 PM »

A little low quality to see but looks good Hannes.
I don't have that tree just now but have you tried this to lower the trunk wobbling:

"...powerfractal that is restricted in altitude with a surface layer" ? The "Wind_test.zip" file does have everything in it.

Here: http://www.planetside.co.uk/forums/index.php/topic,20339.msg201506.html#msg201506

Offline Hannes

  • Member
  • *
  • Posts: 4462
Re: Animated trees
« Reply #2 on: August 07, 2015, 02:34:18 PM »
Hadn't read that exactly the first time. Thanks, Kadri.
So does the surface layer with altitude key set to final position treat each tree trunk correctly no matter how high it's position is?

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: Animated trees
« Reply #3 on: August 07, 2015, 02:40:02 PM »

It looked so from that Low res renders but i am not sure Hannes.A closer look is needed.
« Last Edit: August 07, 2015, 02:53:05 PM by Kadri »

Offline Hannes

  • Member
  • *
  • Posts: 4462
Re: Animated trees
« Reply #4 on: August 07, 2015, 02:44:48 PM »
I'm afraid, this doesn't work. If you use the same surface layer as color for your objects (I used -25 as minimum altitude) , it looks like that:

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: Animated trees
« Reply #5 on: August 07, 2015, 03:23:07 PM »

Yes.I made just some much bigger render tests with different altitude options (altitude key etc.) but nothing worked.

Maybe an UV approach could work?
The easiest might be like in one of my tree tests on the other thread to use separate object parts.
That would have probably other problems like the intersecting parts moving.
If the tree branches are at a optimum high separated from the tree especially from a certain distance it could work maybe.
« Last Edit: August 07, 2015, 03:26:41 PM by Kadri »