[vtkusers] vtkPointSpriteMapper...

Gerrick Bivins gbivins at objectreservoir.com
Thu Apr 30 10:42:16 EDT 2009


Thanks for the tip Eric. I grabbed the code and was able to get it up and
going. In looking through it, I haven¹t been able to quite get things
working in my application the way  I¹d like.
What I¹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.
Am I missing something or is this not possible with the current setup? I
thought by using the glsl render mode I¹d be able to do it but I don¹t have
enough control there (for instance,
I can¹t add other shader variables to the property of the sprite mapper
because there¹s no interface to the underlying property).
Thanks again for pointing me out to this class.
Gerrick 

On 4/29/09 8:56 AM, "Eric E. Monson" <emonson at cs.duke.edu> wrote:

> Hey Gerrick,
> 
> 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:
> 
> https://twiki.cscs.ch/twiki/bin/view/ParaViewMeshless
> 
> 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.
> 
> 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.
> 
> -Eric
> 
>  
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
> 
>  
> 
> On Apr 29, 2009, at 9:11 AM, Gerrick Bivins wrote:
> 
>>  Hi All,
>>  I¹ve loaded a point dataset successfully but the performance is very
>> dependent on the number of points. I¹d like to use point sprites in my
>> application to accelerate performance.
>>  I searched the archives and found mention of a point sprite mapper but I
>> can¹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?
>>  BTW, I¹m using VTK 5.2.
>>  Gerrick 
>>   _______________________________________________
>> Powered by www.kitware.com <http://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
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090430/afa93872/attachment.htm>


More information about the vtkusers mailing list