Questions tagged [spline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
51 views

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
96 views

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
138 views

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
60 views

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
148 views

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
642 views

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
188 views

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