Animated curvature track by OSL shader 3ds Max 2022 Arnold

Animated curvature track by OSL shader 3ds Max 2022 Arnold

Budda_Pesht
Explorer Explorer
254 Views
0 Replies
Message 1 of 1

Animated curvature track by OSL shader 3ds Max 2022 Arnold

Budda_Pesht
Explorer
Explorer

Hello!

I'm working on creating an animation. I need to make the track from Curvature stay on the ground for a while, gradually disappearing.

I'm trying to use my own OSL shader for this. I was able to create an array and write the Curvature value on the current frame to its element. And I was able to take this value and assign it to a color. I can work with these values and shade them with each frame.

So far, so good.

Next, I save the Curvature data to the array element corresponding to the current frame. On each frame I write in a separate element. The number of shading frames I chose was 32, which, with a frame rate of 16, corresponds to 2 seconds. Therefore, there must be 32 array elements, from 0 to 31.

But if I try to take the Curvature values from the previous frame (In-1) from the array, then there is nothing there. Generally speaking, I want to do something like Motion blur, but only for Curvature. And this must necessarily be a property of the material. Not an effect, not a post-processing, but a map of the material mask.

Please tell me how it can be created?

 

Thanks!

Test1.jpgTest2.jpgTest3.pngTest4.png

0 Likes
255 Views
0 Replies
Replies (0)