SpiderPig Posted December 21, 2018 Share Posted December 21, 2018 Does any one know how to get a normal that will tell the general direction all the vertices of an object lay in? Like an average position, but as a normal... any one got any ideas? Quote Link to comment Share on other sites More sharing options...
Josh Posted December 21, 2018 Share Posted December 21, 2018 Take a 360 degree (in 3D space) sample of all vertex deviances from the average 2D position, transformed to that vector / angle, and try to find the angle with the smallest deviance? 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Solution Ma-Shell Posted December 22, 2018 Solution Share Posted December 22, 2018 The problem you are trying to solve is called "Principal Component Analysis (PCA)". The process involves quite a lot of math, computing Eigenvalues, etc. I'm not entirely familiar with how it works either but just throwing this term at you, so you can use the name for further research 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted December 22, 2018 Share Posted December 22, 2018 Wow, we got a smart person here. 1 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted December 22, 2018 Author Share Posted December 22, 2018 That's it thanks guys! Time to math. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.