Page 1 of 1
Callback to access IPR buffer?
Posted: Tue Oct 02, 2018 6:30 pm
by pixerati2
Is there any way to access the Octane IPR buffer other than saving to file then reading from disk? I want to write a plugin to send the current render to a remote viewing station, but I can't see anything in the Maya API that allows me to retrieve the current Octane render from the IPR.
Is there something I can use from the Octane SDK (while still using the Maya IPR)?
Or did I miss something in the Maya API? (All the callbacks seem to be to do with the native software renderer and not third party renderers.)
Thanks

Re: Callback to access IPR buffer?
Posted: Tue Oct 02, 2018 11:42 pm
by BK
pixerati2 wrote:Is there any way to access the Octane IPR buffer other than saving to file then reading from disk? I want to write a plugin to send the current render to a remote viewing station, but I can't see anything in the Maya API that allows me to retrieve the current Octane render from the IPR.
Is there something I can use from the Octane SDK (while still using the Maya IPR)?
Or did I miss something in the Maya API? (All the callbacks seem to be to do with the native software renderer and not third party renderers.)
Thanks

Hi pixerati2,
It seems Octane SDK would not help.
Please contact Autodesk on how to retrieve the image data from standard Maya's renderView that gathers render results from renderers.
cheers
Re: Callback to access IPR buffer?
Posted: Tue Oct 02, 2018 11:45 pm
by pixerati2
Will do Bikram. I think I'll just write a bogus Maya image plugin to intercept.
Thanks for taking the time to reply.
Re: Callback to access IPR buffer?
Posted: Wed Oct 03, 2018 3:41 am
by BK
pixerati2 wrote:Will do Bikram. I think I'll just write a bogus Maya image plugin to intercept.
Thanks for taking the time to reply.
Thanks, Pixerati2!! Hope you will find it helpful.
Anyways, the Maya image plugin sounds exciting !!
cheers
Re: Callback to access IPR buffer?
Posted: Wed Oct 03, 2018 5:07 pm
by pixerati2
For completeness if anyone searches this in the future:
For my needs the SDK sample captureViewRenderCmd.cpp shows how to intercept a Viewport render and capture it to a buffer. Haven't tried it on the IPR, but since Octane now renders inside a Maya Viewport panel this proves sufficient.