question

Bien M. avatar image
Bien M. asked ·

Arnold does not render use Material IDs on TyFlow particles

I'm reposting this from the TyFlow forum since the developer states that this problem lies on Arnold's end.


I've got an object that has been voronoi fractured and set so that the chunks that intersect with the beam objects are deleted. The RGB-Y coloration is for testing. The red material is supposed to be a painted hull material, green would be bare metal, and blue would be a molten metal material.

The material IDs appear to be applied correctly in viewport, but when rendering using Arnold, all tyflow particles render as Yellow, which I used to represent 'error.'

1614407895079.png


Are there any fixes for this error at the moment?

renderx-particles
1614407895079.png (236.9 KiB)
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.

Mads Drøschler avatar image
Mads Drøschler answered ·

I wrote a replacement for Object, Material and Element Id for all the particle engines in max.
It is a different more agile approach, and also works with Tyflow.
You can see here I have material Ids working and ready to be shaded.

It requires the source geo to be parsed through a process in DCM modifer to generate the Material Id and the element ID ( all engines already parse a retrivale object ID )
then collapse to editpoly and parsed into tyflow, then my shader can pick up and gain full control over the assets that may be living in tyflow.

This is a custom tailored solution, not stock by any means.

Im just showing you that Arnold works with Material Ids in tyflow, but I also understand you have issues using out of the box tools, more specifically the multisub material.
I would open an error report in that case.

But if you could, perhaps upload a .zip file with a plane and some teapots with some material Ids on so we can see how you wire it all together and expect it should be working with your particular setup.

qwe.png


qwe.png (371.2 KiB)
6 comments
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.

Hi, how would I submit an error report? As for the scene, could I just send the test scene I created that is being shown in the pictures?

0 Likes 0 ·

yes, you can upload it somewhere if its over 2mb. and past link to the zip.
then we can take a look.

0 Likes 0 ·

You can also attach it to the tyflow forum, I am monitoring your original thread.

0 Likes 0 ·
Bien M. avatar image Bien M. Mads Drøschler ·

Quick update: I was led to a solution that works 'out of the box.' I just had to use TyMesher on the TyFlow particles.

1614426376957.png

1 Like 1 ·
1614426376957.png (228.3 KiB)
Show more comments
Jeff Mcguigan avatar image
Jeff Mcguigan answered ·

Are there any plans to fix this issue in the next release of Arnold?

1 comment
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.

The bug has gotten a ticket and is being looked into.
So you will need to wait until a fix surfaces in a future build.

0 Likes 0 ·
Patrick Proier avatar image
Patrick Proier answered ·

I had the exact same problem today! Its very frustrating/irritatung because I see the Multi/Sub Material correctly in the Viewport but the rendering is different/wrong :-/ ...Any chance to fix that problem? ...or any idea for an easy/fast workaround?

thx,

Patrick


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.