Hi. I am trying to convert hdr backgrounds int urho zone cubemap but I cannot figure out what parameters should I use.
Urho have an example of such image that I am trying to receive - output_pmrem_***.dds which works great and contains mipmaps, contains radiance and irradiance maps and everything we need. So Im trying to find a way how to create our custom skyboxes + environment maps.
I did a few attempts with cmft and https://hdrihaven.com/hdri/?c=skies&h=kiara_4_mid-morning . I work on MacOS.
I was trying to convert initial .hdr file
it constantly freezes my mac, I have to restart it (tried 3 times). It also looks dangerous because mac become very (very) hot and cooling system was not triggered…
tried to convert tonemap JPG with cmft
cmft cannot recognize the format (cannot read the file - no idea why)
Using GIMP I converted tonemap JPG into a tga (kiara_4_mid-morning.tga) and tried few times with it
–output2params dds,RGBA8,facelist \
This gave me the following error:
File type DDS does not support RGBA8 texture format. Valid internal formats for DDS are: BGR8 BGRA8 RGBA16 RGBA16F RGBA32F. Choose one of the valid internal formats or a different file type.
–output2params dds,BGRA8,facelist \
This parameters game me 350kb dds images that I can at least open and see in preview. But unfortunately urho cannot read it:
[Wed Jun 10 00:48:57 2020] ERROR: Unrecognized DDS image format
[Wed Jun 10 00:48:57 2020] ERROR: Null image, can not set face data
Can anyone give me an example of how to convert that images? I feel I do smth completely wrong… Thank you.