[vtkusers] Re: vtkusers digest, Vol 1 #1147 - 10 msgs

J.Fang tsing22199 at mails.tsinghua.edu.cn
Fri Jul 26 21:36:23 EDT 2002


jgjgjhgjguggjhfffh
----- Original Message ----- 
From: <vtkusers-request at public.kitware.com>
To: <vtkusers at public.kitware.com>
Sent: Friday, July 19, 2002 6:39 PM
Subject: vtkusers digest, Vol 1 #1147 - 10 msgs


> Send vtkusers mailing list submissions to
> vtkusers at public.kitware.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> vtkusers-request at public.kitware.com
> 
> You can reach the person managing the list at
> vtkusers-admin at public.kitware.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: compute polygon centroids and normals (Mathieu Malaterre)
>    2. RE: Problem with rendering Volume and Textured Plane (Praveen Bhaniramka)
>    3. SimpleVTK.java "Bus error" on Mac OS X (Surajit Nundy)
>    4. Re: error messages: Mac OSX build.. (Yves Starreveld)
>    5. Marching Cubes (Amer Abufadel)
>    6. Re: Cropping with VolumePro (Lisa S. Avila)
>    7. pthread and sproc (Song Li)
>    8. coloring the cells of vtkDiskSource.. (K.R.Subramanian)
>    9. cleaning frame buffer (Giancarlo Amati)
>   10. Depthsorting of Actors (Simon Faust)
> 
> --__--__--
> 
> Message: 1
> Date: Thu, 18 Jul 2002 17:29:03 -0400
> From: Mathieu Malaterre <mmalat at imaging.robarts.ca>
> To: Matt and Elizabeth Kay <mandekay at yahoo.com>
> Cc: vtkusers at public.kitware.com
> Subject: Re: [vtkusers] compute polygon centroids and normals
> 
> Hi Matt and Elizabeth ,
> 
> You can have a look to this class that compute the normals:
> http://public.kitware.com/VTK/doc/nightly/html/classvtkPolyDataNormals.html
> 
> But for the centroids I don't know...you may adapted this class ?
> 
> HTH
> mathieu
> 
> 
> Matt and Elizabeth Kay wrote:
> 
> > Hi all-
> >
> > I am computing the centroid of each polygon in a
> > vtkpolydata (which are triangles) as well as the
> > normal of each triangle. I have done this by
> > extracting the verticies of each triangle and
> > computing the centroid by taking the average of the 3
> > verticies. I am fitting a plane to the verticies to
> > get the normal of each triangle. I feel like I am
> > reinventing the wheel - I have looked but I haven't
> > found a vtk function that does this. Any suggestions?
> >
> > Also- how can I order verticies in my polydata such
> > that they are always referenced clockwise or
> > counterclockwise for each triangle? I am thinking this
> > may help with providing consistently oriented normals
> > (ie: outward or inward). Any suggestions would be
> > greatly appreciated!
> >
> > Thanks in advance,
> > Matt
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Autos - Get free new car price quotes
> > http://autos.yahoo.com
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> 
> --
> If all else fail read the instructions
> Malaterre, Mathieu
> The John P. Robarts Research Institute
> Imaging Research Laboratories
> http://www.imaging.robarts.ca/~mmalat
> 
> 
> 
> 
> --__--__--
> 
> Message: 2
> Date: Thu, 18 Jul 2002 14:25:18 -0700
> From: Praveen Bhaniramka <praveenb at gauri.engr.sgi.com>
> To: Niels Bakker <n.h.bakker at amc.uva.nl>
> Cc: vtkusers at public.kitware.com
> Subject: RE: [vtkusers] Problem with rendering Volume and Textured Plane
> 
> Hi Niels,
> 
> What hardware are you running this on? I am assuming that VTK would
> internally be using OpenGL for the rendering. If you are running your app
> on IRIX, you can probably use ogldebug to find out what all OpenGL state
> is being modified (without you knowing about it!). Not sure if it is
> available on any other platforms.
> 
> hth,
> Praveen
> 
> On Thu, 18 Jul 2002, Niels Bakker wrote:
> 
> > Hi Praveen,
> > 
> > To my knowledge I am not using openGL. For the volume I am using a
> > vtkVolumeRayCastMapper added to a vtkVolume. For the plane I'm using a
> > vtkPolyDataMapper and a vtkTexture added to a vtkActor. Both are attached to
> > the same vtkRenderer.
> > 
> > Its still a mistery to me.
> > 
> > Niels
> > 
> > 
> > (-:-) -----Original Message-----
> > (-:-) From: Praveen Bhaniramka [mailto:praveenb at gauri.engr.sgi.com]
> > (-:-) Sent: Tuesday, July 16, 2002 6:24 PM
> > (-:-) To: Niels Bakker
> > (-:-) Cc: vtkusers at public.kitware.com
> > (-:-) Subject: Re: [vtkusers] Problem with rendering Volume and
> > (-:-) Textured Plane
> > (-:-)
> > (-:-)
> > (-:-) Hi Niels,
> > (-:-)
> > (-:-) Not sure how you are rendering the volume (using the ray-caster or the
> > (-:-) texture mapper), but this seems to be an OpenGL state issue. Make sure
> > (-:-) that you have restored your OpenGL state (the state that you
> > (-:-) modified like
> > (-:-) blending functions, etc) after you render the volume data.
> > (-:-)
> > (-:-) Cheers,
> > (-:-) Praveen
> > (-:-)
> > (-:-) On Tue, 16 Jul 2002, Niels Bakker wrote:
> > (-:-)
> > (-:-) > Hi,
> > (-:-) >
> > (-:-) > I'm trying to render a volume and a textured plane. The
> > (-:-) texture on the plane
> > (-:-) > disappears after the first render and it is replaced by an
> > (-:-) image of the
> > (-:-) > rendered scene. If I don't add the volume to the renderer
> > (-:-) the textured plane
> > (-:-) > works fine.
> > (-:-) >
> > (-:-) > It seems to be the same problem as was already described
> > (-:-) earlier, but no
> > (-:-) > solution was given:
> > (-:-) >
> > (-:-) > http://public.kitware.com/pipermail/vtkusers/2002-March/010279.html
> > (-:-) >
> > (-:-) > Can anyone help?
> > (-:-) >
> > (-:-) > Niels
> > (-:-) >
> > (-:-) >
> > (-:-) >
> > (-:-) > N.H.Bakker PhD
> > (-:-) > Academic Medical Center
> > (-:-) > Dept. of Medical Physics
> > (-:-) > Meibergdreef 9
> > (-:-) > 1105 AZ Amsterdam
> > (-:-) >
> > (-:-) > Phone: (+31) 20-566 8978
> > (-:-) > Mail : n.h.bakker at amc.uva.nl
> > (-:-) >
> > (-:-) > _______________________________________________
> > (-:-) > This is the private VTK discussion list.
> > (-:-) > Please keep messages on-topic. Check the FAQ at:
> > <http://public.kitware.com/cgi-bin/vtkfaq>
> > > Follow this link to subscribe/unsubscribe:
> > > http://public.kitware.com/mailman/listinfo/vtkusers
> > >
> > 
> > --
> > -----------------------------------------------------------------
> > Praveen Bhaniramka               Member of Technical Staff (MTS)
> > praveenb at sgi.com                 Advanced Graphics Division
> > (650)933-1785                    Silicon Graphics, Inc.
> > -----------------------------------------------------------------
> > 
> > 
> > 
> 
> -- 
> -----------------------------------------------------------------
> Praveen Bhaniramka               Member of Technical Staff (MTS)
> praveenb at sgi.com                 Advanced Graphics Division
> (650)933-1785                    Silicon Graphics, Inc.
> -----------------------------------------------------------------
> 
> 
> --__--__--
> 
> Message: 3
> Date: Thu, 18 Jul 2002 17:29:11 -0400
> From: Surajit Nundy <nundys at neuro.duke.edu>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] SimpleVTK.java "Bus error" on Mac OS X
> 
> Hello,
> I have been able to build vtk on Mac OS X with Java wrapping
> (thanks to Raphael Sebbe's tips).  I can run Cone.java and Cone2.java in the 
> VTK/Examples/Tutorials/Step1 and Step2/Java.  However, when I try to run 
> SimpleVTK.java in VTK/Wrapping/Java/, I get a weird, uninformative "Bus error".
> Can anyone tell me why this is and what I can do to fix it?
> 
> Thanks,
> Surajit Nundy
> 
> 
> 
> --__--__--
> 
> Message: 4
> Date: Thu, 18 Jul 2002 18:44:20 -0400
> Subject: Re: [vtkusers] error messages: Mac OSX build..
> From: Yves Starreveld <ystarrev at uwo.ca>
> To: VTK HELP <vtkusers at public.kitware.com>,
> "K.R.Subramanian" <krs at cs.uncc.edu>
> 
> Bill is right.
> 
> I just checked in changes to CMake and VTK which will properly set the
> correct frameworks depending on the setting of the USE_COCOA and 
> USE_CARBON variables.
> 
> Yves
> On Thursday, July 18, 2002, at 03:24 PM, William A. Hoffman wrote:
> 
> > This is MacOSX specific.  It looks like you compiled for Coco, but are 
> > using
> > the Carbon framework.
> >
> > -Bill
> >
> >
> > At 03:19 PM 7/18/2002 -0400, K.R.Subramanian wrote:
> >> Does anyone have a clue about this message. This is on MacOSX..
> >> I searched for the undefined symbols on my SGI vtk libraries and didnt
> >> find any of them. Are these specific to Macs?
> >>
> 
> 
> --__--__--
> 
> Message: 5
> From: "Amer Abufadel" <amerdsp at hotmail.com>
> To: "vtk" <vtkusers at public.kitware.com>
> Date: Thu, 18 Jul 2002 23:42:50 -0700
> Subject: [vtkusers] Marching Cubes
> 
> Hello all,
>     I am very new to vtk and I finally got sometihng running on MDI MFC.
> What I have now is a dataset, a volume made of slices.  It is segmented, and
> I have the segmentation mask. All the variables are shorts.
> What is the best way to get an isosurface to display in the render window?
> What kind of data structures do I need to fill in order to call the marching
> cubes routine?
> 
> Thank you for your time and help.
> 
> Amer
> 
> --__--__--
> 
> Message: 6
> Date: Fri, 19 Jul 2002 00:01:23 -0400
> To: "Marko Rosenmueller" <dr at windos.de>,
> "Vtk Mailing List" <vtkusers at public.kitware.com>
> From: "Lisa S. Avila" <lisa.avila at kitware.com>
> Subject: Re: [vtkusers] Cropping with VolumePro
> 
> --=====================_3610265==.ALT
> Content-Type: text/plain; charset="us-ascii"; format=flowed
> 
> Hello Marko,
> 
> We have encountered clipping problems with the VolumePro 500, but we have 
> not (recently) encountered problems with cropping.  One test you might want 
> to try is to download the evaluation copy of VolView, load in your volume, 
> and play with the cropping. You can toggle between standard (ray casting / 
> texture mapping) rendering and VolumePro rendering. If you can reproduce 
> the problem in VolView, then let me know the size and type of your data and 
> I will try the same experiment here, and perhaps pass it along to TeraRecon.
> 
> Lisa
> 
> 
> 
> At 04:33 PM 7/18/2002, Marko Rosenmueller wrote:
> 
> >Hi vtkusers,
> >
> >
> >
> >i have some problems to do cropping with a VolumePro500. I have already 
> >implemented cropping with software-raycasting but when I switch to the 
> >VolumePro-Board I only get a black window. Without cropping all works fine.
> >
> >
> >
> >To enable cropping i do :
> >
> >
> >
> >m_pVolumeMapper->SetCropping(TRUE);          //m_pVolumeMapper is a 
> >vtkVolumeProMapper*
> >
> >m_pVolumeMapper->SetCroppingRegionFlagsToSubVolume();
> >
> >m_pVolumeMapper->SetCroppingRegionPlanes(100,200,100,200,100,200);
> >
> >
> >
> >The center of my volume is at (150,150,150) and with Software-Raycasting 
> >the crop-volume is as expected around the center.
> >
> >
> >
> >I also tried SetSubVolume:
> >
> >((vtkVolumeProMapper*)m_pVolumeMapper)->SetSubVolume(100,200,100,200,100,200);
> >
> >
> >
> >But this did not have an effect at all, the whole volume is rendered. Has 
> >the SubVolume rendering to be enabled? But How?
> >
> >
> >
> >Has anybody an idea?
> >
> >
> >
> >
> >
> >Thanks in advance,
> >
> >Marko
> 
> --=====================_3610265==.ALT
> Content-Type: text/html; charset="us-ascii"
> 
> <html>
> Hello Marko,<br><br>
> We have encountered clipping problems with the VolumePro 500, but we have
> not (recently) encountered problems with cropping.&nbsp; One test you
> might want to try is to download the evaluation copy of VolView, load in
> your volume, and play with the cropping. You can toggle between standard
> (ray casting / texture mapping) rendering and VolumePro rendering. If you
> can reproduce the problem in VolView, then let me know the size and type
> of your data and I will try the same experiment here, and perhaps pass it
> along to TeraRecon.<br><br>
> Lisa<br><br>
> <br><br>
> At 04:33 PM 7/18/2002, Marko Rosenmueller wrote:<br><br>
> <blockquote type=cite class=cite cite><font face="arial" size=2>Hi
> vtkusers,<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>i have some problems to do cropping with a
> VolumePro500. I have already implemented cropping with
> software-raycasting but when I switch to the VolumePro-Board I only get a
> black window. Without cropping all works fine.<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>To enable cropping i do :<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>m_pVolumeMapper-&gt;SetCropping(TRUE);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> //m_pVolumeMapper is a vtkVolumeProMapper*<br>
> </font><br>
> <font face="arial" size=2>m_pVolumeMapper-&gt;SetCroppingRegionFlagsToSubVolume();<br>
> </font><br>
> <font face="arial" size=2>m_pVolumeMapper-&gt;SetCroppingRegionPlanes(100,200,100,200,100,200);<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>The center of my volume is at (150,150,150) and
> with Software-Raycasting the crop-volume is as expected around the
> center. <br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>I also tried SetSubVolume:<br>
> </font><br>
> <font face="arial" size=2>((vtkVolumeProMapper*)m_pVolumeMapper)-&gt;SetSubVolume(100,200,100,200,100,200);<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>But this did not have an effect at all, the
> whole volume is rendered. Has the SubVolume rendering to be enabled? But
> How?<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>Has anybody an idea?<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>&nbsp;<br>
> </font><br>
> <font face="arial" size=2>Thanks in advance,<br>
> </font><br>
> <font face="arial" size=2>Marko</font></blockquote></html>
> 
> --=====================_3610265==.ALT--
> 
> 
> 
> --__--__--
> 
> Message: 7
> Date: Thu, 18 Jul 2002 23:40:30 -0500
> From: Song Li <lisong at vrac.iastate.edu>
> Reply-To: lisong at vrac.iastate.edu
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] pthread and sproc
> 
> 
> --------------80628FEF3C2A233E214D805B
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Hi,
>   I have an application which conflict with pthread, so I build VTK4.0
> by choosing "using pthread libs" 0 and "using sproc libs" 1, but my
> application still crashed, it had no problem when I use VTK3.2... any
> suggestions ??? did I do something wrong when build VTK??
>   The other strange thing is under vtk3.2's contrib directory, I can not
> find a way to compile vtkSocketCommunicator, it seems that there is no
> relevant option by viewing "configure --help", and defaultly this class
> is left not compiled , anybody knows how....
>   Thanks a lot!!!!
> 
> --
> Song Li
> VRAC(Virtual Reality Application Center),Iowa State University
> Email: lisong at vrac.iastate.edu
> Homepage: http://www.vrac.iastate.edu/~lisong
> 
> 
> 
> --------------80628FEF3C2A233E214D805B
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hi,
> <br>&nbsp; I have an application which conflict with pthread, so I build
> VTK4.0 by choosing "using pthread libs" 0 and "using sproc libs" 1, but
> my application still crashed, it had no problem when I use VTK3.2... any
> suggestions ??? did I do something wrong when build VTK??
> <br>&nbsp; The other strange thing is under vtk3.2's contrib directory,
> I can not find a way to compile vtkSocketCommunicator, it seems that there
> is no relevant option by viewing "configure --help", and defaultly this
> class is left not compiled , anybody knows how....
> <br>&nbsp; Thanks a lot!!!!
> <pre>--&nbsp;
> Song Li
> VRAC(Virtual Reality Application Center),Iowa State University
> Email: lisong at vrac.iastate.edu
> Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>
> &nbsp;</html>
> 
> --------------80628FEF3C2A233E214D805B--
> 
> 
> --__--__--
> 
> Message: 8
> Date: Fri, 19 Jul 2002 00:42:39 -0400
> From: "K.R.Subramanian" <krs at cs.uncc.edu>
> Organization: Univ. of N. Carolina at Charlotte
> To: VTK HELP <vtkusers at public.kitware.com>
> Subject: [vtkusers] coloring the cells of vtkDiskSource..
> 
> This is a multi-part message in MIME format.
> --------------7DD1C7E08A4E1478B5987694
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> 
> I had this piece of code working, but now it seems broken and always draws a fullywhite
> disk, ignoring the lookup table. I want to be able to control the color of the cells
> within a vtkDiskSource (fed
> via a lookuptable).. if anyone sees anything obviously wrong, I would appreciate it.
> The same code fed by a vtkStructuredPoints-->vtkGeometryFilter, does color
> the cells using this lookup table..
> 
> Thanks.
> 
>     -- krs
> 
> 
> 
> 
> --
> K.R.Subramanian                        Phone: (704) 687-4872
> Department of Computer Science         FAX:   (704) 687-4893
> UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
> Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs
> 
> 
> 
> --------------7DD1C7E08A4E1478B5987694
> Content-Type: text/plain; charset=us-ascii;
>  name="poly3.cc"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="poly3.cc"
> 
> #include <stdio.h>
> #include <vtkRenderer.h>
> #include <vtkRenderWindow.h>
> #include <vtkRenderWindowInteractor.h>
> #include <vtkPolyDataMapper.h>
> #include <vtkPoints.h>
> #include <vtkActor.h>
> #include <vtkInteractorStyleTrackball.h>
> #include <vtkStructuredGridGeometryFilter.h>
> #include <vtkGeometryFilter.h>
> #include <vtkStructuredGrid.h>
> #include <vtkStructuredPoints.h>
> #include <vtkLookupTable.h>
> #include <vtkPolyDataMapper.h>
> #include <fstream>
> #include <vtkIntArray.h>
> #include <vtkFloatArray.h>
> #include <vtkUnsignedCharArray.h>
> #include <vtkLookupTable.h>
> #include <vtkDiskSource.h>
> 
> 
> #define CIRC_RESN 5
> 
> void Read (double*, double*, double*, double*);
> main(int argc, char **argv)
> {
> vtkRenderer *renderer = vtkRenderer::New();
> renderer->SetBackground(0.1,0.3,0.8);
> 
> vtkRenderWindow *renWin = vtkRenderWindow::New();
> renWin->AddRenderer(renderer);
> renWin->SetSize(500,500);
> 
>     vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
>         iren->SetRenderWindow(renWin);
> 
> vtkInteractorStyleTrackball *trackball = vtkInteractorStyleTrackball::New();
> trackball->SetTrackballModeToTrackball();
> 
>     iren->SetInteractorStyle (trackball);
> 
> vtkDiskSource *ds = vtkDiskSource::New();
> ds->SetInnerRadius (0.1);
> ds->SetOuterRadius (1.);
> ds->SetRadialResolution (1);
> ds->SetCircumferentialResolution (CIRC_RESN);
> 
> vtkFloatArray *ia = vtkFloatArray::New();
> ia->SetNumberOfTuples (CIRC_RESN);
> 
> int j;
> for (j = 0; j < CIRC_RESN; j++)
> ia->SetValue (j, (float)j);
> 
> ds->GetOutput()->GetCellData()->SetScalars (ia);
> ds->Update();
> cout << "Number of Cells:" << ds->GetOutput()->GetNumberOfCells() << endl;
> 
> vtkLookupTable *lut = vtkLookupTable::New();
> lut->SetNumberOfColors (5);
> lut->SetTableRange (0., 4.);
> 
> lut->SetTableValue (0, 1., 0., 0.);
> lut->SetTableValue (1, 0., 1., 0.);
> lut->SetTableValue (2, 0., 0., 1.);
> lut->SetTableValue (3, 1., 1., 0.);
> lut->SetTableValue (4, 1., 0., 1.);
> 
> 
> vtkPolyDataMapper *pm = vtkPolyDataMapper::New();
> pm->SetLookupTable (lut);
> pm->SetInput (ds->GetOutput());
> pm->SetScalarModeToUseCellData();
> pm->ScalarVisibilityOn();
> pm->SetScalarRange(lut->GetTableRange());
> 
> vtkActor *a = vtkActor::New();
> a->SetMapper (pm);
> 
> renderer->AddActor (a);
> 
> renWin->Render();
> iren->Start();
> 
> renderer->Delete();
> renWin->Delete();
> iren->Delete();
> }
> /////////////////////////////////////////////////////////////////////////
> 
> --------------7DD1C7E08A4E1478B5987694--
> 
> 
> --__--__--
> 
> Message: 9
> Date: Fri, 19 Jul 2002 10:32:30 +0200 (CEST)
> From: Giancarlo Amati <amati at ira.cnr.it>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] cleaning frame buffer
> 
> Hello everybody,
> 
> I have the following problem: whan I start my application, my frame buffer 
> is completely black this mean that is empty and this is ok. After my first 
> visualization I stop my program closing it. When I will start again, my 
> visualization area contains my privious visualization image for few 
> seconds, this mean that the memory is not completely clear at that moment.
> Is there a vtk class of function that clean the framebuffer that I can 
> call before closing my application?
> 
> thank you very much.
> Giancarlo
> 
> -- 
> ----------------------------------------
> dott. Giancarlo Amati                  |
> (amati at ira.cnr.it)                     |
>                                        |
> National Research Council              |
> RadioAstronomical Institute            |
> office phone n. +39 051 6399405        |
> via Gobetti 101 - Bologna (Italy)      |
> ----------------------------------------
> 
> 
> --__--__--
> 
> Message: 10
> Date: Fri, 19 Jul 2002 11:16:33 +0200
> From: Simon Faust <simon.faust at post.rwth-aachen.de>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] Depthsorting of Actors
> 
> Hi,
> I want to use vtkDepthSortPolyData to render several objects in a
> backtofront-manner. Is there a way to use this Filter to sort a number
> of Actors? When I use the filter together with the PolyData of the
> actors (ie CubeSource) and merge them together in one assembly (like it
> is done in the example), I have the problem that I can't reset color and
> opacity of the objects after sorting. Is there a way to do that without
> writing a depthsort filter for actors on my own?
> Bye Simon
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
> 
> 
> End of vtkusers Digest


More information about the vtkusers mailing list