1
$\begingroup$

[EDIT] Someone told me a fix using masks and collection mask. I'll answer with the fix asap

I have a grease pencil object with a line art modifier that modifies a collection called "40":

enter image description here

The problem is that the modifier affects some objects placed OUTSIDE the "40" collection. In this screen capture I marked the black lines that should not appear:

enter image description here

Here it is the file for review

Is this a bug or something I'm doing wrong? Thank you.

$\endgroup$
1
  • $\begingroup$ It's the intersections from the other meshes apparently the line art modifier also considers the intersections from meshes that are outside the selected collection which is weird. If you uncheck The Intersection checkbox under the modifier, they'll go but you will also loose the intersections for your collection. $\endgroup$ Commented Mar 2, 2022 at 10:21

1 Answer 1

3
$\begingroup$

As I told you in the comment, You can uncheck Intersection but you will loose the intersections from the selected collection too (you can try it to see what I am talking about) so it may not be an option.

While playing around with your file tho, I managed to find a somewhat decent result :

enter image description here

As you can see the unwanted lines are gone and you still have the intersections in your collection.

You need to leave Intersection checkbox checked for the following to work.

In the modifier, you have a section called Intersection :

enter image description here

The little box that you see there allows you to mask the collections from the modifier. I don't really know how those work but if you tick the first box (or any of the others), the unwanted lines disappear :

enter image description here

enter image description here

But you'll also loose the intersections that you want to appear.

To bring them back, there is a section called Chaining :

enter image description here

If you tick the first checkbox : enter image description here, you'll bring back the intersections while keeping the unwanted ones away :

enter image description here

As a disclaimer, I have to admit you that, I don't completely understand how/why it works, I just played around with the settings and kind of stumbled on this by accident so this may not work with other scenes but it seems to work well with this one.

I am not sure, either, if this behavior is a bug or if it is really what is expected to be like. Anyway I hope I helped you.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .