question

Eden Soto avatar image
Eden Soto asked ·

Stereo camera, random sample seed for each side?

Was trying to create a workflow for use with Altus Studio and I have to output two frame buffers per frame and the least painful way to do that (that I've seen) is to use a stereo camera with a 0 offset left and right, but Altus Studio only works if the two frame buffers have a varied sample pattern to help it distinguish what's noise and what's not... I saw in the Arnold documentation there's an AA_seed reference for the Lock Sampling Pattern setting (which I have disabled) and saw in a Maya screenshot there's a way to randomize that seed in Maya, but I don't see a way to do it in C4DtoA... does anyone know of a way to do it in C4D?

Or if there's simply a better way to achieve what I'm after, I'd love to hear that too!

TIA

c4dtoasampling
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 ·

It would be the same way as in Maya, with the User Options. For C4DtoA, that's on the Diagnostics tab

3 comments 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.

Thanks... I wound up seeing that shortly after I posted, but it seems to me there's no way to randomize the sample pattern on a C4D stereo camera? I'm getting the exact sample pattern for both the left and right cameras

0 Likes 0 · ·

No, for a stereo camera setup, the same AA_seed is used for both. It's like one frame with two cameras, so all the same render settings apply for each camera.

0 Likes 0 · ·
Eden Soto avatar image Eden Soto Stephen Blair ♦♦ ·

Ah, bummer... thanks for your quick answers! I'll have to resort to the Render Queue, output it twice and apply different seed for each

0 Likes 0 · ·
Graham Cristie avatar image
Graham Cristie answered ·

I have the same question, I can set up a stereo camera in Maya/Arnold with zero convergence and render from the masterLayer and I get <filename>.Left and .Right .exrs and each has a different noise seed out of the box.

But when I set up a Render Layer in Render Setup they share the same AA_seed. I can get around this by writing a post render layer Mel script to randomize the AA_seed in the user options and rendering each camera as a separate layer:

setAttr -type "string" defaultArnoldRenderOptions.aiUserOptions ("AA_seed " + `ceil(rand(500))`);

That's fine with a simple test set up, but II see that getting a bit unmanagable as more Render Layers are added.

Is there a way to ensure each side of a stereo camera render can get a varying AA_seed in when launched from the Render Setup as well as the masterLayer?

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.