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

Interactive rendering for third party plugin

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
timh5D75Z
396 Views, 5 Replies

Interactive rendering for third party plugin

I'd like to check my understanding of how best to use the rendering API to implement a renderview for a third party DCC app.

-For IPR rendering, start a render in free mode and use CameraCreateRay and AiTrace in concert to perform manual raytracing.

-For bucket rendering, start a render in camera mode, using a custom output driver that writes pixel data into memory accessible by the GUI.

Would this be correct, or how else might one get image data out of Arnold in an interactive session? Many thanks.

Tags (2)
Labels (2)
5 REPLIES 5
Message 2 of 6
Stephen.Blair
in reply to: timh5D75Z

You create an Arnold scene, call AiRender, and your custom display driver writes to the viewer framebuffer. You don't do manual raytracing.

IPR rendering is just one long render session, where you update the existing Arnold scene.



// Stephen Blair
// Arnold Renderer Support
Message 3 of 6
timh5D75Z
in reply to: Stephen.Blair

Gotcha. In that case, how does one cause the initial rendering to be progressive, rather than going straight into bucket workers?

Message 4 of 6
Stephen.Blair
in reply to: timh5D75Z

Do you mean the new experimental progressive mode?

Or the "regular" progressive rendering? The progressive rendering (like in the Arnold Render View) is a sequence of renders with different AA values. Create scene, render it with AA = -3, render it again with AA = -2, AAa = -1, AA =1, and then the final AA



// Stephen Blair
// Arnold Renderer Support
Message 5 of 6
timh5D75Z
in reply to: Stephen.Blair

That's perfect. I didn't realize that's how it worked, since you never see the buckets when progressive rendering in Maya. Many thanks.

Message 6 of 6
Stephen.Blair
in reply to: timh5D75Z

I don't think SItoA uses the new rendering API, but you can see how it was done in that plugin:

https://github.com/Autodesk/sitoa/blob/95328739ec91343c048d0979a6501d2d57c65415/plugins/sitoa/render...



// Stephen Blair
// Arnold Renderer Support

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

Post to forums  

Autodesk Design & Make Report