Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flakes swimming in animation C4D Arnold

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
arien.debeer
379 Views, 12 Replies

Flakes swimming in animation C4D Arnold

Using flakes within a shader of an object that deforms, are producing renders where the flakes are swimming. The Arnold help files are suggesting rendering with motion blur, but this seems like a ridiculous solution. Is there another way for the flakes to stick to the model/geometry?

12 REPLIES 12
Message 2 of 13
lee_griggs
in reply to: arien.debeer

Did you try Pref?

>The Arnold help files are suggesting rendering with motion blur, but this seems like a ridiculous solution.

Where does it say that?

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 13
arien.debeer
in reply to: arien.debeer

Thanks for the reply @Lee Griggs

Yes I have the coord space on Pref, which is the default I think, surprised that it isn't working.
Below is a screenshot of Arnold help files re flakes and motion blur:

4118-arnold-flakes1.jpg
https://docs.arnoldrenderer.com/display/A5AF3DSUG/Flakes

I will do some more experiments and post if I find a solution.

Message 4 of 13

Note, that you also have to record and export the reference object (see the Arnold tag of the mesh) or just simply add a Stick Texture Tag to the mesh.

Message 5 of 13
arien.debeer
in reply to: arien.debeer

Thanks @Peter Horvath, I tried the Stick Texture Tag, didn't work. But the Export reference object thing looks promising, will try that thanks.

Message 6 of 13
lee_griggs
in reply to: arien.debeer

Did you export reference points?

The docs refer to 'flickering'. Are you getting flickering too?

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 7 of 13
arien.debeer
in reply to: arien.debeer

@Lee Griggs I'm not sure if it is flickering or swimming, it was basically producing completely different looking flakes on every frame.

Thanks for showing me the 'export reference points' section in the Arnold tag, I missed this in the help files sorry. Unfortunately that didn't solve the problem either. In fact I compared frames with 'export reference frames' enabled and disabled and they looked exactly the same.

My object is being deformed by a displacer, driven by vertex maps and fields. The fields are animated, and this seems to cause the problem. As soon as I kill the animation on the fields, the flakes 'stick'.
The fields animation, basically a linear field just moving from one side to the other, is very slow and elegant and not erratic or anything, so I'd expect the flakes to just stick from one frame to the next.

Message 8 of 13
lee_griggs
in reply to: arien.debeer

Can you post images and/or a simplified scene?

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 9 of 13
arien.debeer
in reply to: arien.debeer

flakestest.zip

Thanks for your interest @Lee Griggs
Above is a zip to a simplified scene.
In simplifying the scene I have realised that the flakes are indeed swimming and not flickering.

4121-flakestest1.png

Message 10 of 13
lee_griggs
in reply to: arien.debeer

This behavior looks correct to me. The object is being deformed and so I would expect the flakes to respect that deformation (which they are doing).

At the moment the flakes are set to 2d. Is that what you want? You can get 3d flakes by increasing the depth to 1).

4122-flakes.gif

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 11 of 13
arien.debeer
in reply to: arien.debeer

Thanks for looking at the scene.
I wouldn't say the flakes are behaving as expected, they're not sticking.
I want them to move with the deformation.
At the moment they just dissapear into the geometry and new ones form on top of the bulges.
I've made the deformation bigger on the below example to make it more apparent:

4123-5-3.gif

Message 12 of 13

One small thing is missing from your scene. Type Pref to the Pref name of the flakes shader. That's the name of the parameter where the reference points are located on the mesh. Currently it's empty, therefore the shader does not find the reference points. I'm not sure how it became empty, because if you create a new shader, the default is 'Pref'.

Anyway, the whole reference point workflow should be simplified, which I will do in an upcoming release.

Message 13 of 13
arien.debeer
in reply to: arien.debeer

Amazing, that worked! Thanks @Peter Horvath

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report