Tr: Re : [vtkusers] Volume rendering
Cory Quammen
cquammen at cs.unc.edu
Fri Feb 22 08:13:46 EST 2008
Mohamed,
To get hardware acceleration, it should be as easy as swapping out the
vtkVolumeRayCastMapper with a vtkVolumeTextureMapper3D. You can also
get rid of the the composite function because the
vtkVolumeTextureMapper3D doesn't take such a function.
Depending on your graphics hardware, you should see excellent speedup
in rendering.
Hope that helps,
Cory
On Fri, Feb 22, 2008 at 4:26 AM, Mohamed Ben Reguiga
<breguiga_mh at yahoo.fr> wrote:
>
>
>
>
>
>
> Hello Mark,
> thank you for your answer, I see that you are familiar whith VTK.
> Yes, I'm using software based mapper , it's my first test of rendering
> volumes.
> could you please telle me morte about the hardware mappers , I don't know
> them and if it's possible to use them with VTK.
> thank you a lot for your help.
>
>
> ----- Message d'origine ----
> De : Mark Wyszomierski <markww at gmail.com>
> À : Mohamed Ben Reguiga <breguiga_mh at yahoo.fr>
> Cc : VTK_Users <vtkusers at vtk.org>
> Envoyé le : Vendredi, 22 Février 2008, 8h53mn 43s
> Objet : Re: [vtkusers] Volume rendering
>
>
> I wish I could be of more help, it looks like you're using a software
> based mapper (vtkVolumeRayCastMapper) which for decently sized
> datasets on a single CPU system can really hang things up, at least in
> my experience. You can try downing the resolution of the volume, or at
> least to speed up interactive rendering, you can reduce the sampling
> factors (but then you may get a really really blurry blob, as best I
> can describe it!).
>
> I've had a lot of success using the software mappers on multicore
> systems, the performance is pretty impressive.
>
> In applications where I've used these mappers, I put in the choice to
> switch to one of the hardware mappers which are pretty quick.
>
> Since you never know what machine the app may run on, it's good to
> have a choice.
>
> Hope that helps somewhat,
>
> Mark
>
>
> >
>
>
>
> ________________________________
> Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live +
> stockage illimité.
>
>
> ________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
> _______________________________________________
> 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
>
>
--
Cory Quammen
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen
More information about the vtkusers
mailing list