Jump to content
  • Advertisement
Sign in to follow this  

Offsetting a function by a sphere

This topic is 3820 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

I gave a function in 3d, that I need to offset a bit towards its normal. I need to define the function so I can control a homebrew CNC milling machine along it, to create a parabolic mirror. The cutting head is round. The function goal is a 3D parabola, but for starters I will solve the 2d version. (x - h)^2 = 4p(y - k) http://en.wikipedia.org/wiki/Parabola I first guessed that I could use the circle equation: (x-a)^2+(y-b)^2=r^2 I would then isolate y in the circle equation and insert it into the parabola function. And then find what possible values for X would be possible, leaving with a and b as my new function. But Im not sure this is correct. I guess I am missing the "along the normal" restriction somewhere. It started as a subquestion in another thread, but I guess its a new problem of its own. At the end I hope to end up with a function on the form f(x,y)=??? I hope you can give me some pointers, Thanx in advance. /TAX

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!