Advertisement Jump to content
Sign in to follow this  
osso

Finding the surface normal of an ellipsoid?

This topic is 3963 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I am trying to find the surface normal of an ellipsoid, given a single xyz point on a surface. I am struggling to work out how to find the tangent of an ellipsoid. I couldnt find anything obvious on google, but I may have found a clue, and that is to somehow use a cone to calculate the tangent? If I could work out how to find the tangent of the surface should easily be able to work out the normal vector on my own. Are there any equations I should be aware of for calculating the tangent? Regards James

Share this post


Link to post
Share on other sites
Advertisement
I have just had a thought, perhaps I need to take point p, and find the opposite point to work out where the clone intersects the two points? then where the two points meet, will provide me with a vector tangent to the original point?



Share this post


Link to post
Share on other sites
I am googled out but I think i got there in the end!

n = 2x/a^2 + 2y/b^2 + 2z/c^2

can i do the following to normalize the point

n = x/a^2 + y/b^2 + z/c^2

then normalise n by its length?




Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!