question

Le Sep avatar image
Le Sep asked ·

Is it possible to create a group of different shapes and link it to instances?

Hi Arnold Answers Community

Let's assume I have several primitives as 'polymesh' loaded from .ply, then transformed with matrix parameter. I want to group such primitives in order to obtain an object, then I want to link it with node parameter to several 'ginstance' nodes. And so on.

I succeeded to create several instances of a single shape node, however I don't know how to gather several shapes nodes into one reference to link with 'ginstance' node parameter.

I'm working with Arnold 5.2.0.1 SDK API in C++ and nothing else.

Many thanks for any idea.

arnoldnodesarnold object propertiesscene
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 ·

Yes, you could use a procedural node to load/create multiple nodes, and then just instance that procedural node.

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.

Le Sep avatar image
Le Sep answered ·

Understood, Stephen. Thanks for your answer.

Does it mean there is no 'obvious' way to build shapes based on several 'polymesh' to be reused, transformed and instantiated later?

Could the 'procedural' node help me to do so?

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 ·

ginstance.node is a single node. You need a single polymesh node, you can't have a group (there's no group node in Arnold).

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.