Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Juzwa on 2013-07-02, 01:53:39

Title: Displacement issue
Post by: Juzwa on 2013-07-02, 01:53:39
Hi

this is what i get when i use high displacement values (here 50cm)

(http://img443.imageshack.us/img443/1481/y4y.png) (http://imageshack.us/photo/my-images/443/y4y.png/)


Tried tweaking Projected size and Max subdiv per poly but to no significant effect
Title: Re: Displacement issue
Post by: maru on 2013-07-02, 11:53:00
What does your displacement map look like? What resolution?
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-02, 12:59:27
This is pretty strange. Im trying to solve this for a couple of days now. I use corona for my own project and wanted to render it all in corona. But I was stuck because of those displacement bugs. However when I want to recreate this bug right now, the thing does not occur. Very weird...

But I'm at work right now and using different computer (but the same files). When I get back home I'll render few frames to confirm this strange issue.

Im using high res 4k and 8k maps for displacement
Title: Re: Displacement issue
Post by: vkiuru on 2013-07-02, 15:38:25
Is your displacement image 8-bit?
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-02, 20:03:09
Im using 32bit 4k maps.

this is rendered with settings: Proj Size 2 ; Max Subdv pp 100

(http://img833.imageshack.us/img833/9424/hfft.jpg) (http://imageshack.us/photo/my-images/833/hfft.jpg/)

this is rendered with settings: Proj Size 0,5 ; Max Subdv pp 200

(http://img46.imageshack.us/img46/3145/6yat.jpg) (http://imageshack.us/photo/my-images/46/6yat.jpg/)

This is when camera is pretty close to the surface. And tweaking below 0,5 (proj size) and above 200 (max subdiv) is not cost-efficient and actually no improvement. In mental I can tweak this easily in global settings
Title: Re: Displacement issue
Post by: maru on 2013-07-02, 20:17:23
Doesn't your displacement map have a narrow tonal width? Can you show it?
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-02, 20:25:53
here is one of my maps:

http://www.sendspace.pl/file/f4ccdce74a688d7ab6e283a

narrow tonal width? what does it mean? :)

P.S. U need to press "Pobierz" button. sry for mess im a bit tired :)

P.P.S. Map in attachment
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-02, 21:04:21
+ a scene (in attachment) I use to generate this issue
Title: Re: Displacement issue
Post by: maru on 2013-07-02, 21:20:31

P.S. U need to press "Pobierz" button. sry for mess im a bit tired :)

P.P.S. Map in attachment

Dzięki za info, inaczej nie dałbym rady. ;)
Max14? Nie mogę tego otworzyć. Zapisz do 13 albo pokaż screeny. U mnie renderuje się raczej normalnie. Jak robisz displacement?

English:
Max14? Can't open it. Resave to 13 or show some screens. The map you attached renders ok for me. How do you apply displacement?
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-02, 22:08:08
:)

juz zapisalem w 2011 (w zalaczniku), powinno dzialac w 2013. Displace robie na samym materiale. Wrzucam to samo co w diffuse, tylko ze na 50 (cm).

(http://img23.imageshack.us/img23/6599/c9jz.png) (http://imageshack.us/photo/my-images/23/c9jz.png/)


English:

:D

reseved for 2011 (attachment), should be working in 2013. I use the same map for diffuse and displacement, dont change settings, just 50 (cm) on displacement channel
Title: Re: Displacement issue
Post by: Juzwa on 2013-07-03, 19:16:25
made render animation with displacement. Almost same maps and settings. You can see the flickering and stepping noise.

see attachment
Title: Re: Displacement issue
Post by: Ondra on 2013-08-08, 23:14:11
your displacement texture is NOT 32bit, but only 8bit. The discretization is causing your problems, use for example 16bit/channel PNG to get a better result

BTW: There was also some probably unrelated bug in displacement in this scene, I've fixed it.