<div dir="ltr"><div>Most likely the only difference is that VTK sets up OSPRay's volume sampling differently than the OSPRay demos do.<br>You will find how it is setup here:<br> <a href="https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx#L255">https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx#L255</a><br><br></div>Note also: starting with ParaView 5.3, if you start ParaView with --enable-streaming, and set "Progressive Passes" on the Properties panel to something higher than one, ParaView will do progressive refinement like you see in the OSPRay demos.<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 3, 2017 at 5:46 PM, Alexander Devaykin <span dir="ltr"><<a href="mailto:xaxellx@gmail.com" target="_blank">xaxellx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello everyone,<br><br></div>I wonder how
does OSPRay-based volume renderer in VTK, used in ParaView, is able to
produce volume images with smooth surface from the first pass (without
buffer accumulation).<br><br></div>OSPRay raw volume rendering e.g.
using OSPRay demos, results in very densly sampled volumes. It looks
like only one sample per voxel is taken which results in one pixel per
voxel colored in the first pass at some regions (image 1). Only after
several accumulation passes the rendering produces smooth image (image
3).<br><br></div>In contrast to that, volume rendering in ParaView via
OSPRay shows smooth image after first pass (image 4) with a little bit
of densly sampled artifacts. It actually looks like no frames
accumulation is active at all, because I no difference is visible
between moving and resting camera. Zooming in also keeps the image
smooth (image 5).<br><br></div>Any articles or hints about what is going
on behind the scenes? I'm digging into the VTK source code but no
understanding so far. OSPRay seems to be configured just like I do in my application, but VTK seems to do the magic somewhere else.<br><br></div><div>Screenshots or standalone OSPRay and ParaView-OSPRay renderings are attachend.<br></div><div><br></div>Best Regards,<br></div>Alexander Devaykin</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>