python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to find bezier coefficients without matrices?
The function get_cubic needs 4 points and i need to find b and c by calculation (a and d is given).
Here is my code and i need help specifically with get_bezier_coef
def get_bezier_coef(points):
#...
Shalev Levi Sagzan
Votes: 0
Answers: 0
Rendering Lines with Bezier Curves in DX11
I want to input control points through the tessellation stages and output them as bent lines.
I expand the lines into billboarded quads in the geometry shader.
Right now I input a bunch of random vert...
Emil Johansson
Votes: 0
Answers: 1
How to make the image distort with the control points of the curve?
This image consists of eight curves, and I obtained their control points and angles
by calculating:
var PI2=Math.PI*2;
var s={x:dis[i][0],y:dis[i][1]};
var c1={x:dis[i][2],y:dis[i][3]};
var c2={x:dis...
staccoverflow
Votes: 0
Answers: 0
Bezier curve... adding normals (in 3D)
I have a bezier curve class. Each point on the curve is defined thus:
struct bpoint
{
vector3D position;
vector3D controlpoint_in;
vector3d controlpoint_out;
};
To retrieve a point on th...

KiraHoneybee
Votes: 0
Answers: 1