Author Topic: Displacement Issues  (Read 5187 times)

2017-07-14, 05:27:23

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
Hi,

I have this problem where it seems as if corona interprets my displacement map differently between frames. It's popping and jittering. I have attached a 45F render to show what i mean.
The displacemnt map is under a filter shader, is that not cool? The render was done on a single machine so we can rule out different machines calculating the map differently.

Any input appreciated! Cheers.

https://www.dropbox.com/s/s49tzkk7z74ltji/Displ_Issues.mp4?dl=0

Edit: Just realised that the picture quality is shit if viewed directly from dropbox, please download for better quality.

2017-07-14, 05:49:44
Reply #1

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
Have you tried to decrease the Screen Size of the displacement (it is under "Render Settings / Corona / Performance Settings, the default is 2 pixels which might be too rough), although in your special case I would switch to World size and use an appropriate value there (depending on the real world size of your details).

HTH,
Michael

2017-07-14, 07:13:20
Reply #2

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
Have you tried to decrease the Screen Size of the displacement (it is under "Render Settings / Corona / Performance Settings, the default is 2 pixels which might be too rough), although in your special case I would switch to World size and use an appropriate value there (depending on the real world size of your details).

HTH,
Michael

Thanks mike! Will try that!

Cheers

2017-07-14, 09:37:26
Reply #3

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
Hi!

This is a very interesting issue. In order to fix it, I'd say replace displacement with bump and use displacement only for low-frequency variation. But the question is why doesn't displacement handle your input data correctly?

Edit: In any case, I'd be interested in seeing the scene, if it's not a problem :-)

2017-07-17, 06:19:52
Reply #4

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
Hi!

This is a very interesting issue. In order to fix it, I'd say replace displacement with bump and use displacement only for low-frequency variation. But the question is why doesn't displacement handle your input data correctly?

Edit: In any case, I'd be interested in seeing the scene, if it's not a problem :-)

Lowering the Screen size under solved it. Thanks Mike. At first i tried to do world size but got really weird results unless going really small, but going too small increased the displacement calculation to insane times.

@houska, still want to see project file? Shouldn't be a problem. The project is still live but I can make a stripped down/simplified file and send it over if you are still interested.

Cheers

2017-07-24, 09:59:20
Reply #5

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
Lowering the Screen size under solved it. Thanks Mike. At first i tried to do world size but got really weird results unless going really small, but going too small increased the displacement calculation to insane times.

@houska, still want to see project file? Shouldn't be a problem. The project is still live but I can make a stripped down/simplified file and send it over if you are still interested.

Cheers

Hi and sorry for the delay.

I am glad the problem is solved. What were the parameters that helped you fix it? Was the screen size something unnaturally large when you were having trouble with the displacement?