Questions tagged [spline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers

How do freehand vector drawing tools typically decide where to place the control points?

I'm devising an algorithm to take a freehand curve and make a bezier spline from it. I can do this already just fine, but it's a naive implementation that creates about as many bezier curves as there ...
johnbakers's user avatar
1 vote
1 answer

Matrix form of an open uniform cubic b-spline

I'm trying to find the matrix form for the equation of a cubic b-spline. More specifically, the "middle" part, S_i(t), is pretty straightforward and available everywhere: ...
fruity's user avatar
  • 11
1 vote
2 answers

Is there a canonical way to convert G1 continuity to C1 continuity for splines

I understand what C1 and G1 continuity are (e.g. this is not Continuity of parametric and geometric continuity). But let's say I have a list of cubic splines that are, together, G1 continuous. Is ...
anonymouswombat's user avatar
3 votes
1 answer

Sweeping cross section along nurbs curve

I have a nurb/b-spline curve in 2d, and I want to sweep a cross section along it. Here is the curve and resulting "tube" (green points are control points): However, as you can see, the ...
lijas's user avatar
  • 133
2 votes
1 answer

How to decide granularity for sampling a bezier curve for rendetion

If I want to draw a cubic bezier curve, I need to sample points on it and draw the resulting poly lines. One could sample the curve using De Casteljau algorithm and incrementing $t$ from 0 to 1 with a ...
Lenny White's user avatar
2 votes
1 answer

Rendering splines on GPU

We have an application which needs to render spline curves (cubic, bezier, b-spline etc.). We currently have working algorithms in C to stroke the control points of these curves into line strips. The ...
Gary Allen's user avatar
3 votes
1 answer

Cubic Splines - Do Parametric and Explicit representation give different curves?

I asked a similar question here before but since the previous post original question was different, I think it was confusing people. So I've voted to close that and asking the new question here. I'm ...
gallickgunner's user avatar