question

Sum-Hui Lee avatar image
Sum-Hui Lee asked ·

How can I get a completely randome object ID from stand-ins instance?

1. Prepare object to bake to ass.

2. Bake ass and then plug into its path to the already created dummy sphere's Path Attrib which switched the Arnold Translator one. (polymesh to procedural)

3. Paint dummy sphere using MASH Placer node onto base plane.

4. Rendering with Arnold and check the object ID at the debug shading mode.

5. And here we get object ID from the instance stand-ins.

6. Why can't I getting object ID like this? (It is not procedural mode. Just polymesh mode.)

ass
figure05.jpg (50.2 KiB)
figure06.jpg (57.5 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.

Donovan Cook avatar image
Donovan Cook answered ·

This is the same problem I am trying to solve. I would like to use the power of the Mash Instance with the aiStandIn to make the leanest scene possible, but I need to override the ID's of object created to apply the aiJitter. Every combo I have looked at, seems to rely on the ID being created up-front. Any solutions out there?

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.

Sum-Hui Lee avatar image
Sum-Hui Lee answered ·

Hi, @Alan Lam

Thank you for reply but, I'm using Arnold 4 and instance mode with MASH.(not repo mesh)

I have alJitterColor instead but it is not contains "Procedural" Attrib.

Take care

ssseom

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.

Alan Lam avatar image
Alan Lam answered ·

Hi, @Sum-Hui Lee

May I know what the Geometry Type of your MASH is?

If you are using Instancer type, you can have a try the aiColorJitter.

Remember to specify the range of hue, saturation, and gain (HSV) for the random colors under "Procedural".

Cheers~

Alan


xxdxt.png (164.0 KiB)
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.

Stephen Blair avatar image
Stephen Blair answered ·

The id is a parameter of the object. If you're instance that object, every instance of the object has the same id.

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.