bezier
How to calculate the normal of points on a 3D cubic Bézier curve given normals for its start and end points?
I\'m trying to render a \"3D ribbon\" using a single 3D cubic Bézier curve to describe it (the width of the ribbon is some constant).The first and last control points have a normal vector associated[详细]
2023-02-01 01:31 分类:问答Bezier path stroking performance issues
My code goes as following - [[NSColor whiteColor] set]; // `path\' is a bezier path with more than 1000 points in it[详细]
2023-01-30 14:50 分类:问答What are my options for interpolation of such data
Having dramatically different step sizes, and not 开发者_开发百科much data. We have data like >--4-6----3-9----4-7----9-3----4-1----> ( - is step here ) and in real life this data is looped in a[详细]
2023-01-30 09:03 分类:问答How to create a smooth path for characters to follow in 2D game
I am creating an iPhone / Android tower-defense type game were the enemy units must follow a predetermined path, which will be the same for the iPhone and Android versions. I had initially t开发者_开发[详细]
2023-01-30 00:56 分类:问答Find the height of a bezier curve in canvas
I am trying to create a simple rounded top to a rectangle.I was able to use the bezierCurveTo method to create the cap, but I had to play around with the control point\'s y values to get the correct h[详细]
2023-01-29 04:03 分类:问答Best way to draw a cube with smooth edges? Bezier Curve, load a .3ds or other?
I need to make a cube with smooth corners and smooth edges in C++ with OpenGL. For all I know I have three options: Bezier curves (maybe, is it possible?), a cube with cylinders for edges and sphere开[详细]
2023-01-26 23:34 分类:问答How to calculate control points for cubic curve, which approximates an elliptic arc?
Almost all vector graphics applications (like Corel) approximate elliptic arcs with several cubic Bezier curves. I need to add similar functionality to my application. So my question is: h开发者_开发百[详细]
2023-01-26 19:28 分类:问答Find the tangent of a point on a cubic bezier curve
For a cubic Bézier curve, with the usual four points a, b, c and d, for a gi开发者_开发问答ven value t,[详细]
2023-01-23 03:09 分类:问答How can I get this program to draw the bezier curve properly after being resized?
this code draws bezier curves properly when the window is used on its original size (640 x 480) but renders the control points incorrectly when its resized.[详细]
2023-01-23 03:00 分类:问答Checking if two cubic Bézier curves intersect
For a personal project, I\'d need to find out if two cubic Bézier curves intersect. I don\'t need to know where: I just need to know if they do. However, I\'d need to do it fast.[详细]
2023-01-22 21:46 分类:问答