[vtkusers] plot 3d points
John Biddiscombe
biddisco at cscs.ch
Mon Oct 23 05:30:13 EDT 2006
note that
svn co https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/ vtkCSCS
will checkout the code into a vtkCSCS directory
JB
> Already done this. Have a look at vtkPointSpriteMapper which can use
> Shaders or Point sprites (or just plain glPoint) to render fast spheres.
>
> https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/
>
> JB
> also sparticles on
> http://www.cscs.ch/a-display.php?id=170
>
>
>
> Dominik Szczerba wrote:
>> The best would be to write your own mapper displaying the point cloud
>> as glPoints. glPoints work very well for large N giving fast yet
>> still nice poor man's volume feel.
>> --DS
>>
>> On Sunday 22 October 2006 22:16, Marty Humperdink wrote:
>>
>>> I have several long lists of x,y,z coordinates that I
>>> would like to plot in an efficient manner. After
>>> searching the terms 'plot 3d points' in the mailing
>>> list archive I came up with some suggestions and
>>> implemented one using vtkGlyph3d and vtkSphereSource.
>>> Its very slow, though, and can crash with too many
>>> points (>2000).
>>>
>>> I'm looking for a way to plot this x,y,z coordinate
>>> data quickly. I can do what I want in Matlab/Octave
>>> using the command:
>>>
>>> plot3(ptsX,ptsY,ptsZ,'b.')
>>>
>>> where ptsX, ptsY, and ptsZ are the coordinates 'b.'
>>> indicates that I want a small blue dot as the point
>>> marker.
>>>
>>> Can someone please make a suggestion? I realize that
>>> this is a rudimentary question and I'm having trouble
>>> probably because I don't fully understand VTK data
>>> representation but would very much appreciate someone
>>> pointing me in the right direction.
>>>
>>> Thanks
>>> Marty
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>> _______________________________________________
>>> This is the private VTK discussion list.
>>> Please keep messages on-topic. Check the FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to
>>> subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>>
>
>
--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the vtkusers
mailing list