Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: oh.stv on 2015-06-18, 11:27:14

Title: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-18, 11:27:14
Hey folks,

now, im quite new to corona, and i dont know if this is known / intendet or already solved, but im pretty bordert by this.

(http://i.imgur.com/gUurubZ.jpg)

Somehow straight bumb lines are expanding in distance. I probably never noticed cause i never had a project with pavements.
I already tryed it with different bumbmaps procedual and not, always the same result.
In vray it seems to work fine though.

Any suggestions?

BTW: I love corona, and im very crateful for this awsome renderer, seriously :)

Greets

Stephan




Title: Re: A3 Bumb distance behavior
Post by: maru on 2015-06-18, 11:35:27
This is most probably caused by filtering. Not sure about C4D but in Max lowering "blur" value for image filtering would help. Or you can disable texture filtering completely in Corona's render settings.
Title: Re: A3 Bumb distance behavior
Post by: mp5gosu on 2015-06-18, 13:08:44
This is most probably caused by filtering. Not sure about C4D but in Max lowering "blur" value for image filtering would help. Or you can disable texture filtering completely in Corona's render settings.

+1
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-18, 13:36:20
Thx for your fast Reply Maru.

I tried  "Box" "Tent" And "None" with different values, but i seems like  it doent affect my problem.

Im not sure what u men with "lowering "blur" value for image filtering" though.

Sorry
Title: Re: A3 Bumb distance behavior
Post by: maru on 2015-06-18, 14:05:24
I tried  "Box" "Tent" And "None" with different values, but i seems like  it doent affect my problem.

Im not sure what u men with "lowering "blur" value for image filtering" though.
This is a different setting, revert image filtering back to tent. Sorry but I am not experienced in C4D. In 3ds Max you have filtering settings for your loaded bitmap/texture. I didn't find global texture filtering in render setup but I think this is the setting (attached).
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-18, 17:45:35
I tried all settings, lowerd the blure scale, raised it, changed the blur offset, changed the sampling (interpolation) but unfortunately without any changes.
Title: Re: A3 Bumb distance behavior
Post by: mp5gosu on 2015-06-18, 18:50:25
edit:

this should be treatened as a bug. Behaviour is reproducable and can't be fixed by adjusting Filtering and/or blur.

Head over to http://corona-renderer.com/bugs and submit a report. :)
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-18, 23:45:41
alright then ..... done :)
Title: Re: A3 Bumb distance behavior
Post by: burnin on 2015-06-19, 00:04:40
Could you share your scene file? Can't replicate it here.

All i've noticed is very small difference in using AA filters.
Problem you've describing could arise from unaligned diffuse & bump.

(http://i.imgur.com/fGS4hep.jpg)
Title: Re: A3 Bumb distance behavior
Post by: mp5gosu on 2015-06-19, 09:11:22
@burnin: Have you tried this using textures?
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-19, 14:24:24
@burnin

i just used the bumb channel, no diffuse at all. Try it again, and if u need the scene i can upload it.
Title: Re: A3 Bumb distance behavior
Post by: Ludvik Koutny on 2015-06-19, 15:04:31
Maru referred to bitmap filtering, not AA filtering.
Title: Re: A3 Bumb distance behavior
Post by: burnin on 2015-06-19, 20:08:00
Yes, i know...

In above image, lower row, are tests for Corona AA filters. To show there's nothing similar going on here.
Please, don't answer with assumptions, speculations or ignorance.

In use is Corona Material shader with Diffuse (RGB 204, 80%) and procedural Cinema Tile Shader in Bumpmapping channel (sampling is always disabled for procedural textures!).

On Upper row you see 8bit png image texture for shaders in diffuse & mapping channels. And here again:
Scene:
Ground Plane=1sq.km.; (Number of UV tiles: A&B=50, C=30, D=20)
Corona Material Shader:
- Diffuse: RGB=204 / Brightness=80%
- Bumpmapping: Strength=1 / Texture=2k, Grayscale PNG 8bit

Cam.H=10m; Pitch= -30°
Poles H=10m (50x50cm), Distance between=10m

Below are different Sampling examples for Bitmap Shader.

(http://i.imgur.com/5uSjn50.jpg)

Description in C4D Manual:
https://2cb28812e42cdd0881d2e1bccfffd32e8ad484e8-www.googledrive.com/host/0B2iAZL5Uq_C8Yk1VVFhpMXZEczA/US/html/6291.html

Or just share a scene... let's see.
Title: Re: A3 Bumb distance behavior
Post by: mp5gosu on 2015-06-20, 03:11:00
Image filter: off, Texture Filter off.
Map is 512 jpeg. (but honestly, size and bitdepth do nothing have to do with the problem - I tested various formats, sizes and contents)

The only difference between these images are slightly offset UV coords, nothing else. And at this distance, there is no moire effect (as it is visible in the far)
Title: Re: A3 Bumb distance behavior
Post by: burnin on 2015-06-20, 16:18:35
Using DOF?
Do share a scene.
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-22, 11:30:26
here you go.   Its the most basic setup.  Would be interesting if u realy cannot reproduce this.

https://dl.dropboxusercontent.com/u/15331248/Bumb_test01.c4d
Title: Re: A3 Bumb distance behavior
Post by: burnin on 2015-06-23, 16:19:11
Thanks, nice... lOl... It's so obvious. Damn.
Looks like at special lighting conditions (side lights) bumping grows (deepens, widens) with distance from camera view.
Most probably just some miscalculations. Sure it's a bump bug.
Will add description in the tracker... thanks for keeping it up :)

(http://s3.postimg.org/inxquijsz/bump_Bug.png)
Title: Re: A3 Bumb distance behavior
Post by: oh.stv on 2015-06-23, 17:22:02
Im glad i could help :)