Page 1 of 1

Octane buffer pixel value read out?

PostPosted: Mon Jun 05, 2023 8:41 pm
by Dingbat
is there a way to check pixel values in the buffer when rendering?

Re: Octane buffer pixel value read out?

PostPosted: Mon Jun 05, 2023 10:46 pm
by face_off
Hi - you can either use the octane.copyRenderToClipboard command and paste into Gimp, Photoshop, etc. Or I can add a function to the python interface of the plugin to allow you programmatic access to the render buffer.

Thanks

Paul

Re: Octane buffer pixel value read out?

PostPosted: Tue Jun 06, 2023 12:31 am
by elsksa
face_off wrote:(...) octane.copyRenderToClipboard command and paste into Gimp, Photoshop, etc.

That, while viable, would limit to integer encoding/file format (conformed to output destination) "picked values".

Re: Octane buffer pixel value read out?

PostPosted: Tue Jun 06, 2023 5:42 am
by face_off
elsksa wrote:That, while viable, would limit to integer encoding/file format (conformed to output destination) "picked values".

Sorry, I am unclear what you are saying here. The current format that is saved to the clipboard is QImage::Format_RGB32 (https://doc.qt.io/qt-5/qimage.html#Format-enum). In theory any of the formats could be used, although I have not tried them.

Paul

Re: Octane buffer pixel value read out?

PostPosted: Wed Jun 07, 2023 1:20 am
by elsksa
face_off wrote:
elsksa wrote:That, while viable, would limit to integer encoding/file format (conformed to output destination) "picked values".

Sorry, I am unclear what you are saying here. The current format that is saved to the clipboard is QImage::Format_RGB32 (https://doc.qt.io/qt-5/qimage.html#Format-enum). In theory any of the formats could be used, although I have not tried them.

Paul

Thank you for the elaboration.
I was making the assumption that it was on-par with the Copy-To-Clipboard from Octane-Standalone, limited to a PNG file format (integer "LDR"). I suppose it is rather the equivalent to the nearby icon (quick "save the current render to disk").
standalone_copy_to_clipboard.jpg
standalone_copy_to_clipboard.jpg (9.71 KiB) Viewed 1148 times

Re: Octane buffer pixel value read out?

PostPosted: Wed Jun 07, 2023 6:03 am
by face_off
Thank you for the elaboration.
I was making the assumption that it was on-par with the Copy-To-Clipboard from Octane-Standalone, limited to a PNG file format (integer "LDR"). I suppose it is rather the equivalent to the nearby icon (quick "save the current render to disk").
Yes, the plugin is also copying the render to the clipboard in LDR format.

Paul

Re: Octane buffer pixel value read out?

PostPosted: Wed Jun 07, 2023 6:59 pm
by Dingbat
face_off wrote:Hi - you can either use the octane.copyRenderToClipboard command and paste into Gimp, Photoshop

that's what i currently do but it's a bit clunky when you want to quickly check and adjust a few colours, or check clipping

not the end of the world but would be very handy to have

or a histogram?

Re: Octane buffer pixel value read out?

PostPosted: Wed Jun 07, 2023 8:29 pm
by elsksa
Dingbat wrote:
face_off wrote:Hi - you can either use the octane.copyRenderToClipboard command and paste into Gimp, Photoshop

that's what i currently do but it's a bit clunky when you want to quickly check and adjust a few colours, or check clipping

not the end of the world but would be very handy to have

or a histogram?

There are no such issue as "clipping" with a proper color pipeline.
As it's quite long to unpack everything, this page covers it, and this one.

Re: Octane buffer pixel value read out?

PostPosted: Mon Jun 12, 2023 5:22 pm
by Dingbat
elsksa wrote:There are no such issue as "clipping" with a proper color pipeline

thanks

i get that but sometimes Octane tonemapping (in the frame buffer) is all i need and more often than not i prefer it to both ACES and Filmic tonemapping

i found this tool from MS - not ideal but at least i can check things much more quickly:

https://learn.microsoft.com/en-us/windo ... lor-picker