# Questions tagged [bezier-curve]

The tag has no usage guidance.

20 questions
76 views

### LoopBlinn Cubic Curve Rendering - Serpentine arteffect

I am trying to implement the Loop-Blinn cubic curve in java using the following source codes GPU-Curve-Rendering and WebCore. Both of them are showing few arteffects and i cannot figure out why. Here ...
66 views

### Wrong tangential directions for cubic bezier curve

I am well aware that there are several ways to find the tangents to a Bezier curve. However, I choose to just substitute the result of differentiating the Bezier curve equation. So, given four ...
404 views

### B spline curve generation in Python

I am using the de boors algorithm to generate B splines in python. However I am getting spikes in the final figure. I do not understand why this happens. I am posting my code here for reference <...
36 views

### Is “Bézier spline” just another name for “composite Bézier curve”?

I am reading a document about Bézier splines. A Bézier spline seems to be a combination of low-degree (typical 2, 3 or 4) Bézier curves. Reading the Wikipedia article about composite Bézier curves, it ...
245 views

### Simple Intersection Algorithm for Ray and 3D Bézier Curves of Varying Thickness

I'm trying to get an algorithm for intersecting a "tube" (a 3D cubic Bézier curve extruded by a possibly-changing radius) with the following required properties: Computes intersections of ray and a ...
169 views

### Does this 3D rendering method exist? How is it called? Is there any C++ algorithm for it?

I've been thinking about making my own 3D rendering engine in C++, but I don't know much about math that's required to do it. I'm not even sure if it's possible or if it even exists or how it's called....
94 views

### How does the Lane resienfield algorithm work?

I understand de castlejeau's algorithm and I am familiar although not fully experienced with B-Splines. I am trying to understand the geometric interpretation of B-splines through the algorithm (just ...
538 views

### Join two bezier curves so that the result is two-times continuously differentiable

I have a task to join two bezier curves, so that the resulting curve is two-times continuously differentiable. I have the cubic bezier Curve C with control points: c0 = (1,1) c1 = (3,4) c2 = (7,5) c3 =...
130 views

### First steps towards CAD standard curve fitting

I am interested in building a program to accomodate the following workflow: A user begins with an arbitrary vector/CAD shape, which they wish to transfer onto paper without using a printer (there are ...
78 views

### Scalar multiplication in vecmath on Matrix4f results in strange values

So I have a matrix: ...
588 views

### Bezier Curve Tool Controlled by Mouse

So I have recently learned about Bezier Curves (quadratic & cubic) and have a thorough knowledge of how they work. In my graphics engine in DirectX I wanted to implement a Bezier Curve Tool ...
133 views

### Checking the correct offset direction for Bezier curve offset

I am implementing Bezier curve offset. My approach is simple: Given the handles, calculate the vectors normal to them Move the handle along the normal vector. If the new curve intersects the old one,...
278 views

### Apply distortion to Bézier surface

I am trying to simulate the image warp effect, that is used in Adobe Photoshop. The rectangular image is warped according to a cubic Bézier surface (in 2D, all Z components are 0). Having any Bézier ...
1k views

### Algorithm to find the center of a Bezier curve

I need to find the center of a Bezier curve to rotate it. I have a list of all points (control points, beginning and end, all points on the curve itself). How would I go about finding it's center?
649 views

### Bicubic bezier surface from 4 bezier curves

In the program I need to create, the user should specify the hull geometry of an aircraft wing and fuselage using cubic bezier polycurves. But to get to m bezier ...
195 views

### Silhouette curve for isometric surface of revolution

I am trying to figure out how to convert a flat representation of a curve into the silhouette of a surface of revolution in a isometric projection. In essence in want the planar cut of the surface ...
338 views

### Reliable test for intersection of two Bezier curves

How to reliably find out whether two planar Bezier curves intersect? By "reliably" I mean the test will answer "yes" only when the curves intersect, and "no" only when they don't intersect. I don't ...
310 views

### How to calculate matching roundness of two offset rectangles?

I have two rectangles — one with a fill (blue) and one with a stroke (red). The red rectangle is being offset (depending on the stroke width) so that it appears snug and outside the edge of the blue ...