[Paraview] How can I use Cg libraries in Paraview?

2009-05-26 Thread Biao She
Hi everyone. I am trying to test some cg programs with Paraview, especially volume rendering programs. It seems that Paraview use opengl arb extension for volume rendering (vtkOpenGLVolumeTexture3D.cxx). I am wondering how should I change Paraview's cmakelists files so that I can compile and use cg

[Paraview] Mapper Plugin?

2009-03-26 Thread Biao She
Hi everyone. I want to use a new mapper which isn't exist in Paraview. I saw the wiki page at "http://www.paraview.org/Wiki/Plugin_HowTo";. It seems to me that adding a new mapper requires to add a new representation. Considering that adding a new representation to paraview is complex and still in

Re: [Paraview] How to read a series of a series of data into memory?

2009-03-18 Thread Biao She
che Geometry flag and make sure that the Cache > limit is large enough to hold all the polygonal geometry over all time > steps. > > Incidentally, these options should be moving to the application settings > soon (bug #5768). > > -Ken > > > > On 3/18/09 3:27 PM, "

[Paraview] How to read a series of a series of data into memory?

2009-03-18 Thread Biao She
Hi everyone. I am wondering if there is a way to read a series of a series of files into memory at one time. I understand that there is a restarted reader mechanism in Paraview and it can do the job for me. But the problem is that my data is kind of large, I have to wait a long time for a series of

Re: [Paraview] 3d visualisation

2009-03-12 Thread Biao She
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.

Re: [Paraview] Question about inheritance in paraview(vtk)

2009-03-10 Thread Biao She
setting the > > SET (PARAVIEW_ADDITIONAL_LIBRARIES >${PARAVIEW_ADDITIONAL_LIBRARIES} >${BOOST_FILESYSTEM_LIBRARY} > ${HDF_LIBRARY} > ) > > variable like show above. > > That should get you started. > > Mike > > > Biao She wrote: > >> Thanks for your help, Micha

Re: [Paraview] Question about inheritance in paraview(vtk)

2009-03-09 Thread Biao She
uded properly for some reason. > > _ > Mike Jackson mike.jack...@bluequartz.net > BlueQuartz Softwarewww.bluequartz.net > Principal Software Engineer Dayton, Ohio > > > >

Re: [Paraview] Question about inheritance in paraview(vtk)

2009-03-09 Thread Biao She
___ > Mike Jackson mike.jack...@bluequartz.net > BlueQuartz Softwarewww.bluequartz.net > Principal Software Engineer Dayton, Ohio > > > > > On Mar 9, 2009, at 2:17 PM, Biao She wrote: > > Hi everyone. This might be

[Paraview] Question about inheritance in paraview(vtk)

2009-03-09 Thread Biao She
Hi everyone. This might be a silly question, but I am really confused. I am writing a class inherites from vtkDICOMImageReader. In the header file of vtkDICOMImageReader class, there are some forward declaration of these classes: vtkDICOMImageReaderVector, DICOMParser and DICOMAppHelper. The defini

Re: [Paraview] Paraview Timestep information

2009-03-05 Thread Biao She
has > all time steps? Also, which DICOM reader are you using and can that > reader support time? > > -berk > > On Thu, Mar 5, 2009 at 1:27 AM, Biao She wrote: > > Hi everyone. > > I am trying to visualize a beating heart using Paraview. > > The files I need t

Re: [Paraview] Paraview Timestep information

2009-03-05 Thread Biao She
Thanks Luc. But as far as I know, osirix is only for mac os. Or am I wrong? On Thu, Mar 5, 2009 at 9:02 AM, luc Renambot wrote: > Hi, > I don't know for Paraview, but 'osirix', a free DICOM tool, should be able > to visualize 4D dicom files. > > Luc > > >

[Paraview] Paraview Timestep information

2009-03-04 Thread Biao She
Hi everyone. I am trying to visualize a beating heart using Paraview. The files I need to read is a 4d dicom files. It contains several "groups" of DICOM files. Each group of DICOM files has the same "Acquisition Time", which means that this group of DICOM files represent the heart in a specific ti

Re: [Paraview] How can I fix the problem?

2009-02-26 Thread Biao She
ly call the macro once like so: > > FIND_PACKAGE(ParaView REQUIRED) > INCLUDE(${PARAVIEW_USE_FILE}) > > ADD_PARAVIEW_PLUGIN( > myReader "1.0" > SERVER_MANAGER_SOURCES vtkMyReader.cxx > SERVER_MANAGER_XML reader.xml > GUI_RESOURCE_FILES pqReader.xml) >

Re: [Paraview] How can I fix the problem?

2009-02-25 Thread Biao She
rce code? Thanks On Wed, Feb 25, 2009 at 8:55 PM, Biao She wrote: > Thanks for your reply. > I have included vtkObjectFactory and have used > vtkStandardNewMacro(vtkMyReader) in the .cxx file. The class filename and > class name also match the class=attribute in the XML file. But the

Re: [Paraview] How can I fix the problem?

2009-02-25 Thread Biao She
check that the classes > filename and class name match that in of the class= attribute in the > XML file. > > > On Wed, Feb 25, 2009 at 9:40 PM, David E DeMarle > wrote: > > Have you written the xml configuration file that tells ParaView how to > > call the read

[Paraview] How can I fix the problem?

2009-02-25 Thread Biao She
Hi everyone. I am trying to write a new reader plugin for Paraview. However, I get the following error when I try to use it: ERROR: In /usr/scratch/bshe/Paraview/ParaView-3.4.0/Servers/Common/vtkProcessModule.cxx, line 1079 vtkProcessModule (0x8c24658): Cannot create object of type "vtkMyReader".

[Paraview] paraview plugin

2009-02-23 Thread Biao She
Hi everyone. I have successfully created a plugin for paraview in Linux. Now I want to move it to Windows. CMake vs8 2005 code generator is used for generating the plugin project. Nothing went wrong before I tried to build the project. I got the following two building errors: 1>C:\Program Files\Mic

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-20 Thread Biao She
Yes, I have. But it doesn't work. On Fri, Feb 20, 2009 at 6:56 AM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Have you tried just removing the property > "LockSampleDistanceToInputSpacing" from the XML? > > Utkarsh > > On Thu, Feb 19, 2009

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
anks again for all the helps! Biao On Thu, Feb 19, 2009 at 2:35 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > No, unless you changed the name for the subproxy which is the "name" > in . I'll leave that as is so > the vtkSMUniformGridVolumeRepresent

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
ed to VolumeFixedPointRayCastMapper, do I need to change these codes too?" Thanks, Biao On Thu, Feb 19, 2009 at 2:27 PM, Biao She wrote: > I didn't add a new proxy definition for "OpenGLVolumeTextureMapper3D". > Instead, I change the definition for "VolumeFixedPointRay

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
> Did you add a new proxy definition for the > "OpenGLVolumeTextureMapper3D" proxy? Look at the definition for > "VolumeFixedPointRayCastMapper" (it's further down in the file). > You'll need to add a similar one for the "OpenGLVolumeTextureMapper3D" > proxy. >

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
n for FixedPointVolumeRayCastMapper, add a new definition for > >> the VolumeTextureMapper3D and use that in the > >> "UniformGridVolumeRepresentation". I am not sure it's going to work > >> out of the box. But work a try. > >> > >> Utkars

[Paraview] Changing the default volume mapper in Paraview?

2009-02-18 Thread Biao She
Hi everyone. I have debugged paraview for days. The reason is that I want to use vtkOpenGLVolumeTextureMapper3d mapper instead of the default volume mapper vtkFixedPointVolumeRayCastMapper in Paraview. Till now, I haven't figured out how to do that. Has anyone done this before? Any hint and help is

[Paraview] How to change the default mapper for 3d volume rendering?

2009-02-10 Thread Biao She
Thanks to this mailing list, I know how to make Paraview read the DICOM files right now. However, the volume rendering speed is not satisfactory. I am wondering if I want to use vtkOpenGLVolumeTextureMapper3d for the volume rendering, how should I change paraview's code? Moreover, if I want to use

Re: [Paraview] DICOM series reader for Paraview

2009-02-10 Thread Biao She
This is true when the > plugin is loaded on the computer that built Paraview. Other problems > arise when deploying on 'pure-of-devel-stuff' systems. > > I hope this will help. > > Best regards, > > Jerome > 2009/2/9 Biao She : > > Thanks for your help, Je

[Paraview] Set directory name on the reader

2009-02-09 Thread Biao She
Hi Utkarsh. I read your post at http://markmail.org/message/iswwagv2ejsybjhy#query:paraview%20dicom+page:2+mid:6ex4hkecehwma6t2+state:results I am currently trying to integrate a DICOM reader to Paraview. The first problem I met is how to pass a directory name to a paraview reader. You mentioned th

Re: [Paraview] DICOM series reader for Paraview

2009-02-09 Thread Biao She
gt; You can find a later version of GDCM than the ITK integrated one, on > this website: http://www.creatis.insa-lyon.fr/Public/Gdcm/ . I cannot > help you more, as I had never use it for now. > > Cheers, > Jerome > > 2009/2/6 Biao She : > > Hi everyone. > > I am wonde

[Paraview] DICOM series reader for Paraview

2009-02-05 Thread Biao She
Hi everyone. I am wondering if anyone know how to integrate a ITK(GDCM) based DICOM reader to Paraview? My basic idea is: 1. Read DICOM series data through ITK(GDCM) 2. Export the data to a vtkImageImport class 3. Use the data in vtkImageImport as a source of Paraview I have done the first two step

[Paraview] Does stereo mode support in windows?

2009-01-20 Thread Biao She
Hi all. I try to get the stereo mode work in windows. It seems that no matter which stereo mode (Red Blue or Crystal eyes) I choose, the result is not stereo rendering. I am wondering if stereo mode support in windows? My paraview version is 3.4.0 and I compile it from source. Thanks very much! A

Re: [Paraview] Paraview multiple display

2009-01-14 Thread Biao She
hat is the point of implementing a > camera link with property links? > > 2. There is no CameraRotation property. I'll try not to spark a debate on > why that is; suffice it to say that the underlying vtkCamera has no such > support. > > -Ken > > > > On 1/13/09 5:

Re: [Paraview] Paraview multiple display

2009-01-13 Thread Biao She
iply the same rotation matrix after a rotation. Thanks very much for your time! Aaron On Tue, Jan 13, 2009 at 10:51 AM, Biao She wrote: > Hi everyone. > I am trying to use paraview for side by side stereo display. I understand > that I can link cameras between two display areas. The

[Paraview] Paraview multiple display

2009-01-13 Thread Biao She
Hi everyone. I am trying to use paraview for side by side stereo display. I understand that I can link cameras between two display areas. The problem is that I don't know how to set a constant offset (like the distance between two eyes) of camera position for two linked cameras. Dose anybody have

[Paraview] volume rendering for image data

2008-11-24 Thread Biao She
Hi all. I just got two quick questions. I am wondering what's the algorithms used in paraview for image data volume rendering? Does these algorithms use GPU at all? Thanks! Aaron ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mai

Re: [Paraview] How is builtin different from localhost?

2008-11-24 Thread Biao She
100 M network. I am wondering if the network speed is good enough for paraveiw? In other words, no huge display delay because of network? Thanks. Biao On Mon, Nov 24, 2008 at 11:43 AM, David E DeMarle <[EMAIL PROTECTED]>wrote: > On Mon, Nov 24, 2008 at 1:33 PM, Biao She <[EMAIL PROTE

[Paraview] How is builtin different from localhost?

2008-11-24 Thread Biao She
Hi all. I have tested paraview on a builtin server and a localhost server(run pvserver and connect client to it on the same computer). It seems to me that the builtin server is much faster than localhost server. Since the computer is the same, i am wondering if the localhost server have to readback

[Paraview] How to use Paraview to visualize large volume data in real-time on shared-memory supercomputer?

2008-11-13 Thread Biao She
Hello. I am kind of new to Paraview. Hope this question isn't a stupid one. I can access to a shared-memory SGI Altix 4700 supercomputer. It has 6 GPUs and 64 cpus. I have successfully installed the latest version of paraview(3.4.0) on it. To my understanding, if I ssh to the supercomputer and typ

Re: [Paraview] Paraview on SGI Altix 4000

2008-09-22 Thread Biao She
? Thanks! Aaron On Mon, Sep 22, 2008 at 11:51 AM, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > It sounds like you are having a framebuffer readback issue. Can you check > to see if your OpenGL drivers are up to date? > > -Ken > > > On 9/22/08 11:39 AM, "Bia

Re: [Paraview] Paraview on SGI Altix 4000

2008-09-22 Thread Biao She
, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > It sounds like it could be a rendering problem. Perhaps the offscreen > rendering is misbehaving. What happens when you run without the > --use-offscreen-rendering flag? > > -Ken > > > On 9/22/08 11:28 AM, "Biao She&

[Paraview] Paraview on SGI Altix 4000

2008-09-22 Thread Biao She
Hi folks. Has anyone ever installed paraview on SGI Altix 4000? If I compiled paraview with "PARAVIEW_USE_MPI" option setting to ON, the paraview didn't work properly. For example, I first started the MPI version pvserver on the supercomputer by issuing "DISPLAY=:0 mpirun -np 4 ./pvserver --use-off

[Paraview] precompile version and source tree

2008-09-19 Thread Biao She
Hi guys. I can set up a Paraview server successfully right now, and it works fine if I use the precompiled version of Paraview. However, if I build the paraview from sources, the rendering speed of that version is at least ten times slower than the precompiled version. I use the default options to

Re: [Paraview] slow rendering speed

2008-09-10 Thread Biao She
eed to use it within your mpirun command: > > mpirun -np 4 /usr/bin/env DISPLAY=localhost:0 ./pvserver > > -Ken > > > On 9/10/08 11:32 AM, "Biao She" <[EMAIL PROTECTED]> wrote: > > > Thanks your help again, Ken. > > You figure out my problem. I i

Re: [Paraview] slow rendering speed

2008-09-10 Thread Biao She
the > network and all are being processed on a single machine. > > Make sure that you are actually rendering to the local GPU. See the > ParaView Wiki for more advice. > > http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server > > -Ken > > > On 9/9/08 4:24

[Paraview] slow rendering speed

2008-09-09 Thread Biao She
Hi there. I use the client/server mode of paraview to render a small data(about 4M), but the speed is very slow. Below is how I do it: I first ssh to the cluster and start the pvserver by this command: mpirun -np 4 ./pvserver. The cluster is SGI Altix 4000. The operating system on the cluster is SU

[Paraview] 64 bit

2008-08-27 Thread Biao She
Hi there. I try to use a 64 bit linux to run paraview and I can compile and install it successfully. The problem is when I run the software in the parallel mode, I get errors like this: paraview(15611): unaligned access to 0x234381cc, ip=0x21d84ca1 The rendering speed is quiet slow

[Paraview] volume rendering algorithm

2008-08-25 Thread Biao She
Hi there. I know that there are four different volume rendering algorithms in Paraview: projected tetrahedra, HAVS, Bunyk Ray Casting and ZSweep. My question is how can I choose a specific algorithm to render my own data? Thanks very much for your time! Aaron __

[Paraview] Parallel Paraview

2008-08-18 Thread Biao She
Hi there. I successfully installed paraview with MPI support and managed to connect to the server. But the speed is strangely slow. I got the following two types of errors, I am wondering if these are the reasons for a slow speed: 1. xlib: extension "XFree86-DRI" missing on display "HostMachineIP"

[Paraview] Paraview with mpi support

2008-08-14 Thread Biao She
Hi there. I got the following error when I tried to connect to a pvserver: ERROR: In ..\..\..\ParaView3.2.3\Servers\Common\vtkServerConnection.cxx, line 351 vtkServerConnection (064F90A0): Server could failed to gather information. I started pvserver with the command: mpirun -np 4 ./pvserver --u