Author Topic: Displacement incorrect  (Read 989 times)

2024-01-05, 18:50:00

PBSeb

  • Active Users
  • **
  • Posts: 5
    • View Profile
Hi all,

I'm coming here as I've tried several things over the course of the day including using Booleans / modeling this in. Trying a decal. Only using bump which looks naff.

Literally, all I'm trying to do is deboss this bird logo into the cylinder

Any takers as to what I'm doing wrong?

Thanks in advance

2024-01-05, 19:02:38
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi,

Try to set min level to 0 and max level to - 0.3 or whatever depth that you need.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-01-05, 19:06:23
Reply #2

PBSeb

  • Active Users
  • **
  • Posts: 5
    • View Profile
Exact same result. This is one of those times where something that should take 2 mins takes all day :') hahaha

2024-01-05, 19:21:28
Reply #3

John_Do

  • Active Users
  • **
  • Posts: 127
    • View Profile
Invert the image colors and also invert the min displacement level ( minus 0.3 ).

2024-01-05, 19:28:28
Reply #4

PBSeb

  • Active Users
  • **
  • Posts: 5
    • View Profile
Same exact outcome, just inverting an invert

2024-01-05, 21:23:03
Reply #5

davetwo

  • Active Users
  • **
  • Posts: 300
    • View Profile
linear displacement normally requires a + and - value where 50% grey = 0%.

So in your case 0% displacement is grey (use a soild colour layer) and the dove bitmap is -X (use the image on top multiplied) with and equivalent +X value 

2024-01-05, 21:31:35
Reply #6

davetwo

  • Active Users
  • **
  • Posts: 300
    • View Profile
This

2024-01-06, 10:47:54
Reply #7

John_Do

  • Active Users
  • **
  • Posts: 127
    • View Profile
Same exact outcome, just inverting an invert

Nope, you must be doing something incorrectly since it works on my side.

@davetwo is right, the correct workflow is to use a different map than for the bump and use a 50% gray color where the geometry should not move. But Corona allow you to set min/max level ( some render engine only have one value = the total height of the displacement ) and you can take advantage of this. So -3/0 with a black and white map or -3/+3 with a gray map is really just the same thing.

« Last Edit: 2024-01-06, 18:59:04 by John_Do »