Questions tagged [interpolation]
The interpolation tag has no usage guidance.
23
questions with no upvoted or accepted answers
5
votes
0
answers
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 ...
4
votes
0
answers
67
views
MRF and Textures
I am pursuing my research in Texture Interpolation. After digging deep into it, I'm stuck at a point. It is proven that textures can be modeled as Markov Random Fields and that each texture can be ...
3
votes
0
answers
118
views
Irradiance field approximation with black probes
I'm posting here after some time searching the Internet and reading presentations and papers, to find out the best options to solve the problem I have.
I'm implementing irradiance field with ...
3
votes
0
answers
75
views
Why my cosine interpolation of a cube's face doesn't work?
NB please : executable use cases are available at the end of this question. I begin this question by showing you the problems of my program, then I explain how the latter works, and finally I end up ...
3
votes
0
answers
274
views
Sinc interpolation and Ideal reconstruction example
I am trying to apply sinc interpolation on this data set. The patches in the left image is a snapshot of AutoCAD 3d faces. Lux values are calculated for centre of each patch that are in 0.3m x 0.3m ...
2
votes
0
answers
42
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,...
2
votes
0
answers
61
views
Vertex positions from particle position
I have a question about Nvidia Flex or any particle based simulation in general:
The particles are created by sampling the mesh, which can result in fewer particles than there are vertices in the ...
2
votes
0
answers
241
views
Using GPU instead of CPU in Scala
I wrote a program that displays points expressed in 3D in a 2D canvas, using perspective projection. The aim is to display a cube. Each face of the cube is drawn by linearly interpolating the points ...
2
votes
0
answers
128
views
Interpolating normals during animation
I'm doing linear tweening of a cyllinder to a cone of equal radius and height in OpenGL. I know parametric equations of both of them, so I derived vertex normals accordingly. Now, I know, that proper ...
2
votes
0
answers
37
views
Make 3d objects from 3 projections in 3D Studio Max
In the early 3D Studio days before it got Max in its name it was possible to make a 3d object by defining its projections in xy, xz and yz plane. 3ds would then interpolate a 3d object from the ...
1
vote
1
answer
195
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
0
answers
63
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:
...
1
vote
0
answers
66
views
Imprecise TEXCOORD interpolation of a screen quad in DirectX
I was debugging with RenderDoc an issue on an app based on Directx11 and 12 that draw screen space quads to perform various baking steps. These baking steps just render a quad in clip space without ...
1
vote
0
answers
305
views
How could I remove this colour interpolation artefact across a quad?
I've been reading up on a vulkan tutorial online, here: https://vulkan-tutorial.com. This question should apply to any 3D rendering API however.
In this lesson https://vulkan-tutorial.com/...
1
vote
0
answers
69
views
General interpolation practices
Say my animation scenario contains one mesh interpolating into another (possibly approximating over other meshes), using Bezier curves.
I know that for smooth surfaces, where normals can be ...
0
votes
0
answers
24
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 ...
0
votes
0
answers
54
views
What is this method of interpolation / blending?
I am reverse-engineering two classes from a game. The two classes are responsible for generating sets of t values for interpolating / blending between two points through the formula:
...
0
votes
0
answers
64
views
How to make sure that triangles share edges (also not overlap each other) when rendering a quadrilateral?
Here is my simple scanline-based triangle rasterizer using pure integer arithmetic. I adapted the code from this Stack Overflow answer The below code attempts to render a coloured quadrilateral by ...
0
votes
0
answers
99
views
How to interpolate between two MVP setups?
I am currently writing an AR experience.
I have a Camera View Matrix, A Camera Perspective matrix and the Model Matrix of the content I display.
The AR content should can be switched to "2D",...
0
votes
0
answers
135
views
Methods to interpolate between 2 topologically identical 3D meshes
I have 2 3D surface meshes. These meshes have vertex-correspondence and have the same topology (same edges and triangles connecting the vertices). However, the vertex positions (3d coordinates) are ...
0
votes
0
answers
88
views
Is linear interpolation in a 2D texture possible (not quadratic like bilinear interpolation)?
I am currently studying for a computer graphics exam and on the slides about bilinear interpolation it is said that it is in reality quadratic interpolation.
An (on the slides) unanswered question ...
0
votes
0
answers
591
views
Lanczos filter implementation issue
I tried to follow Nathan Reed post Antialiasing: To Splat Or Not to implement splat method. The image I am getting thorugh the Lanczos filter is very different than Nathan. I do not understand where ...
0
votes
0
answers
260
views
How to do keyframe interpolation on matlab?
I want to do keyframe interpolation in matlab.
If I understand correctly, it uses splines to approximate the the motion of specific pixel points within the frames(through transforms). Correct me if I'...