A spline is a sufficiently smooth polynomial function that is piecewise-defined, and possesses a high degree of smoothness at the places where the polynomial pieces connect.

learn more… | top users | synonyms

0
votes
0answers
24 views

Unreal Engine 4 - 3D splines to deform meshes?

In Unity the way a lot of people make 3D endless runners is by deforming 3D models along a spline and using that spline as the navigator for the player to run through and tiling these up one after the ...
1
vote
2answers
103 views

Compute world position by walking N units along spline?

My goal is to move ahead along a spline 'x' world units, unfortunately there is no way to map spline points to world points. What I do is I iterate along the spline by a small alpha amount (say ...
6
votes
2answers
143 views

How do I avoid interpolation artefacts when scaling up a heightmap?

I am using a bicubic interpolation algorithm in order to upscale a height map, and I am noticing some artifacts around the pixels boundaries. However, these artifacts don't seem to appear when I use a ...
-1
votes
1answer
77 views

Animating values using splines

I'm trying to create a system similar to Blender's f-curves or Unity's animation curves (google it, I'm not allowed to post more than two links yet). It's basically a 2D spline where time is on the ...
2
votes
2answers
558 views

How to unify vertices in 3ds max?

I want two vertices of editable spline become one. Neither fuse, nor weld helps: vertices remain separate. Here is a video: http://youtu.be/bp3OJPeKapc
0
votes
4answers
261 views

Is there a game not using meshes for models? [closed]

Traditionally, models consist of lots of vertices connected by triangles. That forces the use of a high amount of vertices for detailed organic shapes or makes models kind of blocky. Even though ...
0
votes
1answer
193 views

How to convert a silhouette to a blob?

Using ShapeShop you draw a silhouette and it converts the silhouette to a "blob", which gives a nice game character. Using 3DSMAX 2012 you draw a line and close the spine. How do you convert it to a ...
3
votes
2answers
716 views

How to remove bezier handle in 3dsmax?

While editing spline, I need to make one of the vertexes to be an absolute corner. I.e. bezier control points should be in zero distance from the vertex. How to do that?
2
votes
3answers
364 views

Tessellating to a curve?

I'm creating a game engine, and I'm trying to define a 3D model format I want to use. I haven't come across a format that quite does what I want. My game engine assumes a shader model 5+ environment. ...
1
vote
2answers
327 views

Find the nearest control points either side of a Catmull Rom spline segment

There is a formula for evaluating a Catmull Rom spline segment at time 't' found here. The problem with this is that it requires finding the two control points either side of the segment to evaluate. ...
1
vote
1answer
843 views

Interpolation between two 3D points?

I'm working with some splines which define a path a character follows (you can see a gameplay video here to get a better understanding of what's going on: http://www.youtube.com/watch?v=BndobjOiZ6g). ...
10
votes
5answers
592 views

How would one determine the length of a path?

I have a game that requires each player to move along one specified path. I draw the path using B├ęzier curves. How can I determine the total real (not linear) length of the path and the distance that ...
14
votes
1answer
3k views

Determine arc-length of a Catmull-Rom spline

I have a path that is defined by a concatenation of Catmull-Rom splines. I use the static method Vector2.CatmullRom in XNA that allows for interpolation between points with a value going from 0 to 1. ...
1
vote
0answers
363 views

How do I find control points on a piecewise quadratic Bezier curve? [closed]

I need to write an OpenGL program to generate and display a piecewise quadratic Bezier curve that interpolates each set of data points: 0.1 0, 0 0, 0 5, 0.25 5, 0.25 0, 5 0, 5 5, 10 5, 10 0, 9.5 0 ...
10
votes
2answers
447 views

How to avoid self-intersection when applying stroke to a curve?

I have several Spline2D objects in my code, each of which has a Position, Velocity, and Acceleration method that returns a vector of the specified quantity at a particular time. I've been using these ...
9
votes
3answers
975 views

What are the most common splines you will find in game development?

List here the most common splines found in game development, how many points the method needs to interpolate a curve, and how can you build a data type that allows you to get an interpolation of the ...