Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Dippndots on 2017-05-31, 12:58:36

Title: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-05-31, 12:58:36
These 2 don't work together right? You can't use a CoronaDistance in the map slot?
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: cecofuli on 2017-05-31, 14:02:57
It works well, also in real time, directly in view-port.

(http://www.francescolegrenzi.com/Temp/Corona/0171_CDistance_Displace.jpg)
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-05-31, 14:53:09
you're right, there must be something wrong with my geometry...
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-05-31, 15:21:35
Ceco, does your displacement do weird things when you move all the objects around (like not match the distance object position)? When I move both objects, the geometry being displaced suddenly doesn't match where the "displacing" object is...

EDIT: My displacement only works if both objects are at 0,0,0 As soon as they move, they have some sort of disconnect tied to world position where the displacement screws up.
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Ondra on 2017-06-01, 11:12:23
yes, it only works with the displaced object being at scene origin. this is due to the displace modifier being an object space modifier, and the map being a world space effect. To work properly you would have to apply a world space displace modifier (dunno if there is one in 3dsmax)
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-06-01, 11:37:13
Ok, thanks for the explanation Ondra. Is there any possibility of a solution to this in the future?
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Ondra on 2017-06-01, 14:52:14
I dont know, is there some WSM displace plugin?
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-06-01, 15:16:35
I don't know of any 3rd party plugins :( The 3ds Max Displace (WSM) just shows the material displacement map in the viewport, and doesn't seem to recognize corona displacement maps. If it were able to recognize them, it could be a solution. You could pipe the distance map into the material displacement, and take a snapshot of the mesh in the viewport and then remove the displacement from the material. Not the most elegant solution, but I think it would work?
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Ondra on 2017-06-01, 21:07:08
AFAIK the biggest problem is that the same context used for that displacement is also used in various other places, such as material editor, ... We will get it another shot, but I cannot promise anything
Title: Re: Corona Distance Map + Max Displacement Modifier
Post by: Dippndots on 2017-06-01, 22:46:44
Ok, thanks, appreciate the effort! Good luck!