Hello. Would it be possible to add

Hello. Would it be possible to add support for .hdr textures to the asset library?
18 Replies
Adnan Chaumette
Adnan Chaumette4mo ago
Never played with that before :thinkies: could you describe a use case?
Sitta
Sitta4mo ago
No description
Sitta
Sitta4mo ago
basically what is already available from polyhaven, but for custom textures
Adnan Chaumette
Adnan Chaumette4mo ago
ahh I see. @Ilgar (Software Developer) @Costantino - CTO would know then!
Ilgar
Ilgar4mo ago
Currently it only works with .hdr format. By custom textures you mean being able to load from local folder ?
Sitta
Sitta4mo ago
yes, i would like to add my own .hdr images to the shared library. it doesn't seem to be possible atm
Sitta
Sitta4mo ago
No description
Sitta
Sitta4mo ago
the Texture Cubes are .hdr
Adnan Chaumette
Adnan Chaumette4mo ago
@Costantino - CTO perhaps this is just a matter of adjusting our content detection to also find .hdr files, and make thumbnails out of them? :thinkies:
Sitta
Sitta4mo ago
and i guess a function to create an HDRI backdrop when the texture is dragged out
Adnan Chaumette
Adnan Chaumette4mo ago
yep, we already have that in the Polyhaven library, so this might be a fairly minor task :thinkies:
Costantino
Costantino4mo ago
Let me check how complex is to generate hdr thumbnails and support an extra type and get back to you
Costantino
Costantino4mo ago
I made a prototype that assumes CubeMaps are to be treated as HDRI for our library, and I think we can ship it for the next release. Generated tags are not exausthive but the main colors are picked so that should help already a bit where looking for a particular dominant color
No description
Sitta
Sitta4mo ago
Awesome, looking forward to it 🙂 I would like to add another suggestion. I think many people struggle with aligning the Directional Light with the sun in the HDRI backdrop. It's a very tedious task when testing out lighting scenarios for exterior shots. It would be really helpful if there was a tool that would find the brightest spot in the HDRI backdrop and automatically align the Directional Light. And since Dash supports HDRI imports from Polyhaven, it might make sense to have such a tool as well.
Adnan Chaumette
Adnan Chaumette4mo ago
@Ilgar (Software Developer) Please look into this 🙏 We discussed it a while back, but seems like it slipped through our radar. Could be an option in our prefs to automatically align the scene's directional light to the dropped HDRI.
Sitta
Sitta4mo ago
And ideally not just when dropped, but is should also update when the HDRI is being rotated The way I'm doing it atm is to drop an HDRI into my scene and manually align to the sun. Then i make the Directional Light a child of the HDRI backdrop, so the sun gets rotated with the HDRI. But this process can be quite tedious when testing multiple HDRIs
Ilgar
Ilgar4mo ago
ok, looking into it
Sitta
Sitta4mo ago
Another idea. When the sun location is found in the HDRI, it could automatically add a tag to the HDRI for the time of day based on the UV coordinate of the sun (Low sun, morning/afternoon, noon).