Novel OpenGL Pixel Shader Dewarping
medium.com
Novel OpenGL Pixel Shader Dewarping
1–8 of 8 posts
Re: Novel OpenGL Pixel Shader Dewarping
#2Re: Novel OpenGL Pixel Shader Dewarping
#3Re: Novel OpenGL Pixel Shader Dewarping
#4Re: Novel OpenGL Pixel Shader Dewarping
#5Re: Novel OpenGL Pixel Shader Dewarping
#6Re: Novel OpenGL Pixel Shader Dewarping
#7From what I understand from code those unwarps are just doing matrix multiply to get unwraped pixel location? In this case doing these operations directly in fragment shader instead of texture lookup will be faster. Memory bandwidth is not free. But simple ALU like this (just couple FMA's) can easily hide in shadow of texture sampling that happens afterwards. So simply upload those undistortion matrices (mat1 & mat2)…
Re: Novel OpenGL Pixel Shader Dewarping
#8From what I understand from code those unwarps are just doing matrix multiply to get unwraped pixel location? In this case doing these operations directly in fragment shader instead of texture lookup will be faster. Memory bandwidth is not free. But simple ALU like this (just couple FMA's) can easily hide in shadow of texture sampling that happens afterwards. So simply upload those undistortion matrices (mat1 & mat2)…
map1 and map2 are the same dimensions as the video image.