<HTML>
<HEAD>
<TITLE>Re: [vtkusers] vtkPointSpriteMapper...</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks for the tip Eric. I grabbed the code and was able to get it up and going. In looking through it, I haven&#8217;t been able to quite get things working in my application the way &nbsp;I&#8217;d like. <BR>
What I&#8217;d like to do is set up gl to render the points using point sprites, then using my own shader, procedurally define what is on the sprite. <BR>
Am I missing something or is this not possible with the current setup? I thought by using the glsl render mode I&#8217;d be able to do it but I don&#8217;t have enough control there (for instance,<BR>
I can&#8217;t add other shader variables to the property of the sprite mapper because there&#8217;s no interface to the underlying property). &nbsp;<BR>
Thanks again for pointing me out to this class.<BR>
Gerrick <BR>
<BR>
On 4/29/09 8:56 AM, &quot;Eric E. Monson&quot; &lt;<a href="emonson@cs.duke.edu">emonson@cs.duke.edu</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey Gerrick,<BR>
<BR>
This is a class that was developed by John Biddiscombe at CSCS as part of ParaView Meshless. You can see that project and links to download the source at:<BR>
<BR>
<a href="https://twiki.cscs.ch/twiki/bin/view/ParaViewMeshless">https://twiki.cscs.ch/twiki/bin/view/ParaViewMeshless</a><BR>
<BR>
The point sprite mapper can be built and used outside of ParaView in regular VTK apps. There are some changes that need to be made to the CMake files, though, if you want the Python wrapping to work.<BR>
<BR>
John has used this to deal with huge point data sets, and my understanding is that they are working right now to develop this as a standard ParaView representation plugin.<BR>
<BR>
-Eric<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'>------------------------------------------------------<BR>
Eric E Monson<BR>
Duke Visualization Technology Group<BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
On Apr 29, 2009, at 9:11 AM, Gerrick Bivins wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> Hi All,<BR>
&nbsp;I&#8217;ve loaded a point dataset successfully but the performance is very dependent on the number of points. I&#8217;d like to use point sprites in my application to accelerate performance. <BR>
&nbsp;I searched the archives and found mention of a point sprite mapper but I can&#8217;t find such a class anywhere in vtk.Is this a custom class? It it accessible to others? If not, is it possible to use point sprites in vtk? How are other users managing large point cloud type data sets?<BR>
&nbsp;BTW, I&#8217;m using VTK 5.2.<BR>
&nbsp;Gerrick <BR>
&nbsp;&nbsp;_______________________________________________<BR>
Powered by www.kitware.com &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>&gt; <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/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">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>