Skip to main content
gamedev.net
🔒 Locked

Splines Types

Started by Agemaniac 0 replies 300+ views
Original Post
Agemaniac
Agemaniac
Hi, im using Catmull Rom Splines in my Editor and figure out that when two control points i too near (in a straight line) the spline became a curve. In this case, for example, 100 control points in line doesnt make a straight line, if the points are near. Is it right using Catmull? what kind of splines should i use to camera control? and what the diference between them. (i know that some or smoth and dont pass throught the control points...)
666_1337
666_1337
bezier splines are usually smoother than catmull-rom ones, and therefore better for camera movement. however they don''t interpolate through their controll points, like catmull-rom ones do.

if you have points in a line, and you use catmull-rom-interpolation, and get a curve, than a) you are outside of the floating-point precision, or b) your algorithm has faults.
our new version has many new and good features. sadly, the good nes are not new and the new nes are not good oo

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.