Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Spline interpolation

$
0
0

Hi,

I have a problem with regards to spline interpolation for a system that underlies the user input for a brush tool of a paint program. I have a brief to write a module that will take a point and the time since the last point was recorded. It will accumulate those points until such time it has enough to create a spline, and then record a “sampled” point (these points are stored in a buffer to be read separately). I believe the purpose is to provide smoothed user input.

I'm using catmull-rom to calculate the points on the …


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>