[vtkusers] lens distortion simulation
David E DeMarle
dave.demarle at kitware.com
Fri Mar 27 12:22:09 EDT 2009
"Standard" VTK can do roughly whatever that "standard" OpenGL can do.
You may want to browse the doxygen pages for vtkRenderer,
vtkRenderWindow and vtkCamera to see what is fairly easy to do with
standard VTK. For instance vtkRenderWindow supports stencilling, which
would be one quick way to get the 500 pixel mask you seek.
I know of two projects that extend what VTK can do beyond "standard"
OpenGL. One is vtkEdge, which enabled things like advanced shader
effects, the other is a project that LANL is working on, which
interfaces VTK with a fast software ray tracer called Manta, developed
at the University of Utah.
hth
On 3/27/09, Giancarlo Amati <ilferraresebono at hotmail.it> wrote:
> Good morning everybody,
>
> I'm developing a software for the simulation of an endoscopy, I have two
> questions:
>
> 1) I need to put a mask which is black everywhere but in the center for a
> radious of about 500 pixels....through which I want to see my 3D model
> behind.
> 2) More important: is there any class in VTk which allows to apply some
> distortion factors to the camera lens and see the 3D model distorted?
>
> Kind regards.
> Giancarlo
>
> ________________________________
> Organizza, modifica e condividi le tue foto. Scarica Raccolta foto!
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
More information about the vtkusers
mailing list