Author Topic: animated grass population - 1 try  (Read 2131 times)

Offline kaedorg

  • Member
  • *
  • Posts: 795
animated grass population - 1 try
« on: July 24, 2015, 03:40:37 PM »
Here is a try on my 1st animated grass population
Simulating a wind from left to right.

Oshyan told about mesh displacement that could be used. But I have no idea about how it works.
If anyone knows a related topic or have advice.

It could be a start for an animation of vegetations



David

Offline Dune

  • Member
  • *
  • Posts: 15082
    • www.ulco-art.nl
Re: animated grass population - 1 try
« Reply #1 on: July 25, 2015, 07:26:14 AM »
What was your method here? I've tried (a few short experiments only) to have veggies move in world scale (through transform shader), but the mesh displacer won't work on world scale, I think, only on object scale. But maybe I'm wrong.

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated grass population - 1 try
« Reply #2 on: July 25, 2015, 12:26:06 PM »
Here are 3 populations with 3 different colours of grass (using 3 different PF to populate).
For all populations, I put in Rotation minimum Y rotation = 0 and maximum Y rotation = 0
It means that they all seems identical from the POV of the camera.
That another reason I use 3 different colours to reduce the impression of "same thing everywhere".
For all 3 grass objects, I then animate Rotate Z starting at 0 at frame 1 to 30 at frame 50 and back at 0 at frame 100.

My next test will be with several areas (between 3 and 5), each starting the rotation at a different angle in order to give an illusion of windy wave on grass.
I'll post the result.

David

Offline dorianvan

  • Member
  • *
  • Posts: 387
    • Vandegrift Renderings
Re: animated grass population - 1 try
« Reply #3 on: July 29, 2015, 03:04:13 PM »
I'm very interested to see where this goes.
-Dorian

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated grass population - 2nd try
« Reply #4 on: August 02, 2015, 12:29:50 PM »
Here is the next step
Now the area is bigger 30 x 30 meters.
there are 3 areas 30 x 10 meters.
There is a gap in animation between areas 1 and 2. gap is about 0.4 second.
Same thing between areas 2 and 3.
Render camera has been moved to see the effect from a different POV ( i mean a different angle from the wind effect).
Now everything is put in tgc files and  it will be easy to play with them in any project.
The 3 separate areas can have mixed areas between them in order to smooth the effect .



Larger render on youtube website :


Waiting now for comments and critics to improve the idea.

David

Offline Nacer Eddine

  • Member
  • *
  • Posts: 358
Re: animated grass population - 1 try
« Reply #5 on: August 02, 2015, 03:42:00 PM »
good,
is it possible to introduce for example randomize equation to get the mouvement more realistique ?

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: animated grass population - 1 try
« Reply #6 on: August 02, 2015, 05:41:54 PM »
Maybe some ideas in here: http://www.planetside.co.uk/forums/index.php/topic,12191.msg122783.html#msg122783

The thread ended up quite long-winded because I moved through single instances of grass, populations of the same, single trees and tree populations. I've done more since then but for now my pc is in the shop.

As Dune says, it's possible to use a World-Space displacer via Transform Shader, that will translate the displacement across the entire population easily. I think the Mesh Displacer will work but it will only affect the parent object, 360 Y-rotation can visually randomise the effect, it won't be so easily controlled over the population scale, though.

https://vimeo.com/32110058

There's also this thread by Hetzen on windy trees: http://www.planetside.co.uk/forums/index.php/topic,15184.msg147802.html#msg147802

:)
« Last Edit: August 02, 2015, 05:44:21 PM by dandelO »

Offline Nacer Eddine

  • Member
  • *
  • Posts: 358
Re: animated grass population - 1 try
« Reply #7 on: August 03, 2015, 12:55:04 AM »
really interesting


Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated grass population - 2nd try
« Reply #9 on: August 03, 2015, 12:52:19 PM »
Thanks Martin. Thanks a lot.
I read this topic and it is a huge step. About to post my first test on tree.
And thanks also to Hannes, his messages were a huge help on this previous topic.

David
« Last Edit: August 03, 2015, 12:56:24 PM by kaedorg »

 

anything