Skip to content

Test project that i did with Vulkan graphics API to Simulate Barrel Distortion and Pincushion distortion that will be used in VR for correcting lens distortions.

License

Notifications You must be signed in to change notification settings

jeslaspravin/SimpleBarrelPinCushionDistortions

Repository files navigation

SimpleBarrelPinCushionDistortions

Test project that i did with Vulkan graphics API to Simulate Barrel Distortion and Pincushion distortion that will be used in VR for correcting lens distortions.

Required Libraries

1.LunarG® Vulkan™ SDK https://www.lunarg.com/vulkan-sdk/
2.GLFW for Cross Platform windows creation http://www.glfw.org/
3.GLM Mathematics Library https://glm.g-truc.net/0.9.9/index.html
4.STB Image loaders https://github.com/nothings/stb
5.Tiny Obj Loader https://github.com/syoyo/tinyobjloader

Build system is generated for VS2015

Inputs

W - To increase distortion upto max of 1.0(Max Barrel Distortion)
S - To decrease distortion upto min of -1.0(Max Pincushion Distortion)
T - To toggle between Normal mode(0 Distortion) and default mode(0.5 distortion)

About

Test project that i did with Vulkan graphics API to Simulate Barrel Distortion and Pincushion distortion that will be used in VR for correcting lens distortions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published