Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: gpz on 2017-07-24, 11:45:38

Title: [solved] Probem displacement water level
Post by: gpz on 2017-07-24, 11:45:38
Hi ,
it's seems that i have a problem with displacement map and water level.
I used a gradient radial map to make a perforated mesh metal. But as you can see something is going wrong and what i get it's not a perfered geoemtry effect.
I need help, if you can hel me.
Thanks a lot

Title: Re: Probem displacement water level
Post by: romullus on 2017-07-24, 12:31:01
Gradient ramp needs proper UV mapping. Does your object has it?
Title: Re: Probem displacement water level
Post by: gpz on 2017-07-24, 13:04:53
Yes, it's uv mapped.
Nothing seems to change
Title: Re: Probem displacement water level
Post by: Bzuco on 2017-07-24, 13:44:40
If you want something like this http://imetco.com/wp-content/uploads/2015/01/imetco-corrugated-perforated-2.jpg , just put that gradient map in opacity map slot. Displacement has nothing to do with it.
Title: Re: Probem displacement water level
Post by: romullus on 2017-07-24, 13:57:13
It should be possible to do that with displacement too, but you have to set it to world size instead of screen size and set it to very small size. Do that only if you have plenty of available RAM, because you will need it :]
Title: Re: Probem displacement water level
Post by: romullus on 2017-07-24, 14:12:59
On the other hand it works with default settings just well. Can you show your gradient ramp and displacement settings?
Title: Re: Probem displacement water level
Post by: gpz on 2017-07-24, 14:38:45
Thanks Guys,
seems i have solved.
The problem was wrong settings on the displacement setup in( world size). It was in screen mode.
 
Title: Re: Probem displacement water level
Post by: maru on 2017-07-28, 11:59:14
I did not manage to reproduce this either, but I think we can safely mark this as solved and wait for other reports in case it happens again.
Title: Re: [solved] Probem displacement water level
Post by: DPS on 2018-04-16, 01:09:28
I'm trying to do exactly the same thing - one hour later and can't figure it out.

I have correctly mapped my gradient map onto a plane, I can get the displacement to work but can't figure out how the water level works. Is there a help file somewhere?

My displacement map is black with white where the holes should be.

I set the displacement to -5mm. What should I set my water level to? so that the cutoff begins at 2.5mm?

Currently the cutout is removing the screen as oppose the the last part of the displacement i.e. I'm left with a load of circles. If I invert the displacement map it works but The screen should be where I place it and the holes should be the part that displaces.
Title: Re: [solved] Probem displacement water level
Post by: romullus on 2018-04-16, 11:18:45
Is this what you're trying to do?
Title: Re: [solved] Probem displacement water level
Post by: DPS on 2018-04-17, 02:34:26
I see - so you've made it displace the black area instead of the white.

thanks
Title: Re: [solved] Probem displacement water level
Post by: romullus on 2018-04-17, 11:27:28
Yep, it doesn't matter what color is being displaced as long as it does what you need, right? ;]
I think that water level has some issues in its implementation, that makes work with it slightly less intuitive than it could be. I have reported that on mantis, so maybe that will be changed sometime in the future.
Title: Re: [solved] Probem displacement water level
Post by: maru on 2018-04-17, 11:34:29
@romullus can you post mantis link here?
Title: Re: [solved] Probem displacement water level
Post by: romullus on 2018-04-17, 11:39:57
Sure maru, here it is: https://corona-renderer.com/bugs/view.php?id=2914
Title: Re: [solved] Probem displacement water level
Post by: maru on 2018-04-17, 19:56:46
Thanks!
Title: Re: [solved] Probem displacement water level
Post by: DPS on 2018-04-18, 13:27:31
Yep, it doesn't matter what color is being displaced as long as it does what you need, right? ;]

sure - at the time I could only figure out how to displace/move the part that was meant to be attached to something else.