Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: petrorosengren on 2019-05-29, 11:59:17

Title: Corona Bitmap Preview Quality in viewport
Post by: petrorosengren on 2019-05-29, 11:59:17
Hello!

I cant get Corona Bitmap to increase in pixel quality in viewport, when changing the px value in native "Configure ViewPorts (texture map)".

It works fine with 3ds max bitmap.

I sometimes use this for drawings and quick sketches.

BR/
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: rowmanns on 2019-08-14, 14:13:39
Hi,

Which version of Corona and Max are you using?

This seems to be working fine for me in Max 2020 with the latest Corona daily build (2019-08-07)

Thanks,

Rowan
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: DPS on 2019-11-05, 12:40:58
Yep same, max 2018.

So frustrating, something so basic.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-07, 17:54:37
Tested with 2018, seems to work fine. We will need a better description. How exactly to reproduce this??
Adding screenshots with quality set to 128px and 1024px.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: Juraj on 2019-11-07, 18:22:06
Super easy to reproduce on my part, regardless of what viewport resolution is set (even 8k or 16k!) following happens on my 3dsMax 2016, Corona 5 installation:

- NativeBitmap is crystal clear
- CoronaBitmap is blurry, but to absurd level, like 1/8 of res.

Interestingly, if NativeBitmap is put under CoronaColorCorrect (or maybe other nodes too?) same happens, viewport shading is blurry.

Here is quick screenshot, I didn't do anything special, same map loaded into their respective bitmap loaders and the results show it all.

Title: Re: Corona Bitmap Preview Quality in viewport
Post by: rowmanns on 2019-11-08, 10:33:37
Hi Juraj,

I still can't reproduce this, can you send me a screenshot of your viewport configuration -> display performance tab please?

Thanks,

Rowan
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: Juraj on 2019-11-08, 10:43:38
Sure, quite a mystery :- ).

Also, Windows 10, latest upgrade&update, 1080ti latest nVidia drivers, no software override (stocks settings).

Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-08, 17:44:57
Maybe it's some of the GPU driver features screwing around?
Here's what I'm using.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: Juraj on 2019-11-08, 17:46:32
Why would it apply differently between Native and Corona Bitmap loaders?

Since my GPU Driver settings are stock I would place the fault on Corona.

It's interesting though, I'll go test it as well.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: romullus on 2019-11-08, 19:22:09
I tried it on max 2016 with default Nitrous direct3d 11 driver, texture map resolution in display performance settings is set to 4096 - the difference between bitmap and Corona bitmap can be seen, but it's very marginal, visible only when you zoom in close to 1:1 magnification. Interestingly enough, difference almost completely dissapears when i set interpolation to nearest neighbour, but then texture shifts very slightly in the viewport. Tested on JPG, PNG, TIFF, all 4096x4096 - no difference between formats.

Edit: GPU Nvidia 1060, drivers heavily outdated.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: Juraj on 2019-11-08, 20:22:37
Same settings as Marus has in GeForce driver.

Do you guys have 4K or other HighDPi monitor, do you have scaling in Windows on?
This is not scene dependent, I opened empty scene. And it happens to native bitmap as well if I put it under CoronaCC node, but CoronaMix for example is ok.

This will be Corona related, not my windows setup. Max Native works well.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: rowmanns on 2019-11-11, 10:41:07
Hi,

I have a 4k monitor with Windows scaling set to 150%.. Do you have a similar setup?

Rowan
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: SmurfN on 2019-11-11, 11:52:04
can't contribute anything other then we have been having the same issue since forever and working around it by using max bitmap also.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-12, 11:31:07
Max 2016.
I am afraid we will need a scene file from someone who is experiencing this. The uploader is in my signature. Let me know once the upload is done and what is the file name.

Also attaching my "rig" that can be used to test this.

(Internal ID=421751111)
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: GeorgeK on 2019-11-12, 11:44:30
Hey, so I've tested this yesterday in 3ds max 2020. Upon increasing the view-port texture-map resolution above 4096 and using high res textures I got this result. I've integrated my results to your scene Maru!

Currently using a 6k resolution texture from RDT.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-12, 11:59:18
This really seems to be system-specific. I am getting different results than George in the same scene with the same texture, same Max version. :/
GTX 1050
2560x1440 resolution
100% Windows scaling
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: GeorgeK on 2019-11-12, 12:10:48
This really seems to be system-specific. I am getting different results than George in the same scene with the same texture, same Max version. :/
GTX 1050
2560x1440 resolution
100% Windows scaling

So after meddling a little bit too, refreshing the coronabitmap and re-enabling the  Show Shaded Material fixed it for me, also worth noting after setting view-port texture map resolution to 8k, I've set view-port settings to "Show Realistic Materials with Maps", except the CCC one the rest seem fine.

1920x1080 reso, 100% Windows  Scaling, Nvidia 2060 Super latest drivers.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: PROH on 2019-11-12, 12:50:22
Hi. Having the same problem with 3ds Max 2016, as you can see in the attached screenshot.

- The map in use is a 8192x8192 map from Poliigon.
- Texture map size is set to 4096 pixels in Display Performance.
- 2560x1440 resolution
- 100% Windows scaling
- GTX 970
- The result is the same in "Shaded" and "Realistic"

No matter how much I meddle, reset, reload, restart etc.etc., it doesn't get better.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: GeorgeK on 2019-11-12, 13:06:30
Hi. Having the same problem with 3ds Max 2016, as you can see in the attached screenshot.

- The map in use is a 8192x8192 map from Poliigon.
- Texture map size is set to 4096 pixels in Display Performance.
- 2560x1440 resolution
- 100% Windows scaling
- GTX 970
- The result is the same in "Shaded" and "Realistic"

No matter how much I meddle, reset, reload, restart etc.etc., it doesn't get better.

Please go to your view-port settings, change your baked procedural maps resolution to be exactly the same as your texture/environment, re-apply the corona bitmap and please share your results. For 3ds max 2020 it's how it fixes the issue for me. (see picture)

Also please consider enabling realistic maps with textures on your view-port rollout. (see pic no2)
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: PROH on 2019-11-12, 13:25:56
Hi @Corona_GK, thanks for your input.

As I said before, I've already enabled maps for both Realistic and Shaded, so trying that again didn't change anything. BUT changing the resolution for Baked Procedural Maps, had never crossed my mind, since this isn't procedural maps. However it actually did fix the problem - but only after saving the max-file, and then reopen it.

So for everyone with this problem: There's no immediate change in the viewports when changing the procedural resolution. You need to reload either the bitmaps or the max-file.

Thanks :)
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-12, 13:32:14
I've always changed all 3 resolution values, that's the source of the whole confusion! :)
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: GeorgeK on 2019-11-12, 13:42:14
I've always changed all 3 resolution values, that's the source of the whole confusion! :)

True it's the default max that has it lowered ^^.

Hi @Corona_GK, thanks for your input.

As I said before, I've already enabled maps for both Realistic and Shaded, so trying that again didn't change anything. BUT changing the resolution for Baked Procedural Maps, had never crossed my mind, since this isn't procedural maps. However it actually did fix the problem - but only after saving the max-file, and then reopen it.

So for everyone with this problem: There's no immediate change in the viewports when changing the procedural resolution. You need to reload either the bitmaps or the max-file.

Thanks :)

Glad it works!
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: petrorosengren on 2019-11-16, 14:11:16
Wow, this thread is on fire! =)

Thanks for looking into it. I did a quick check yesterday and it was still a quality difference between Corona and Native.

Title: Re: Corona Bitmap Preview Quality in viewport
Post by: maru on 2019-11-18, 17:02:52
I did a quick check yesterday and it was still a quality difference between Corona and Native.
Screenshots, settings, examples, plz.
Title: Re: Corona Bitmap Preview Quality in viewport
Post by: Juraj on 2019-11-22, 13:26:54
The baked procedural resolution solved CoronaBitmap resolution, funny as that solution is :- ).