ShapeBoolean accuracy issue

ShapeBoolean accuracy issue

wimmer_simon
Participant Participant
302 Views
5 Replies
Message 1 of 6

ShapeBoolean accuracy issue

wimmer_simon
Participant
Participant

When creating a ShapeBoolean, the result is not as accurate as it should be.

When zooming in there is a little difference between the original shape and the result in the boolean.

 

Create two lowpoly shapes.

Use the first to create a ShapeBoolean.

Create an instance of the second shape.

Subtract the second shape inside the boolean.

Zoom in end check the result of the instanced shape and the result in the boolean. They will be slightly different.

0 Likes
303 Views
5 Replies
Replies (5)
Message 2 of 6

MartinBeh
Advisor
Advisor

It would help if you could upload a .max file with some test shapes?

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 3 of 6

wimmer_simon
Participant
Participant

Attached is a max file.

The red shape is the result of the ShapeBoolean. The yellow shape is an instance of the subtracted object.

When you zoom in, you will see a slighty difference between the red and yellow lines.

0 Likes
Message 4 of 6

MartinBeh
Advisor
Advisor

Thanks for the scene file - I can reproduce what you describe.

There seems to be some (small) differences in how the shapes are calculated by "native" 3ds Max and by the ShapeBoolean code... For the triangular case on the left, I measure a gap of 0.004 units between the ShapeBoolean result and the original subtraction shape. This is small but not nothing.

 

There also is some noticeable difference in the resulting shape and the operands if you check the box at Display > Operands in the ShapeBoolean.

Not sure what is going on.

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 5 of 6

MartinBeh
Advisor
Advisor

FYI, I submitted a bug report for this - but no idea when/if this will be fixed...

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 6 of 6

wimmer_simon
Participant
Participant

thanks.

0 Likes