Skip to main content

Questions tagged [beziers]

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.

17 questions with no upvoted or accepted answers
8 votes
1 answer
377 views

How to move a portion of bezier/spline curve along its complete bezier/spline curve?

Based on the image below, I have a curve (orange) which is a bezier sub-curve of an original curve (longer black curve). The original curve consists of a number of cubic bezier curves joined together. ...
NotEveryDay's user avatar
3 votes
0 answers
456 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): ...
azer89's user avatar
  • 131
2 votes
0 answers
152 views

What is meant by Blender's "Minimum" twist method/how do I correctly calculate bezier curve twists?

I'm working on a bezier curve implementation in Unity. Until recently, I had no need for roll (the objects that followed the curve always stood upright) but I've since added a roll value to each ...
squiddingme's user avatar
2 votes
0 answers
881 views

Adding smooth round Bézier curve corners in unreal editor?

Unreal Editor offers rectangular and round geometry. It also offers boolean operations. I can make a smooth corner by playing around with cylinder and boolean operations. I really would like to make a ...
AturSams's user avatar
  • 10.5k
1 vote
0 answers
134 views

How to smooth 2D procedurally generated terrain and create a collider from a Tilemap in Unity

I am making a 2D procedurally generated game like Terraria, and I want my terrain to be smooth similar to how games like Hill Climb Racing look. I have a Tilemap that renders my tileSprites and a 2D ...
Jacko_256's user avatar
1 vote
1 answer
133 views

Getting coordinates within a bezier space

I have created an object that is comprised of two bezier curves (constructed of an identical finite segments equal to a variable named resolution). The two curves ...
Magikarp's user avatar
1 vote
0 answers
120 views

how can I normalize the speed of a polygon moving over a series of connected quadratic bezier curves with varying lengths?

I am generating a bunch of quadratic curves that are connected together, creating an array of curves, and a function which returns the position on the curve for a given time. ...
patrick's user avatar
  • 209
1 vote
0 answers
256 views

Cubic bezier polygon clipping

I have a large cubic bezier defined 2D polygon area which I need to render in DX11 real-time to create as many 4096x4096 textures as needed. An average control point count would be around the 12k and ...
BezierHelpMe's user avatar
1 vote
0 answers
158 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 ...
yagoub's user avatar
  • 23
0 votes
1 answer
49 views

Is it possible to design character movement system with Bezier Curves?

For context, I'm trying to create a really dynamic and fast character. That can suddenly move slow, fast, zap into places, dash, and hover in place. Say that I want to make a character accelerate a ...
curiousCprogrammer1231's user avatar
0 votes
0 answers
47 views

How to make smooth movement for a tunnel traveling music game?

I'm creating a music game where the player travels inside a tunnel and can create twists and turns while listening to music. Here's a video showing what it currently looks like. I'm looking for advice ...
curiousCprogrammer1231's user avatar
0 votes
0 answers
79 views

How to efficiently path many objects to a moving point?

Working in 3D in the Godot engine, I have an object that moves through space and, like a tornado, is intended to pick up objects in its path. What I have right now is janky, effectively re-baking the ...
Evan C's user avatar
  • 1
0 votes
0 answers
65 views

How to change the locomotive status from moving in a spline to moving in the next spline when it meets the next rail?

I want to make a train that can move in a curve. I have downloaded a Train Spline Walker unity package. That package can generate a spline, and the train's locomotive will move in the spline with a ...
Duy Hạnh Trần's user avatar
0 votes
0 answers
151 views

How to add a sine wave to a quadratic bezier curve?

I have a quadratic bezier curve, i want add a sine wave to it to animate it, simulate the grass animation. Currently i add the sine wave to P2.y and P3.y, but it don't look very nature. How to add the ...
user1535273's user avatar
0 votes
0 answers
87 views

Convert 3 2D-curves to a 3D-curve and How to calculate weight value of the animation curve in Unity?

I have 3 Hermite curves, including a position at the x, y, and z axes controlled by tangent and weight values. I knew that it is a 2D curve. now I can calculate the tangent from 1st derivative, but ...
Hadestrb's user avatar

15 30 50 per page