Octane buffer pixel value read out?

Foundry Modo (Developed by stenson, Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
Dingbat
Licensed Customer
Posts: 180
Joined: Tue Jul 21, 2020 7:49 am

is there a way to check pixel values in the buffer when rendering?
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

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
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
elsksa
Licensed Customer
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

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".
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

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
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
elsksa
Licensed Customer
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

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 1939 times
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

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
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Dingbat
Licensed Customer
Posts: 180
Joined: Tue Jul 21, 2020 7:49 am

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?
elsksa
Licensed Customer
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

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.
Dingbat
Licensed Customer
Posts: 180
Joined: Tue Jul 21, 2020 7:49 am

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

Return to “Foundry Modo”