Author Topic: Artifacts when rendering Displacement  (Read 4282 times)

2015-11-06, 21:25:09

kirmoos

  • Active Users
  • **
  • Posts: 5
    • View Profile
Artefacts appear in the form of steps using the corona-bitmap in the displacement slot in the material editor. How to fix it?

Corona 1.3 version


2015-11-06, 21:56:14
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8826
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Have you disabled filtering in CoronaBitmap?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-06, 22:04:39
Reply #2

kirmoos

  • Active Users
  • **
  • Posts: 5
    • View Profile
Quote
Have you disabled filtering in CoronaBitmap?
I tried filtering blur from 1 to 100, the result is the same. Interpolation - bicubic.

2015-11-06, 22:48:00
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8826
  • Let's move this topic, shall we?
    • View Profile
    • My Models
What is file format and bit depth of your displacement map? Can you add turbosmooth and displace modifiers on top of that object and plug displacement map via Bitmap and CoronaBitmap to see if difference remains in viewport too?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-07, 11:18:34
Reply #4

kirmoos

  • Active Users
  • **
  • Posts: 5
    • View Profile
What is file format and bit depth of your displacement map? Can you add turbosmooth and displace modifiers on top of that object and plug displacement map via Bitmap and CoronaBitmap to see if difference remains in viewport too?

The format of the image .tiff (16 bit)

With applying the modifier Turbosmooth and CoronaDisplacemntMod nothing changes.

2015-11-07, 11:25:11
Reply #5

hubrobin

  • Active Users
  • **
  • Posts: 61
  • Light transport ninja
    • View Profile
Hey kirmoos,

can I have the scene or at least the bitmap? I will have a look at it and see what's going on.

Thanks,
Robin

2015-11-07, 19:20:28
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8826
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Robin, i was able to replicate that. Preparing sample scene now, will upload it on mantis.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-07, 20:55:59
Reply #7

kirmoos

  • Active Users
  • **
  • Posts: 5
    • View Profile
can I have the scene or at least the bitmap? I will have a look at it and see what's going on.

Here, I made the scene (ignore the missing textures). I tried to transfer this same piece in a new scene and render the artifacts disappeared. But after a while, the artifacts reappeared. In addition, the Displacement texture is not displayed correctly when changing its mode in the interactive render.

2015-11-10, 15:48:38
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12739
  • Marcin
    • View Profile
I think this is caused by the texture. As mentioned before, it is too shallow. You can even see the banding with your eye on the monitor. I don't know how you made the texture, but you could try generating it again with more depth (higher range between white and black).
« Last Edit: 2015-11-10, 16:19:59 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-11-10, 16:01:50
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8826
  • Let's move this topic, shall we?
    • View Profile
    • My Models
8 bit textures renders fine. 16 bit textures shows these steps and only with CoronaBitmap, so it's unlikely that this is problem with texture quality.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-10, 16:20:06
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12739
  • Marcin
    • View Profile
oh... ok.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us