Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing mtoa translator with many ginstance nodes

4 REPLIES 4
Reply
Message 1 of 5
froszu
345 Views, 4 Replies

Writing mtoa translator with many ginstance nodes

Getting my feet wet with arnold translators.

For start I try to create exporter that would create many instances of another node (sphere for now).

I'm not sure how/where should I create and setup "ginstance" nodes. I have something working but it doesn't update correctly, and I don't know if what I do is optimal.

Can anybody point me to similar example or take a look at my minimal code ?

Here's code

https://pastebin.com/BgGTuh1x

Screengrab showing Update problems:

https://www.youtube.com/watch?v=s88Jk6t8QsI&feature=youtu.be

thanks for any tips

4 REPLIES 4
Message 2 of 5

It looks like the docs for creating extensions needs updating. A lot of this has changed for MtoA 2.x.x, I will see what I can mock up for you and add it to here.



Ashley Handscomb Retallack
Arnold Support Specialist
Arnold Documentation | Arnold Downloads
Message 3 of 5

Here's an example of your translator with some fixes, you need to give the instances a name so they can be cleared on refresh. There is also no need for an Update function now as it's all taken care of by the export and update method.

I'll look in to updating the tutorials on the MtoA docs as well.

sphereinstancertranslator.zip



Ashley Handscomb Retallack
Arnold Support Specialist
Arnold Documentation | Arnold Downloads
Message 4 of 5
froszu
in reply to: froszu

Thanks @Ashley Handscomb Retallack !

All is working OK now and I can go on with next challenges.

Can you point me to any arnold-dev related resources? Wiki, example plugins, any opensource projects, etc. ?

Is there an official arnold-dev forum where I could ask api specific questions ?

thanks

-michal

Message 5 of 5

This is the only official Arnold development forum really. And the docs for writing extensions for MtoA have now been updated: https://docs.arnoldrenderer.com/x/ow1kAg



Ashley Handscomb Retallack
Arnold Support Specialist
Arnold Documentation | Arnold Downloads

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

Post to forums  

Autodesk Design & Make Report