Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Bug Reporting => Topic started by: Nejc Kilar on 2020-03-27, 17:36:20

Title: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Nejc Kilar on 2020-03-27, 17:36:20
Hello! :)

So this is a big one and imho should be at the top of the priority list because it makes bump mapping unusable in production workflows. Imho it is a big oversight that this is in the stable release :\

Anyway, the bump map literally renders differently when rendered in 1k resolution compared to say 6k resolution. The way that the bump effect looks is quite noticeably different.

I'm attaching a quick comparison screenshot.

OS: Windows 10
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Beanzvision on 2020-03-30, 15:44:57
Hey Nejc,

Are you able to supply a sample scene at all? I've tried to recreate it but I'm not having much luck. Cheers ;)
https://corona-renderer.com/upload
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Nejc Kilar on 2020-03-31, 11:59:38
Hey Bengamin,

Yeah, I'll see what I can do to get you the scene. From what I can tell so far I can easily reproduce the issue so I'll try to get you the scene in the upcoming days.
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Beanzvision on 2020-03-31, 13:19:39
Thanks a lot! ;)
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: burnin on 2020-03-31, 14:48:31
Got a scene here and it doesn't seem to differ that much or I'm just going slightly blind...
but might also be the CPU(?) Done on AMD TR 1950X.

I also found that the shading issue ( (https://forum.corona-renderer.com/index.php?topic=27158.0)Artefacts when using background and corona sky object) (https://forum.corona-renderer.com/index.php?topic=27158.msg160782#msg160782) can be replicated even with just using an area light on capsule or other capped & filleted objects (on edges where this "patches" join).

More bumpy problems might occur with high reflective, metals and anisotropic shading. As if each pixel gets bumped separately (appears as a gap between pixels). But I need to find a definite way to reproduce it (unless it's been fixed - am using v6 daily1 here)

Scene file: CRN_BumpAnisoShade-Bugz.7z (https://mega.nz/#!tNI1kKiT!3L5aaV5VKkY_ZhXg2tI_kcn5gWVuxzZoUJLZWd6-2NU) | 167.9 MB @ MEGA // all textures CC-0


Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: djstevanovic on 2020-04-20, 11:29:05
I tried scene above and got i think ok results, cinema r19 & corona v5 hotfix2


Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Nejc Kilar on 2020-05-18, 23:35:49
Just to update this thread, it could be that this issue is present mostly on 2 socket systems - high end Xeon workstations.

There is a lot in common with this particular thread, at least when it comes to speed hits - https://forum.corona-renderer.com/index.php?topic=24238.0

So right now not only bump mapping doesn't work properly when rendering "big" it also incurs a significant speed penalty when not using CBitmaps which as we all know can't be scaled. :(
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: Nejc Kilar on 2020-05-19, 20:09:45
After playing around with it a bit more I can definitely reproduce the issue every single time if one uses the Layer -> Transform command to scale the bump bitmap. The resulting bump map effect will look broken at higher resolution. Using the same exact procedure and rendering at 1/3rd of the resolution will look great though.

For the above I'm specifically comparing 6k vs 2k images.

All that said, even if I render a single map in 6k and compare it to 2k there are differences in the way bump is applied. It is less pronounced but it is there and it can look quite a bit different. I've tested it with and without CBitmaps but ultimately this particular point probably comes down to texture filtering that was already reported before.

So from my quick re-testing here it seems like yeah, we currently don't have the ability to scale bump maps in Corona for Cinema 4D - the transform is buggy (as noted in the first paragraph) and the projector doesn't work / isn't supported. This is a major problem for production work :\
Title: Re: (Daily Build 2020-02-27 & v5) - Bump Map textures unreliable at different res.
Post by: vudumotion on 2021-07-16, 11:31:58
Hey!

+1

D.