[vtkusers] VTK rendering pipeline - ray casting

Julien Finet julien.finet at kitware.com
Fri Sep 30 08:03:29 EDT 2011


Hi Juan,
if you use a cellpicker, keep in mind that the volume ray caster is under
the hood a cube with 6 faces (technically, with 12triangular faces). So you
always pick the bounds of the volume.
Are you sure you are interested in the cell and not the 3D position ?
julien.

On Fri, Sep 30, 2011 at 7:38 AM, Juan Carlos Prieto <
prieto at creatis.insa-lyon.fr> wrote:

> **
> Hi Julien,
>
> Thank you very much for the presentation, I kept on looking and I saw that
> using a vtkCellPicker might do the job of finding the intersection of a ray
> against an actor in a renderer.
> To do this, I'm moving the camera to look in the direction where I want the
> intersection to happen, but it seems that after producing the pick, it
> always finds the same cell in the actor.
>
> Can you give me some suggestion on how should I do this?
>
> Thank you very much
>
> Le 29/09/2011 20:22, Julien Finet a écrit :
>
> Hi Juan,
>
>
>  You can find a GPU ray casting high level presentation in the Kitware
> Source of October 2009:
> http://www.kitware.com/products/archive/kitware_quarterly0708.pdf
>
>  Hth,
> Julien.
>
> On Thu, Sep 29, 2011 at 11:54 AM, Juan Carlos Prieto <
> prieto at creatis.insa-lyon.fr> wrote:
>
>>  Dear VTK Users,
>>
>> I was wondering if anyone can point me out to the documentation of the VTK
>> rendering pipeline, I want to analyze how the ray casting is done as I came
>> across a little problem where I need find the point of intersection in the
>> surface.
>>
>> Thank you very much.
>>
>> --
>> Juan Carlos Prieto
>> Phd Student
>> CREATIS <http://www.creatis.insa-lyon.fr> Tel:+33472438918
>> 7 Av Jean Capelle
>> 69621 Villeurbanne Cedex
>> France
>> Personal page <http://www.creatis.insa-lyon.fr/%7Eprieto>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
> --
> Juan Carlos Prieto
> Phd Student
> CREATIS <http://www.creatis.insa-lyon.fr> Tel:+33472438918
> 7 Av Jean Capelle
> 69621 Villeurbanne Cedex
> France
> Personal page <http://www.creatis.insa-lyon.fr/%7Eprieto>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110930/e01fc92d/attachment.htm>


More information about the vtkusers mailing list