Octane buffer pixel value read out?

Forums: Octane buffer pixel value read out?
Foundry Modo (Developed by stenson, Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Octane buffer pixel value read out?

Postby Dingbat » Mon Jun 05, 2023 8:41 pm

Dingbat Mon Jun 05, 2023 8:41 pm
is there a way to check pixel values in the buffer when rendering?
Dingbat
Licensed Customer
Licensed Customer
 
Posts: 161
Joined: Tue Jul 21, 2020 7:49 am

Re: Octane buffer pixel value read out?

Postby face_off » Mon Jun 05, 2023 10:46 pm

face_off Mon Jun 05, 2023 10:46 pm
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
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15480
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Octane buffer pixel value read out?

Postby elsksa » Tue Jun 06, 2023 12:31 am

elsksa Tue Jun 06, 2023 12:31 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".
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: Octane buffer pixel value read out?

Postby face_off » Tue Jun 06, 2023 5:42 am

face_off Tue Jun 06, 2023 5:42 am
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
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15480
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Octane buffer pixel value read out?

Postby elsksa » Wed Jun 07, 2023 1:20 am

elsksa Wed Jun 07, 2023 1:20 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 1008 times
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: Octane buffer pixel value read out?

Postby face_off » Wed Jun 07, 2023 6:03 am

face_off Wed Jun 07, 2023 6:03 am
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
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15480
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Octane buffer pixel value read out?

Postby Dingbat » Wed Jun 07, 2023 6:59 pm

Dingbat Wed Jun 07, 2023 6:59 pm
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?
Dingbat
Licensed Customer
Licensed Customer
 
Posts: 161
Joined: Tue Jul 21, 2020 7:49 am

Re: Octane buffer pixel value read out?

Postby elsksa » Wed Jun 07, 2023 8:29 pm

elsksa Wed Jun 07, 2023 8:29 pm
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.
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: Octane buffer pixel value read out?

Postby Dingbat » Mon Jun 12, 2023 5:22 pm

Dingbat Mon Jun 12, 2023 5:22 pm
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
Dingbat
Licensed Customer
Licensed Customer
 
Posts: 161
Joined: Tue Jul 21, 2020 7:49 am

Return to Foundry Modo


Who is online

Users browsing this forum: No registered users and 14 guests

Thu Apr 25, 2024 12:26 am [ UTC ]