Author Topic: Problem with clean displacement  (Read 11291 times)

2014-11-20, 15:16:22

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Hi

I've tried an exercise with some displacement map and it seems that I have some problems with the renders.
I looked at a solution here but with 4 pages about displacement and some solved problems I didn't find mine.

I try to make some clean edges displacement but here is the result I always have.
The map is a clean grayscale TIFF, saved in 32bits format (tried in 8bits, the same result).
I've lowered the level of the map's blur to 0,01, and filtering to none (same results with blur to 1.0 and filtering to default)
Do you have any solution ?

Thanks a lot
Roland
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-20, 15:20:00
Reply #1

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Sorry for the error of category... it's not -for the moment- a solved bug.
i forgot to tell that I tried with a tesselate (4 iterations) modifier : it's a little better but the not perfect yet...
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-20, 15:31:54
Reply #2

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
Hi Roland,

why don't you model this? It does not look that complicated.
I do not think you will get cleaner results. But I am not that kind of PRO displacement guy.
Or am I missing something?




2014-11-20, 15:48:03
Reply #3

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
hi Belly
Yes i can model it of course, but it was a question we ask on a Vray forum, and I wanted to make the same result as this (with VRay therefore) with Corona.
Need to have clean edges but also sheet metal like above on the image... and no, you didn't missed something ;)
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-20, 17:17:15
Reply #4

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Thanks to Romullus and sorry for the wrong category...
Any answer about my question ?
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-20, 17:52:06
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12752
  • Marcin
    • View Profile
If you want your final effect to look like this https://forum.corona-renderer.com/index.php?action=dlattach;topic=5967.0;attach=24227;image then you should use a different map for displacement. The one you are using in your pictures from Corona has no transition between black and white so the edges are rough . Your Vray rendering (the one I linked above) has displacement with less steep edges. It would require additional blurring. You can achieve this procedurally by using gradient ramp map. Maybe Vray uses filtering/blurring for displacement maps automatically? Or am I missing something?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-11-20, 18:48:51
Reply #6

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
When I saw your image in post #3 I was thinking the same as Maru.
I am nothing missing anymore ;-)

2014-11-20, 22:23:34
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
When there's extremely sharp transition between different height values, micropolygon displacement will struggle in most renderers. In such situation displace modifier can be vastly superior. Look for yourself:


I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-11-20, 22:50:38
Reply #8

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Waooooo !!! Amazing result Romullus ! And as I look you did the video specially for the topic ! Thanks a lot ! I'm really happy with this amazing solution ! Thanks again, I will post my result tomorrow.
Roland
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-20, 23:53:44
Reply #9

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be

2014-11-21, 10:13:36
Reply #10

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Glad that you find it useful, though it's not tutorial at all - for me it's much easier to show something in video than trying to explain in english :]
One thing that i like about displace modifier, that unlike micropolygon displacement, it obeys texmap filtering settings, which can be very handy sometimes.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-11-21, 10:19:39
Reply #11

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
MTD can work well actually. It's just that Corona's implementation is not that good yet. Vray tessellates the geometry according to the bitmap, and then displaces it. While corona first tessellates randomly, and then displaces that random web.

2014-11-21, 10:27:17
Reply #12

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Your explanation in all cases Romullus was super helpful because cutting a plane in countless faces is not a solution (4 million in your example, and an imperfect result is not viable).
This is in any case a first test, very clean and conclusive!
thank you again
Roland
Portfolio on Béhance
http://www.behance.net/GCStudio

2014-11-21, 10:33:00
Reply #13

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Actually it was more like 40 millions :]
MTD can work well actually. It's just that Corona's implementation is not that good yet. Vray tessellates the geometry according to the bitmap, and then displaces it. While corona first tessellates randomly, and then displaces that random web.
I don't have vray, so i can't compare, but mental ray isn't much better with displacement. OTOH i've seen pretty spectacular displacement in C4D in combination with SVG maps.

And of course, it'd be very nice to see improvement in Corona's displacement in future.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-11-21, 10:47:22
Reply #14

RolandB

  • Active Users
  • **
  • Posts: 335
  • Corona fan
    • View Profile
    • Béhance portfolio
Yes I was wrong... but 4 or 40 millions is too much for a simple plane !
Portfolio on Béhance
http://www.behance.net/GCStudio