[vtkusers] Creating a lens effect when moving over the surface

Benjamin King king.benjamin at mh-hannover.de
Fri Feb 27 02:28:08 EST 2004


Hi Vidya,

maybe the vtkWarpScalar 
(http://www.vtk.org/doc/nightly/html/classvtkWarpScalar.html) or 
vtkWarpLens (http://www.vtk.org/doc/nightly/html/classvtkWarpLens.html) 
classes are useful for your task. They can be used to deform a flat image 
into a heightfield. You might consider using perspective projection and 
position the camera right above this surface to achive the desired effect.

Best regards,
   Benjamin


On Wed, 25 Feb 2004 10:14:57 -0600, Vidya Setlur 
<vidya at cs.northwestern.edu> wrote:

>
>
> Hi,
>
> I would really like to know if someone has any information/pointers to
> creating a "magnifying lens effect" while moving across a planar
> surface.
>
> Thanks,
>
> Vidya


-- 
Benjamin King
Institut für Medizinische Informatik
Medizinische Hochschule Hannover
Tel.: +49  511  532-2663



More information about the vtkusers mailing list