<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Recapping, hopefully the relevant bits:<div class=""><br class=""><div class="">Pipeline: PgmableSource -> Glyph (only show Glyph)</div><div class=""><br class=""></div><div class="">Glyph Properties: </div><div class=""> Source: 2D Glyph</div><div class=""> Type: Vertex</div><div class=""> Active Attrs: Scalars: cell_radius</div><div class=""> Scaling: Mode: scalar</div><div class=""> Factor: 1</div><div class=""><br class=""></div><div class="">OSPRay Use Scale Array - yes</div><div class=""> Scale Array: cell_radius</div><div class="">Enable OSPRay - yes</div><div class=""><br class=""></div><div class=""><div class="">Let’s say my cell_radius has a range [5,10]</div></div><div class=""><br class=""></div><div class="">I cannot figure out how to scale up my cells to be large enough. I’ve dabbled with the OSPRay Scale Function editor, with no success.</div><div class=""><br class=""></div><div class="">The Scaling Factor above seems to have no effect. Is there a global scaling factor I’m missing?</div><div class=""><br class=""></div><div class="">(irrelevant bit, I think… I’m Masking: Every Nth Point)</div><div class=""><br class=""></div><div class="">I’ll experiment with my simple 2 cell example later…</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Oct 25, 2017, at 5:19 PM, Heiland, Randy <<a href="mailto:heiland@iu.edu" class="">heiland@iu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Beauty. Thanks!! (I really need to take time to read the entire PV Guide)<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 25, 2017, at 5:14 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" class="">dave.demarle@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">click the gear to show advanced properties, or use search field for glyph type.<div class=""><br class=""><div class=""><br class=""></div></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">David E DeMarle<br class="">Kitware, Inc.<br class="">Principal Engineer<br class="">21 Corporate Drive<br class="">Clifton Park, NY 12065-8662<br class="">Phone: 518-881-4909</div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy <span dir="ltr" class=""><<a href="mailto:heiland@iu.edu" target="_blank" class="">heiland@iu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then where is VERTEX? In the Display block, I choose Representation = Points which produces a blobby mess. But a very *smooth* blobby mess :)<div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 25, 2017, at 4:46 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank" class="">dave.demarle@kitware.com</a>> wrote:</div><br class="m_3500654258619732412Apple-interchange-newline"><div class=""><div dir="ltr" class="">That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource.<div class=""><br class=""></div><div class="">In the glyph filter, use 2D glyph, VERTEX.</div><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div></div></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="m_3500654258619732412gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">David E DeMarle<br class="">Kitware, Inc.<br class="">Principal Engineer<br class=""><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g" class="">21 Corporate Drive</a><br class=""><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g" class="">Clifton Park, NY 12065</a>-8662<br class="">Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank" class="">518-881-4909</a></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy <span dir="ltr" class=""><<a href="mailto:heiland@iu.edu" target="_blank" class="">heiland@iu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface).<div class=""><br class=""></div><div class="">If I could independently scale the implicit spheres and use OSPRay, I’d prefer that until I do the vtkCutter. (thanks for confirming, Note 2)<div class=""><div class="m_3500654258619732412h5"><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 25, 2017, at 3:35 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank" class="">dave.demarle@kitware.com</a>> wrote:</div><br class="m_3500654258619732412m_9192556120180563392Apple-interchange-newline"><div class=""><div dir="ltr" class="">To change the size based on values:<div class="">check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab<div class=""><div class="">Choose the array name you want to scale by with "OSPRay Scale Array" pulldown.</div><div class="">Define your value to radius transfer function via the "OSPRay Scale Function" popup editor.</div><div class=""><br class=""></div><div class="">Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max.</div><div class=""><br class=""></div><div class="">Note 2:Cutter will not cut through the implicit spheres.</div><div class=""><br class=""></div><div class="">Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side.</div><div class=""><br class=""></div></div></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="m_3500654258619732412m_9192556120180563392gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">David E DeMarle<br class="">Kitware, Inc.<br class="">Principal Engineer<br class=""><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g" target="_blank" class="">21 Corporate Drive</a><br class=""><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g" target="_blank" class="">Clifton Park, NY 12065</a>-8662<br class="">Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank" class="">518-881-4909</a></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy <span dir="ltr" class=""><<a href="mailto:heiland@iu.edu" target="_blank" class="">heiland@iu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just want to make sure I’m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I’m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later.<br class="">
<br class="">
thanks, Randy<br class="">______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/opensou<wbr class="">rce/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">http://paraview.org/Wiki/ParaV<wbr class="">iew</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">http://markmail.org/search/?q=<wbr class="">ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mail<wbr class="">man/listinfo/paraview</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Powered by <a href="http://www.kitware.com" class="">www.kitware.com</a><br class=""><br class="">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" class="">http://www.kitware.com/opensource/opensource.html</a><br class=""><br class="">Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" class="">http://paraview.org/Wiki/ParaView</a><br class=""><br class="">Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" class="">http://markmail.org/search/?q=ParaView</a><br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class=""><a href="http://public.kitware.com/mailman/listinfo/paraview" class="">http://public.kitware.com/mailman/listinfo/paraview</a><br class=""></div></blockquote></div><br class=""></div></div></body></html>