Author Topic: animated tree - 1st try  (Read 14393 times)

Offline kaedorg

  • Member
  • *
  • Posts: 795
animated tree - 1st try
« on: August 03, 2015, 01:29:23 PM »
After the grass animation, next step is a tree.
Left is animated. Quality is a poor for the 1st render.
Thanks a lot to Martin and Hannesfor their precious help.



Larger render on Youtube website :


I also noticed that animation is not applied to shadow.
I got the idea then not to cast shadow of the animated tree. And cast shadow of an invisble animated tree (just by some rotation).
Not sure it could work.

David

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3545
  • I'm the crazy one
Re: animated tree - 1st try
« Reply #1 on: August 04, 2015, 01:57:44 AM »
If you're using the Mesh Displacer, the shadow will change as it should. But if using a displacement shader, it won't with the current renderer.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: animated tree - 1st try
« Reply #2 on: August 04, 2015, 06:43:05 AM »
Unless you maybe force displacement? Which is not the solution of course.

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated tree - 1st try
« Reply #3 on: August 04, 2015, 07:22:08 AM »
I had a test of my idea "not to cast shadow of the animated tree. And cast shadow of an invisble animated tree (just by some rotation)"
it does not work. in fact it works on ground but it affects the visible tree also and gives weird animated shadows on it.
So it is not the solution.
I keep for now the displacement shader as I am not able to find the good parameters with mesh displacer (no result on animation).

David

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #4 on: August 04, 2015, 07:25:49 AM »

David not sure what the problem is but don't hesitate to use some very high numbers.
When i am not sure sometimes if the feature is adding anything or not i put very extreme numbers and work my way from there.

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated tree - 1st try
« Reply #5 on: August 04, 2015, 07:51:19 AM »
My problem with mesh displacer was in a topic I opened for it.

http://www.planetside.co.uk/forums/index.php/topic,20334.0.html

In fact, I see an effect but anything else when animated.
That's why I followed the useful explanations of Dandel0 and Hannes about displacement shader.
I could not find any example of working animated mesh displacer to study or any shared file about it

David

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #6 on: August 04, 2015, 08:11:03 AM »

I did not understand the problem in your other thread.
Just curious.If i have time i will have a look too David.
« Last Edit: August 04, 2015, 11:05:02 AM by Kadri »

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #7 on: August 04, 2015, 10:53:20 AM »

I tried it David.

Not sure what way you used in the Mesh displacer.

*If you animate the object with a powerfractal with the Scale tab it worked.

*If you put a transform input node (not sure about "world space") between the powerfractal node and the object and change the position in time it works.

*But i could not animate with the "Animation" tab in the Powerfractal node.


I will have a closer look on the last part.Maybe it was too slow?

Just to see the animation easier i used a basic high poly ball object.
It might be harder to see in a tree object maybe with small displacements?

Edit: No i could not animate with the Animation tab (4D noise).
        Other then this, Mesh displacing should work mostly.The shadows are correct too.
« Last Edit: August 04, 2015, 11:04:35 AM by Kadri »

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #8 on: August 04, 2015, 11:06:19 AM »

My problem with mesh displacer was in a topic I opened for it.

http://www.planetside.co.uk/forums/index.php/topic,20334.0.html
...


If you could put a link to this thread others who might see it later could find this thread more easily David.
« Last Edit: August 04, 2015, 11:09:00 AM by Kadri »

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated tree - 1st try
« Reply #9 on: August 04, 2015, 12:35:43 PM »
Thanks for your help Kadri

I use a transform input shader and I animate it.
I am testing it again, if it doesn't work, ill post the tgd

David

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #10 on: August 04, 2015, 12:37:59 PM »

OK.If you want i can post my TGD too. But it is really very basic.

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated tree - 1st try
« Reply #11 on: August 04, 2015, 12:45:31 PM »
please do it, i could check it while mine is rendering

David

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #12 on: August 04, 2015, 01:04:33 PM »

Here is it.

Offline kaedorg

  • Member
  • *
  • Posts: 795
Re: animated tree - 1st try
« Reply #13 on: August 04, 2015, 01:54:16 PM »
Thanks Kadri

I had a look. I don't animate anything in the PF as I thought that would deform the object and I just want a motion.
I connect the transform input shader and animate as you did.

I don't know if the problem comes from this.

Update : my render still working but with the first 13 bmp, it seems to work (both object and shadow). It just seems that I'll have to make several test to find the good parameters for simulating a wind. It seems moving too much.
I'll post the test when done.

David
« Last Edit: August 04, 2015, 01:59:22 PM by kaedorg »

Offline Kadri

  • Member
  • *
  • Posts: 8502
Re: animated tree - 1st try
« Reply #14 on: August 04, 2015, 02:15:20 PM »
... I don't animate anything in the PF as I thought that would deform the object and I just want a motion.
I connect the transform input shader and animate as you did.
...

Actually each of the two different approaches does deform the object.
It is only a different kind of deforming.
You are moving the 3D powerfractal structure in world space.
The animation of the scales are deforming the object as the Powerfractal changes structure in time so to speak.

You get different looks of course. For wind your approach might be better probably. Use whatever works or you like in the end :)

Curious why the 4D noise option doesn't seems to work.
« Last Edit: August 04, 2015, 02:24:01 PM by Kadri »