Author Topic: Displacement issue  (Read 8668 times)

2013-07-02, 01:53:39

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
Hi

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




Tried tweaking Projected size and Max subdiv per poly but to no significant effect

2013-07-02, 11:53:00
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13741
  • Marcin
    • View Profile
What does your displacement map look like? What resolution?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-02, 12:59:27
Reply #2

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
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

2013-07-02, 15:38:25
Reply #3

vkiuru

  • Active Users
  • **
  • Posts: 320
    • View Profile
Is your displacement image 8-bit?

2013-07-02, 20:03:09
Reply #4

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
Im using 32bit 4k maps.

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



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



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

2013-07-02, 20:17:23
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13741
  • Marcin
    • View Profile
Doesn't your displacement map have a narrow tonal width? Can you show it?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-02, 20:25:53
Reply #6

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
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
« Last Edit: 2013-07-02, 20:33:29 by Juzwa »

2013-07-02, 21:04:21
Reply #7

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
+ a scene (in attachment) I use to generate this issue

2013-07-02, 21:20:31
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13741
  • Marcin
    • View Profile

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?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-02, 22:08:08
Reply #9

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
:)

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).




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

2013-07-03, 19:16:25
Reply #10

Juzwa

  • Active Users
  • **
  • Posts: 27
    • View Profile
made render animation with displacement. Almost same maps and settings. You can see the flickering and stepping noise.

see attachment

2013-08-08, 23:14:11
Reply #11

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
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.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)