question

Kristoffer Fleischmann avatar image
Kristoffer Fleischmann asked ·

How can I set up a keyable variable controlling a given attribute in the mandelbulb.ass file?

I'm trying to understand the tutorial "How to Render a Mandelbulb" and I'm stuck at how to

animate (for example the grid_size) a given parameter. I understand that I have to set up aiUserDataFloats and I succeeded in altering the shader, but I dont get the connection from setting up custom attributes which controll this part of the .ass file.

grid_size 400

max_iterations 5

power 6

etc.

Can someone point me in the right direction?

Hugs,

Paul

mtoa
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.

Ashley Handscomb Retallack avatar image
Ashley Handscomb Retallack answered ·

HI, instead of loading the ass file in newer versions of MtoA you can create the node directly in Maya.

You need to do a little setup and this functionality is still work in progress.

First copy the attached mandelbulb-proc.txt file to the same location as the mandelbulb_proc.dll(.so/.dylib) rename it to mandelbulb_proc.mtd.

Now add the location of the mandelbulb procedural in your ARNOLD_PLUGIN_PATH environment before launching Maya.

A new menu should be available under Arnold called Custom Shapes, under this menu will be a list of found procedural nodes from plugins in the ARNOLD_PLUGIUN_PATH, mandelbulb should appear in this list.

Once you create it, a null node will be made in the scene with a transform as a parent. I usually make a volume cube as a child of the transform so I can visualise the location of the Mandelbulb in the scene.

you can now assign shaders and change the parameters directly.


mandelbulb-menu.png (29.5 KiB)
maya-screen.png (292.3 KiB)
pow4.jpg (91.5 KiB)
pow8.jpg (107.9 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.

Kristoffer Fleischmann avatar image
Kristoffer Fleischmann answered ·

Wow. Thank you very much! I will try that :-)

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.