Open lxw404 opened 5 months ago
Seeking feedback from @Geenz.
Have you tried providing "exr" as the format to the node?
I did try that, which is what initially prompted to open this. It ends up producing an empty image size $-1 \times -1$. I have also tried "HDR" and "OpenEXR" as well with no luck.
There's likely an encoding issue there somewhere. Do you have logs for when you tried to do that?
We might also need to make sure that we transfer the texture back into HDR buffer before saving.
Here's a log file trying to render to EXR:
RenderToTextureAsset EXR - 2024.4.3.1170 - 2024-04-11 16_00_39.log
Also here is a test object:
resrec:///U-LuxKitty/R-9E016D0F97A51AF05B6FBDFAE2ADAC63963539C4E668259CD8F1221439F4B50E
Is your feature request related to a problem? Please describe.
Currently as far as I am aware, the
RenderToTextureAsset
ProtoFlux node is only able to render to output formats which clamp its values between $0$ and $1$. This is fine for its main use case of taking pictures, however HDR and unconstrained ranges are also very useful for image synthesis and when capturing exact values is necessary.Describe the solution you'd like
The
RenderToTextureAsset
node should allow OpenEXR formatted outputs which are unconstrained in their value ranges.Describe alternatives you've considered
There is no alternative at the moment that I am aware of.
Additional Context
Use cases:
Requesters
LuxKitty