Warping Rendered Scene?
I have a custom Head Mounted Display (HMD). (Stereo = one micro display for each eye.) I need to warp the rendered (stereo) scene to compensate for the optical distortions of the HMD so I can view the scene without distortion.
What is the best way to do this? Is there some texture mapping I can use, or do I have to write my own rendering functions? Anything in the software that allows for specifying compensation of distortion in the HMD by warping the rendered scene prior to sending to HMD? Cheers, Bob Gray |
|
Lens Correction
But this looks like it is only for pincushion distortion.
I need to specify an "arbitrary" warping. The warping is specifyed by the pixel displacement. Instead for pixel (i, j) going to (i, j) it needs to go to (m, n). I have this correspondence for every pixel in the display. The warping is not symmetrical. Any way to specify this in the vizlens? Cheers, Bob Gray |
The vizlens module simply creates a post-process shader that modifies the rendered image. If you are familiar with OpenGL shaders, it is very easy to create your own post-process shader. Here is a basic template for your own shader:
Code:
import viz |
All times are GMT -7. The time now is 07:37 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC