View Full Version : Drawing an Arc in 3D

05-07-2012, 08:43 AM
Hey Guys,

im trying to draw an arc in an 3D space. So i have two points p1 and p2 (start and endpoint of the arc) and the angle between these two points. Now i want to draw an arc between these two points but i dont know how to do that :(

*EDIT*: Of course i have centerpoint too!

I know that i can calculate x and y by using cos und sin functions but i dont know how to calculate the z coordinate :(

Can anybody help me ?

greetings raven22k

05-07-2012, 02:47 PM
Why don't you go for something like http://en.wikipedia.org/wiki/B%C3%A9zier_curve ? Or generally splines?