Closed nieyuan1980 closed 3 months ago
Looking at your images: this is 90% because of JPEG compression. If you use our tool at https://gainmap-creator.monogrid.com try to raise the JPEG compression quality until the result satisfies you.
Gainmap's gains in file size imply the acceptance of some compromises: HDR files are lossless while JPEG is very much lossy and, sometimes, incurs in this kind of data loss.
let me know if this solves your issue, thanks
Following your instructions, I improved the JPEG compression quality (from 0.9 to 1).
This has indeed made a significant improvement.
There is a new issue now that the exposure of the generated jpeg seems to be insufficient compared to the original image.
May I ask how this situation needs to be resolved?Thank you!
This is the setting parameter:
1、Display exposure(1.59)
2、Display(SDR + Applied Gain map)
3、Compression quality(1)
This is the generated jpeg:
I suspect you expect the "Display Exposure" parameter to affect your image,
"Display Exposure" does not brighten the encoded output, it is only a "Viewer parameter": a parameter which affects what you see in the preview image inside the converter web page.
You will need to brighten the skycube by increasing the backgroundIntensity in your threejs scene in order to achieve the effect you desire
I increased the exposure from 1 to 6, and the final result was very satisfactory! This is really great. Thank you for your reply and I would like to send you my best wishes. The code is here
Thank you for letting me know! I'm going to close this then
@nieyuan1980 are you a developer ? I'm a colleague of @daniele-pelagatti can you contact me or leave me your email ? thanks
Hello, I have used gainmap-js. But the effect is not ideal. This is a comparison chart. As you can see Using HDR_JPG to apply background, the image displays jagged. But using HDR is relatively smooth.![74e1ca6153ddfef40c510d4eed9155a72359fbbc_2_1035x507](https://github.com/MONOGRID/gainmap-js/assets/25432482/c682e007-b009-4c5a-93a9-116377616a2d)
My steps are: 1、Download a 4K HDR file (sunflowers_puresky_4k. hdr) 2、Use tool convert it to HDR_JPG (sunflowers_puresky_4k. jpg) 3、Refer to the official code of gainmap-js
This is my code:
Excuse me, is there an error in any step?