Tr: Re : [vtkusers] Volume rendering

Mark Wyszomierski markww at gmail.com
Fri Feb 22 09:27:29 EST 2008


Cory is right, it should be very straight forward. I should warn you
though that in MY experience, the fixed point ray caster volume mapper
offers a higher quality rendering (but possibly much longer render
times) than the hardware mapper. I don't know if you will be able to
see the difference, but in datasets where I had fine organic
structures, the software mapper did a nicer job of rendering. Again,
only my experience.

If you want to see the hardware mapper in use, I had an example of
volume rendering a DICOM dataset with it up here:

http://devsample.org/index.php?option=com_content&task=view&id=18&Itemid=1

Thanks,
Mark

On Fri, Feb 22, 2008 at 8:13 AM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> 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
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list