Callback to access IPR buffer?

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
pixerati2
Licensed Customer
Posts: 42
Joined: Sun Jul 06, 2014 4:06 pm

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 :)
BK
OctaneRender Team
Posts: 1454
Joined: Mon Oct 31, 2016 7:54 pm

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
Kind Regards

bk3d
pixerati2
Licensed Customer
Posts: 42
Joined: Sun Jul 06, 2014 4:06 pm

Will do Bikram. I think I'll just write a bogus Maya image plugin to intercept.

Thanks for taking the time to reply.
BK
OctaneRender Team
Posts: 1454
Joined: Mon Oct 31, 2016 7:54 pm

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
Kind Regards

bk3d
pixerati2
Licensed Customer
Posts: 42
Joined: Sun Jul 06, 2014 4:06 pm

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.
Post Reply

Return to “Autodesk Maya”