[vtkusers] render an 2Dimage with depth information

Yixun Liu yxliuwm at gmail.com
Fri Sep 25 18:02:45 EDT 2015


Hi,
I have a picture obtained by a stereo camera. The depth of each pixel is
known.
I want to render this picture with some virtual objects using VTK

One way is to treat this 2D picture as a vtkImageActor and then render this
actor first, then manually set the depth buffer using the known depth,
finally render other virtual object.

I do not know if VTK has some decent way to do this.

Thanks.

Yixun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150925/dbb7202a/attachment.html>


More information about the vtkusers mailing list