Jump to content
Sign in to follow this  
sibarrick

Bounding Prim

Recommended Posts

I was poking around with some stuff the other day and came across a nice way to calculate the local axis of a cloud of points.

Problem is I can't think why it would be useful. :(

Still that never stopped me before :P so I coded it up into a way of creating bounding boxes for off axis objects. I think it has limited applications but it's of acedemic interest and you never know it might be good for something I can't predict, so here it is....

boundingprim.zip

For those of you who are interested it uses eigenvectors to calculate the best axis for a cloud of points. Eigenvectors are a big topic, and I have to admit I don't fully grasp them myself, so for a full explaination of them I suggest "Google". Or maybe another enlighten soul on this list can explain them...... :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×