Parametric smooth curves and surfaces in computer graphics. Bezier curves and surfaces have control points that are used to control their shape. They are frequently used in software for automotive and industrial design.
2
votes
1answer
132 views
What is the simplest way to export a bezier curve created in Blender to a text file?
I have created a bezier curve in Blender.
I'd like to export this curve to a text file. What I need is :
Control point + handles, three points in total.
Example :
{{ 2.3333,4.3942, 55.333 }, { ...
1
vote
2answers
210 views
How to make a gui button follow a path after a touch?
I would like a button in my gui menu to follow a specific path if we selected it, I am wondering how I could do it: if we touch the button, then it can only move on the specific path, it is an arc ...
2
votes
2answers
304 views
Bezier curve not drawn correctly
I'm trying to draw a bezier curve using 3 points. If I use the quadratic form:
I get this result:
And I believe it's correct.
Now since I need to draw it with a variable number of points, ...
3
votes
1answer
156 views
How do I render a filled and stroked path using OpenGL?
I want to render a 2-dimensional geometric path consisting of Bézier curves and straight lines. Paths can be concave.
What is the most efficient way to draw this using modern OpenGL? Can I do this ...
3
votes
2answers
286 views
How to remove bezier handle in 3dsmax?
While editing spline, I need to make one of the vertexes to be an absolute corner. I.e. bezier control points should be in zero distance from the vertex.
How to do that?
5
votes
1answer
490 views
How to implement curved movement while tracking the appropriate angle?
I'm currently coding a 2D top-down car game which will be turn-based. And since it's turn-based, the cars won't be controlled directly (i.e. with a simple velocity vector that adjusts its angle when ...
6
votes
3answers
1k views
Collision detection with curves
I'm working on a 2D game in which I would like to do collision detection between a moving circle and some kind of static curves (maybe Bezier curves).
Currently my game features only straight lines ...
1
vote
0answers
248 views
Bezier curve sample code on touches moved
i am searching for any sample code to draw bezier curve by using touches, if any one have links or sample code please help me. i am developing the game like flight control in that i have to move my ...
2
votes
3answers
297 views
Tessellating to a curve?
I'm creating a game engine, and I'm trying to define a 3D model format I want to use. I haven't come across a format that quite does what I want.
My game engine assumes a shader model 5+ environment. ...
2
votes
2answers
578 views
Implementing a sine using a bezier curve
I'm developing a 2D game using Cocos2d-x.
Is possible to use CCBezierTo to parameterize a sine function?
2
votes
0answers
489 views
Linear movement over a Bézier curve
Is it possible to get a constant speed movement over a Bézier curve when its points are not kept symmetrical ?
Here white square (almost) moves at constant speed.
(red and green squares are control ...
1
vote
1answer
229 views
How to generate closed curve?
How can I do that? I can generate simple beziers, but how can I generate a closed curve like this:
http://www.youtube.com/watch?feature=endscreen&NR=1&v=hlDYJNEiYvU
2
votes
2answers
282 views
Bezier Curves for visual programming node connectors
Probably everyone is familiar with all kinds of visual node based programming tools like HLSL editor in Visual Studio 2011 or UDK engine Kismet/Material editors. My point of interest are the ...
6
votes
2answers
165 views
How do you calculate if a line is facing a curve?
Given the 2 points describing a line segment, and the 3 points describing a quadratic bezier curve, how do you calculate if the line is facing towards or away from the curve?
The line has a fixed ...
13
votes
3answers
318 views
How do you calculate the nearest point on 2 curves?
Given the points of a line and a quadratic bezier curve, how do you calculate their nearest point? .... Similarly, given the points of 2 curves, how do you get the nearest point?
8
votes
2answers
284 views
How do you calculate if 2 lines are facing toward or away?
Given the 4 points describing 2 line segments, how do you calculate if line A is towards or away from line B?
The 2 lines have a fixed length, and can be measured as distance from x1/y1 to x2/y2.
