Cool!
Thank you again!
Tif image loader
- clintonman
- Captain
- Posts: 5594
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Tif image loader
Update October 2024
added support for EXR files to the plugin.
I found that tS HDR image save is not high quality. It gives a wider range of colors but seems to keep discrete step values like an LDR image. It's strange and difficult to explain, maybe it's rounding the values?. This EXR save command keeps the quality of the color values of the image. The only real way to see the difference is to save a HDR format smooth image and compare it to the EXR image and see how the values jump in the HDR compared to the EXR image.
The EXR loader was tested with images from here:
https://openexr.com/en/latest/test_images/index.html
The loader does not support the pxr24 or b44 compression
When saving an exr with alpha channel it won't load back into tS properly. The color channels get scrambled. The really weird thing is if you open the image in another app it looks just fine. So if you load an exr image with alpha it looks good. Then you save it with alpha it looks bad in tS but identical to the original in other programs. There is a checkbox to unscramble the colors when using the loader.
EXR Loader nodes
https://clintons3d.com/plugins/truespac ... tiffloader
updated rsx plugin
https://clintons3d.com/plugins/truespac ... dPluginExt
added support for EXR files to the plugin.
I found that tS HDR image save is not high quality. It gives a wider range of colors but seems to keep discrete step values like an LDR image. It's strange and difficult to explain, maybe it's rounding the values?. This EXR save command keeps the quality of the color values of the image. The only real way to see the difference is to save a HDR format smooth image and compare it to the EXR image and see how the values jump in the HDR compared to the EXR image.
The EXR loader was tested with images from here:
https://openexr.com/en/latest/test_images/index.html
The loader does not support the pxr24 or b44 compression
When saving an exr with alpha channel it won't load back into tS properly. The color channels get scrambled. The really weird thing is if you open the image in another app it looks just fine. So if you load an exr image with alpha it looks good. Then you save it with alpha it looks bad in tS but identical to the original in other programs. There is a checkbox to unscramble the colors when using the loader.
EXR Loader nodes
https://clintons3d.com/plugins/truespac ... tiffloader
updated rsx plugin
https://clintons3d.com/plugins/truespac ... dPluginExt
Re: Tif image loader
Can you help with the Save As button code?
And anything else you see that maybe wrong.
And anything else you see that maybe wrong.
- Attachments
-
- Exr Loader.RsObj
- (63.79 KiB) Downloaded 5 times
- clintonman
- Captain
- Posts: 5594
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Tif image loader
Removed the image node
Connected internal Exr Loader Bitmap to the Image Information
Save As button saves %THIS_NAME%
This also reminds me that I forgot to add the loaded filename into the Bitmap data, so one more rsx change coming...
Connected internal Exr Loader Bitmap to the Image Information
Save As button saves %THIS_NAME%
This also reminds me that I forgot to add the loaded filename into the Bitmap data, so one more rsx change coming...
- Attachments
-
- Exr Loader.RsObj
- (62.6 KiB) Downloaded 5 times
- clintonman
- Captain
- Posts: 5594
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Tif image loader
I updated the rsx plugin to version 1638417
The only change is that the filename of the image will display when running the script command that reads it.
SDK docs:
HRESULT IRdBitmapDisp::GetFileName ( [out, retval] BSTR * pFileName )
The only change is that the filename of the image will display when running the script command that reads it.
SDK docs:
HRESULT IRdBitmapDisp::GetFileName ( [out, retval] BSTR * pFileName )
- clintonman
- Captain
- Posts: 5594
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Tif image loader
I just found out the EXR Loader isn't needed. tS will load exr files just fine. It just wont save exr files.