[Paraview] 3d visualisation

Biao She shebiao at gmail.com
Thu Mar 12 15:18:19 EDT 2009


I think what you mean is side-by-side stereo rendering mode. Right?
I have done this before.Paraview doesn't support this stereo rendering mode.
But it's fairly easy to change some source code of Paraview to make it work.
You only need to change the code in "*paraview/VTK/Rendering/vtkRenderWindow.h"
*and "*paraview/VTK/Rendering/vtkRenderWindow.cxx*". Please refer to this
webpage about how to change the code:
http://www.geophysik.uni-muenchen.de/intranet/it-service/applications/paraview/compiling-and-installing-paraview-and-vtk/

This works for linux system at least. I have tried it on windows, but
nothing change. Even if I use the red-blue stereo mode in paraview on
windows, it doesn't work too. I don't know if paraview doesn't support
stereo rendering on Windows or I have done something wrong on windows.
Anyway, hope this helpful.

Biao


On Thu, Mar 12, 2009 at 12:26 PM, David E DeMarle
<dave.demarle at kitware.com>wrote:

> The paraview client has a --stereo argument which defaults to vtk's
> red blue stereo mode. The other stereo modes from vtk will work but
> there is no UI yet that lets the user choose which one and set up
> parameters. Thus you have to change the code and recompile to try
> anything other than red blue mode.
>
> John Woodring at LANL has code to create the UI but it is not yet checked
> in.
>
> On Thu, Mar 12, 2009 at 9:58 AM, Bernhard Gschaider
> <bgschaid_lists at ice-sf.at> wrote:
> >
> > Hi Gavin!
> >
> > (It's funny: you always meet the same people in very different places
> > ;) )
> >
> >>>>>> On Thu, 12 Mar 2009 08:38:34 +0000
> >>>>>> "GT" == Gavin Tabor <Dr> wrote:
> >
> >    GT> Dear All, We are looking at buying a 3d projection system;
> >    GT> this consists of two projectors with polarising filters and a
> >    GT> screen, and you wear polarising glasses; it gives a very
> >    GT> impressive 3d effect. I use paraview (and paraFoam from
> >    GT> OpenFOAM) and would want to integrate this with the new system
> >    GT> - does anyone have any experience with 3d visualisation using
> >    GT> paraview?? I assume all that is necessary is to have 2 cameras
> >    GT> looking at the scene and feeding to the two projectors; but is
> >    GT> this already implemented, or if not, is anyone working on it??
> >
> > These are just some pointers (some of them outdated):
> >
> > The VTK-toolkit (which paraview is based on) seems to support
> > stereo-rendering
> >
> > http://www.vtk.org/doc/release/5.2/html/a01192.html
> >
> > One (possibly outdated) method to get it to work in Paraview is
> > described here:
> >
> > http://www.evl.uic.edu/cavern/rg/20040715_schwarz/
> >
> > I think (not sure) that MayaVi (another postprocessor based on VTK)
> > had the option to switch to stero-rendering
> >
> > I know this is sketchy, but it's all I know (maybe somebody here can
> > tell you more)
> >
> > Bernhard
> >
> > --
> >
> ---------------------------------------------------------------------------
> > DI Bernhard F.W. Gschaider
> >
> ---------------------------------------------------------------------------
> > EMail:  Bernhard.Gschaider at ice-sf.at
> > WWW  : www.ice-sf.at
> > Jabber : bgschaid at jabber.org
> > Tel:    +43(3842)98282-42       Fax:    +43(3842)98282-02
> >
> ---------------------------------------------------------------------------
> > _______________________________________________
> > 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
>
>
>
> --
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x109
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>



-- 
She, Biao
Department of Computing Science,
University of Alberta, Edmonton, Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090312/31e75e4c/attachment-0001.htm>


More information about the ParaView mailing list