[vtkusers] How to improve the volume rendering's speed?
Amy Squillacote
ahs at cfdrc.com
Thu Mar 13 09:29:44 EDT 2008
VTK supports a few different volume rendering methods. (See
http://www.vtk.org/doc/nightly/html/classvtkVolumeMapper.html for the
ones currently in VTK.) The hardware-based methods (e.g.,
vtkVolumeTextureMapper2D and vtkVolumeTextureMapper3D) will be faster
than raycasting but not as accurate. You could use vtkLODProp3D
(http://www.vtk.org/doc/nightly/html/classvtkLODProp3D.html) to choose a
fast rendering method for when you're interacting with the 3D scene
(e.g., rotating, panning, etc. with the mouse in the render window) and
a slower method when you stop interacting.
Some of the volume mappers operate only on certain types of scalar data,
but none of them care what method you used to get your data into VTK.
- Amy
Cameron Burnett wrote:
> I'm doing the same thing with my project at the moment. I've read that
> its a very slow algorithm, yet its highly accurate... so i'm not so
> sure if there is a lot that can be done. However I thought that maybe
> you could wrap the outside of the object with a low poly mesh or
> something, but I haven't really given it much thought. The problem I
> had was that I was reading in DICOM data, and I'm fairly sure there
> isn't many more methods other than the ray cast one that I could use
> for that format. I'm a noob though, so I could be very wrong :P.
>
>
>
> ------------------------------------------------------------------------
> From: zhaojunxp at hotmail.com
> To: vtkusers at vtk.org
> Date: Thu, 13 Mar 2008 16:27:15 +0800
> Subject: [vtkusers] How to improve the volume rendering's speed?
>
> Hi, vtk users,
> now I am doing volume rendering with ray casting method. but I
> find it is very slow especially when the image number is more than
> one hundred, and I want to improve the volume rendering's speed,
> is there any good idea to do it? any idea would be appreciated~
> and thank you very much!
> Mark
>
> ------------------------------------------------------------------------
> “七件武器,七种完美” 立刻体验! <http://get.live.cn>
>
>
> ------------------------------------------------------------------------
> Find it at www.seek.com.au Your Future Starts Here. Dream it? Then be
> it!
> <http://a.ninemsn.com.au/b.aspx?URL=http://ninemsn.seek.com.au/%3Ftracking%3Dsk:het:sk:nine:0:hot:text&_t=764565661&_r=OCT07_endtext_Future&_m=EXT>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Amy Squillacote Phone: (256) 726-4839
Computer Scientist Fax: (256) 726-4806
CFD Research Corporation Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL 35805
More information about the vtkusers
mailing list