All Questions
Tagged with interpolation algorithm
9 questions
0
votes
1
answer
37
views
Given a set of points with color values, finding a gradated color value from a given position
I guess the verb form of gradient is "gradate" and not "gradiate"?
Hi! I have a set of 2D points (actually 3D, but we can ignore the Y axis unless it's trivial) bound to color ...
1
vote
0
answers
225
views
Low Level Audio Engine Sample Rate Conversion
First off, there seems to be a sparse number of audio programming tutorials out there so if anyone knows of some good resources I would be very appreciative. Now on to the topic at hand!
I am using ...
1
vote
1
answer
312
views
Acceleration in Unity
I am trying to emulate acceleration and deceleration in Unity.
I have written to code to generate a track in Unity and place an object at a specific location on the track based on time. The result ...
0
votes
1
answer
111
views
Evaluate 2D point in a 3D triangle?
Given three points,
(x1, y1, z1)
(x2, y2, z2)
(x3, y3, z3)
and given a point "A" at (x, y),
how would I find "A'", at (x, y, z)?
4
votes
1
answer
144
views
How can I find the minimal texture size so the texture requires no pixel interpolation when transformed by a given matrix?
Given a rectangle with width x and height y, and a transformation matrix T: How can I estimate the minimal resolution of the texture (that is, its width and height) such the interpolation of ...
15
votes
6
answers
14k
views
How do I generalise Bresenham's line algorithm to floating-point endpoints?
I'm trying to combine two things. I'm writing a game and I need to determine the grid squares lying on a line with the floating-point endpoints.
Moreover I need it to include all the grid squares it ...
1
vote
1
answer
3k
views
Multiplayer Network Game - Interpolation and Frame Rate
Consider the following scenario:
Let's say, for sake of example and simplicity, that you have an authoritative game server that sends state to its clients every 45ms. The clients are interpolating ...
2
votes
2
answers
2k
views
What algorithm is mostly used to interpolate animations?
Because DCC tools supports very many options, we resample the animation curve splines, but I think it still need to be interpolated. I think there's some de facto standard for this animation ...
2
votes
4
answers
6k
views
How do you blend multiple colors in HSV (polar) color-space?
In RGB color space, you can do a weighted multiple-color blend by just doing:
Start with R = G = B = 0. Then we perform a blend at index i using a set of colors C, and a set of normalized weights w ...