# Questions tagged [interpolation]

The tag has no usage guidance.

67 questions
Filter by
Sorted by
Tagged with
1 vote
313 views

### Undo barycentric interpolation

How do I undo the interpolation of vertex attributes? I'm using unity shader graph which doesn't support nointerpolation. I assume I need to store 3 float3 with one component of each float3 being 1 ...
1 vote
65 views

### What is the fastest way to rasterize a triangle?

I'm making a triangle rasterizer for my 3d engine because I forgot to make a depth buffer and I was wondering what is the fastest way to rasterize a triangle, I was thinking bresenham combined with ...
2k views

### Which interpolation algorithm does MS Paint on Windows 7 use for image rescaling?

I was about to scale this image down to 64x64 pixels: The result I got on MS Paint on Windows 7 was surprisingly good (i.e. crisp edges): , whereas scaling it with GIMP resulted in for cubic and ...
144 views

### triangle barycentric coordinates interpolate edge dependent

Barycentric coordinates of a triangle are very useful for interpolating texture coordinates, for example. Each corner contains the texture coordinate and multiplies this coordinate by the barycentric ...
41 views

### interpolated normal vectors after tessellation. How to hash patch corner / edge vertices?

I have a 3D geometry (an asteroid) that is to be tessellated with respect to the camera position. Each vertex in the original mesh has a unique position and is stored once (VBO with IBO) In the ...
579 views

### Fake cubic Hermite spline interpolation with smoothstep

When scaling an image with Bicubic Interpolation, the Cubic Hermite spline interpolation is used. smoothstep is one of the four basis/blend functions of this kind ...
1 vote
159 views

### Interpolating poisson disk samples in real time

If I have a regular sampling pattern there typically exist many reasonably fast ways to interpolate the results of the sampling procedure in between the sample locations. For example bilinear or ...
1 vote
106 views

### Calculating ray intersection with two spheres (with smooth_blending between the two spheres to make them appear as one continuous geometry)

I have the following function to define the distance to the interesection between a ray and the surface of a sphere: ...
49 views

### Float point placement with anti aliasing

I have an image of size H,W, and I would like to draw a point on this image at x,...
163 views

### Interpolating HSV color with black

I'm interpolating RGB values by transforming them into HSV space and then back into RGB. I have trouble figuring out how to achieve ...
5k views

### How are mipmap levels computed in Metal?

My question is specifically in regards to Metal, since I don't know if the answer would change for another API. What I believe I understand so far is this: A mipmapped texture has precomputed "...
546 views

1 vote