question

Pierre-Alexandre Loy avatar image
Pierre-Alexandre Loy asked ·

Volume mesher X fields X mix shader : impossible ?

Hello,

I would to use a mix shader controlled by a field Torus on a volume mesher.

With a simple object, a vertex map created by Torus field controls my mix shader and it works.

For volume Mesher I used a Correction deformer to create a vertex map. Vertex map seems to be created like this but it doesn't work.

Any solutions ?

Screenshots below for a better understanding.

I join my file too. It's a R21 version.


Thank you for your help.



Volume_mesher_and_mix_shader.c4d.zip

shadersvolumesvertex map
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

The problem is, that the vertex map is not exported because it's not assigned to Volume Mesher directly. Add an Arnold tag to the Volume Mesher and specify the vertex map on the Export tab:


Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Pierre-Alexandre Loy avatar image
Pierre-Alexandre Loy answered ·

Hum.. I've a new problem. Because now my Volume Mesher is animated, so Vertex Map seems buggy. I need to refresh it with each frame for it to work properly. This looks like a problem of UV and / or priority ... I don't know.

Screenshots and file below. Thanks for your help.


Volume_mesher_animated_and_mix_shader.c4d.zip


10 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

This problem exists only in the IPR, right? I'm not able to reproduce it. When I move the timeline I can see the wrong state, but when I release the mouse the IPR just renders correctly. I guess the plugin somehow does not recognize that the vertex map is updated and does not re-export it.

0 Likes 0 · ·

I also have this problem when I made a render in the render queue. My real work scene has a much more complicated mesh, with more points.

Is it possible to bake the vertex map ?


0 Likes 0 · ·
Peter Horvath avatar image Peter Horvath Pierre-Alexandre Loy ·

I can reproduce it in the render queue. I'm not convinced yet if it's the plugin's fault, could be a bug in c4d. I will investigate.

Don't think it's possible to bake the maps.

0 Likes 0 · ·
Show more comments
Pierre-Alexandre Loy avatar image
Pierre-Alexandre Loy answered ·

Great ! it works !

Thank you very much Peter.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.