Monday 11 May 2009

Surface Turtle

This is an implementation of a turtle walking around on a NURBS surface. If the turtle is going straight in small steps, the resulting path is close to a geodesic.

In general relativity, the straight path in curved spacetime is a geodesic


Matsch said...

Hi Lorenz,

first I want to say thanks for posting this definition, it's a very useful alternative to the shortest path command for finding geodesics. I'm just trying to understand exactly how it works by updating it to the new component, which seems to work and I'm also trying to get it to work for meshes. Anyway, my question is regarding this section of code:

"tmp.PerpendicularTo(pos, pos + axis, pos + dir)
dir.PerpendicularTo(pos, pos + tmp, pos + axis)

To me it looks like this is setting tmp to the cross product of axis and dir and then setting dir to the cross product of tmp and axis. Shouldn't this just give you dir back again? It seems like it should but that can't be the case because it would make this section of code redundant, but when you comment it out it does have an effect on the resulting geodesic...

I'm confused, perhaps you could shed some light on how it works. Thanks again for posting your work, it has been so very helpful!

Lorenz Lachauer said...

Hi Matsch, I can send you an explaining sketch, if you send me your email adress. Best, Lorenz.

Susan said...
This comment has been removed by the author.
Susan said...

This is actually the kind of information I have been trying to find. Thank you for writing this information. Enjoy the power to create and control people in a virtual world where there are no rules with The Sims 4 – On Xbox One, PS4 and PC sims 4 news.

Nouman Shakeel said...

Amazing blog. Check

abtak news live
city 41 live
city 42 live

HighFitJobs said...

Thank you so much for sharing. Great step-by-step instructions!
Highfit Jobs

Government Jobs For Engineers
Mechanical Engineering Jobs

Indian Government Jobs said...

Hi there this is nice article you shared with great information. Thanks for giving such a wonderful informative information. we hope you will publish again such type of post. Also, please check out about
Eastern Railway Jobs
Eastern Railway Recruitment
Southern Railway Jobs

IT Job Stuff said...

Most innovative and largest online job portal in India. Founded in 2021, The popularity of the portal is evident from the fact that it has crossed candidate landmarks and has the latest job vacancies from leading IT and Non-IT companies on our website.
IT Job Stuff
Latest IT Job Alert
IT Job Alert

Delivery Partner said...

Thanks for writing such a nice content
Delivery Partner Jobs
Driving Partner Jobs
Delivery Jobs
Delivery Driver Jobs

Related Posts Plugin for WordPress, Blogger...