Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: sk-films on 2017-02-09, 20:14:13

Title: Distance Texmap - Color Inside leak
Post by: sk-films on 2017-02-09, 20:14:13
Found this problem:

Distance Textmap leaks color when used with cubes (or other shapes that have 90 degree tops) as shown on first image.
The problem easy solvable by applying "Chamfer" to "Distance from object" (as shown on 2nd image). However this leads to thousands of extra polygons on complex geometry.

Would be great if that could be solved.
Title: Re: Distance Texmap - Color Inside leak
Post by: Alexandre Besson on 2017-02-10, 12:05:39
+1
Title: Re: Distance Texmap - Color Inside leak
Post by: pokoy on 2017-02-10, 12:22:57
Funny, I just had the problem and came up with the same solution.
+1 from me, would be good to not have to care about the geometry.
Title: Re: Distance Texmap - Color Inside leak
Post by: Ondra on 2017-02-27, 21:43:01
fixed
Title: Re: Distance Texmap - Color Inside leak
Post by: sk-films on 2017-03-03, 18:35:40
Thanks a lot!!!
Will it be in next version? (Please mention which one?)
Title: Re: Distance Texmap - Color Inside leak
Post by: Ondra on 2017-03-04, 13:26:56
it is already out in latest daily build
Title: Re: Distance Texmap - Color Inside leak
Post by: sk-films on 2017-05-18, 18:17:01
No it's not. This is version 1.6 (Still using Chamfer workaround)

Also is it possible to fix intersection (overlap) problem. As shown on second screenshot?
Basically selecting 2 meshes that overlap will exclude the mask.
Title: Re: Distance Texmap - Color Inside leak
Post by: pokoy on 2017-05-18, 18:23:15
Can confirm here, it's still very finicky. It's hard to say when a mesh will work fine but so far I always had to use Chamfer modifier on all meshes even if they were simple or nicely modeled.
Title: Re: Distance Texmap - Color Inside leak
Post by: Skap on 2018-01-10, 13:24:14
Hi, i must say that this problem with distance texture is still present in 1.7.2 build
When we are using color inside checkbox we sometimes get some very strange artifacts on that texture.
We think that cause of this artifacts is sharp angles of geometry like in screenshot with Line1.
Box2 shown in screenshot is not so critical in our case but strange.
Title: Re: Distance Texmap - Color Inside leak
Post by: pokoy on 2018-01-10, 16:47:59
Last time I asked for fixes and improvements the answer was that it may not be possible to fix these problems. I'm also seeing issues regularly and sometimes it takes a lot of tweaking until you have a clean result, then when you transform the objects the issues come back... it's frustrating and I hope it would be possible to fix.

For the time being, using a chamfer modifier can help, but you may have to tweak the chamfer amount to get clean(er) results.
Title: Re: Distance Texmap - Color Inside leak
Post by: Aaron Quinn on 2019-10-10, 15:04:39
Just checking in, I have been following this issue for quite a while now.

Wanted to notify that this problem is still apparent in Corona 4.
Title: Re: Distance Texmap - Color Inside leak
Post by: rowmanns on 2019-10-10, 17:09:26
Hi,

Are you using the fast or precise mode in the distance map?

Secondly, as this topic is in resolved bugs I'd recommend creating a new topic for this in bug reporting if the issue is still present with precise mode.

Before creating any bug reports please read the info in my signiture.

Thanks,

Rowan
Title: Re: Distance Texmap - Color Inside leak
Post by: Aaron Quinn on 2019-10-11, 10:05:04
Hi,

Yes I am currently using precise mode. It does improve from fast mode, but it still does create an overlapping gap where the inside material is not applied.

I have chamfer applied as well, but with precise mode, this no longer seems to effect.

I will submit a new bug report.
Title: Re: Distance Texmap - Color Inside leak
Post by: rowmanns on 2019-10-11, 10:27:43
Hi,

Thank you for the information. Can you please send us your scene? Instructions on how to do this are in my signiture.

Thanks,

Rowan