[vtkusers] Ray tracing on global scene
David E DeMarle
dave.demarle at kitware.com
Fri Mar 11 11:04:39 EST 2016
Both exporters and pvmanta and pvospray work on the global scene (draw
everything within a renderer).
The manta and ospray options are just barely external. You compile them
into VTK and then they take the geometry created by VTK and hand it over to
the ray tracer before updating the renderwindow in the nearly the same way
that we normally hand over the geometry to OpenGL for rasterization before
updating the window.
In a few days time I'll be merging the successor to those earlier works
directly into VTK master. You can follow along until then here:
https://gitlab.kitware.com/demarle/vtk/tree/ospray-rendering
Besides those, you should also be aware of this paper (
https://blog.kitware.com/ray-casting-ray-tracing-with-vtk/) by Adamos
Kyriakou which shows how you might go about writing a ray traced surface
renderer starting from relevant parts of VTK.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Fri, Mar 11, 2016 at 10:23 AM, Bruno Oliveira <
bruno.manata.oliveira at gmail.com> wrote:
> Thank you for your answer. But do I really need to export to an external
> tool? Can't it be done internally with VTK (for the global scene)?
>
> 2016-03-11 14:45 GMT+00:00 David E DeMarle <dave.demarle at kitware.com>:
>
>> You can use one of the exporters to export the visible geometry into an
>> input format for some other tool (like RIB exporter to RenderMan).
>>
>> You can use the VTK directory from ParaView's Manta or Ospray plugins to
>> export directly to the SCI Instititues Manta or Intel's OSPRay interactive
>> ray tracing engine.
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>> On Fri, Mar 11, 2016 at 9:27 AM, Bruno Oliveira <
>> bruno.manata.oliveira at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I have a complex scene (various actors/objects, from various sources and
>>> importers) and I want to perform ray tracing on the global scene, i.e. on
>>> the various objects simultaneously.
>>>
>>> Is this possible? How?
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>
>>>
>>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160311/d73c7efa/attachment.html>
More information about the vtkusers
mailing list