chrisdevito / OBB

Oriented Bounding Boxes in Maya.
ISC License
51 stars 18 forks source link

OBB issue Maya 2022.3 #2

Open joaocc89 opened 2 years ago

joaocc89 commented 2 years ago

Hi Chris Devito.

Thank you for this plugin, it's been working fine for me and very useful. But I am having an issue with it. Please check this unlisted video on youtube for more details:

https://youtu.be/FfW5QZyalDI

Basically it's not following the shape correctly, even in a simple cube. I haven't changed anything in the installation/plugin.

Thank you.

chrisdevito commented 2 years ago

Hey @joaocc89,

I'll check this out and get back to you soon. Thanks for reporting this!

chrisdevito commented 2 years ago

So I checked out the your video and tested something similar which gave me some of the same issues. It was not specific to 2022.3 though for me, it seems like this algorithm has an issue with evenly spaced points like that cube. If you scale the cube in y just a little it'll be more accurate. I'll have to delve a little back into the code to see why this issue would occur. Can't really comment on specific fix timeframe, but will let you know any updates.

joaocc89 commented 2 years ago

Hi Chris, thanks for the update. I could have send you some test geo. :) Anyways, no rush, I ended up using a mel script to do the same, but I prefer your plugin because you don't have to select "helper" faces to orient the lattice.

Thank you.