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.

learn more… | top users | synonyms

5
votes
2answers
248 views

How can I find the right UV coordinates for interpolating a bezier curve?

I'll let this picture do the talking. I'm trying to create a mesh from a bezier curve and then add a texture to it. The problem here is that the interpolation points along the curve do not increase ...
3
votes
2answers
864 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?
8
votes
3answers
3k 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 ...
0
votes
0answers
53 views

What's the equivalent of UIBezierPath in Cocos2d-x?

I'm beginner in Cocos2d-x , and i want to implement this tutorial with Cocos2d-x v.3 cpp, but the problem i dont know if there's UIBezierPath in cocos2d-x. Could you help me to draw the Bezier Arrow ...
0
votes
0answers
75 views

Bézier curve for smooth sketch on monogame

I am a MonoGame developer,and I would like to draw a curve on the phone screen but, the curve isn't regular rather jerky and composed by several lines. I used some codes like this: The LoadConent ...
4
votes
1answer
120 views

Cubic bezier for easing?

I would like to find out what Y is if X is a certain number from a cubic bezier curve to make a custom easing function, like it's done on this site: http://cubic-bezier.com/ Does anyone know a formula ...
0
votes
0answers
75 views

Precalculating timespan of bullet collision on cubic bezier curve circles?

I'm fairly new to game logics, C#/XNA (The language/library of choice) and bezier curves in general, and is stuck in my current project. I'm going to try to explain as thoroughly as I can what the ...
14
votes
2answers
2k views

Bezier curve arc length

How can I find the distance traveled by a Bezier curve? For example, the distance traveled by a Linear Bezier Curve is: distance = sqrt(pow(x[1] - x[0], 2) + pow(y[1] - y[0], 2)); But what about ...
0
votes
0answers
93 views

How to fix problem in serpentine case using Blinn/Loop algorithm

I'm trying to implement Blinn/Loop algorithm to render cubic bezier on shader. I calculate the curve type using code below (v0, v1, v2, v3 are cubic bezier segment): CurveType ...
3
votes
3answers
639 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 }, { ...
0
votes
1answer
253 views

Rotating object along bezier curve: not rotating enough?

I tried to follow the instructions from the threads on the forum (Cocos2d rotating sprite while moving with CCBezierBy) with Unity, in order to rotate my object as it moves along a bezier curve. But ...
1
vote
2answers
883 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
656 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
430 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 ...
2
votes
3answers
382 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. ...
5
votes
1answer
1k 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 ...
2
votes
2answers
1k 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?
1
vote
1answer
379 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
0answers
669 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 ...
3
votes
2answers
371 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
193 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 ...
14
votes
3answers
484 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?
9
votes
2answers
305 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.