[vtkusers] Shadow support on volume rendering

David E DeMarle dave.demarle at kitware.com
Tue Oct 11 09:17:13 EDT 2016


Sorry no, you will have to render the entire scene with OSPRay. Do that by
inserting the OSPRayPass into the render.

The path to OSPRay volume rendering inside the smart volume mapper won't
cast shadows on the surfaces because in that case surfaces are rendered
independently via OpenGL. The only interaction between the two then is the
way depths from the surfaces limit volume rendering traversals.

When you do get to trying it out, please let us know what you find via the
mailing list and/or bug tracker. This is very new functionality so I expect
there will be kinks for a while.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Oct 11, 2016 at 9:05 AM, ianl <ilindsay at insigniamedical.co.uk>
wrote:

> Thanks for the heads up, that sounds great. I am currently working on
> another project at the moment, but when I am back on our volume rendering,
> I will give it a go. Is it just a case of setting the relevant mode on
> vtkSmartVolumeMapper (I noticed the new setting - OSPRayRenderMode), or is
> there more to it?
>
> Thanks for all the hard work,
>
> Ian Lindsay
>
> On 11/10/2016 13:45, David E DeMarle [via VTK] wrote:
>
> Just letting you know that shadow casting volumes are available now in VTK
> master and ParaView 5.2.0.rc1 thanks to new capability in OSPRay 1.1.0.
>
>>  Screenshot from 2016-10-11 08-29-15.png
> <https://drive.google.com/a/kitware.com/file/d/0B_7IiYwK1X_MbVFWbDJuS1ZPTjA/view?usp=drive_web>
>>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Fri, Sep 2, 2016 at 11:54 AM, David E DeMarle <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5740725&i=0>> wrote:
>
>> We are working toward that via Rendering/OSPRay, stay tuned.
>>
>> It will be a few months probably. First we have to expose volumes, then
>> OSPRay's volumes have to support shadows.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: <a href=<a class="moz-txt-link-rfc2396E" href="tel:518-881-4909
>> ">"tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909
>>
>> On Fri, Sep 2, 2016 at 3:59 AM, ianl <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5740725&i=1>> wrote:
>>
>>> Thanks for the quick reply - I suspected as much.
>>>
>>> It was more of a case of seeing that an easy way of turning shadows on
>>> was
>>> available and of trying it out to see what it looked like to determine
>>> whether it was something we could offer our customers as an option (and
>>> it
>>> looks good at shows!).
>>>
>>> I take your point that it probably makes the visualisation more 'busy'
>>> and
>>> may hide areas in shade that would otherwise be seen. I was interested in
>>> whether a subtle shadow made depth perception a bit easier.
>>>
>>> >From a quick google, examples of renders of medical data with shadows
>>> on are
>>> few and far between. This is a fairly nice example:
>>> http://medvis.org/wp-content/uploads/2011/10/example_03.png . This may
>>> well
>>> be due to quite a lot of them being based on VTK though!
>>>
>>> Ian
>>>
>>>
>>>
>>> --
>>> View this message in context: http://vtk.1045678.n5.nabble.c
>>> om/Shadow-support-on-volume-rendering-tp5740094p5740103.html
>>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> 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
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://vtk.1045678.n5.nabble.com/Shadow-support-on-volume-
> rendering-tp5740094p5740725.html
> To unsubscribe from Shadow support on volume rendering, click here.
> NAML
> <http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> ------------------------------
>
> *Mr Ian Lindsay - Senior Software Engineer, Imaging Specialist * *T:* +44
> (0)1256 247010 *E*: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5740727&i=0>
> Insignia Medical Systems Limited, Norfolk House, Summerlea Court
> Herriard, Hampshire RG25 2PN, UK
> Company Number - 3867976
> www.insigniamedical.co.uk
>
> ------------------------------
> CONFIDENTIALITY NOTICE
> This message is only for the use of the intended individual
> or entity and may contain information that is confidenti
> al, or subject to copyright.
> If you are not the intended recipient, you are hereby notifi
> ed that any dissemination, copying or distribution of
> this message, or any associated files, is strictly prohibited.
> If you have received this message in error, please notify
> us immediately by replying to the message, and delete it
> from your computer.
> Messages sent to and from Insignia Medical Systems Limited m
> ay be monitored.
> Any views or opinions presented are solely those of the
> author and do not necessarily represent those of the company.
> ------------------------------
> View this message in context: Re: Shadow support on volume rendering
> <http://vtk.1045678.n5.nabble.com/Shadow-support-on-volume-rendering-tp5740094p5740727.html>
>
> Sent from the VTK - Users mailing list archive
> <http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html> at Nabble.com.
>
> _______________________________________________
> 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/20161011/3d6dbc25/attachment.html>


More information about the vtkusers mailing list