[vtkusers] About static particle system visualization
Alfredo Metere
alfredo.metere at mmk.su.se
Sun Jun 9 17:49:04 EDT 2013
Hi,
I am DESPERATE trying to implement impostor graphic rendering of spheres
in VTK using GLSL.
Here's the workflow that I use to render the particle positions:
1 - CSV file -> vtkPoints
2 - vtkPoints -> vtkPolyData
3 - vtkPolyData -> vtkGlyph3D
4 - vtkGlyph3D -> SetSource -> vtkPlaneSource
5 - vtkGlyph3D -> vtkPolyDataMapper
6 - vtkPolyDataMapper -> vtkActor
7 - vtkActor -> vtkProperty -> Load Material File in XML
8 - vtkActor -> ShaderOn()
9 - vtkRenderer - > AddActor
10 - vtkRenderer -> SetActiveCamera
Big Problem:
I've tried to write a vertex shader in order to keep the quads aligned
to the view without ANY success.
This very vertex shader works great in RenderMonkey and other Shader
compilers with no problem. I've no idea why it is not working.
Is there a way to use OpenGL point sprites instead?
Thanks in advance
--
PhD Candidate
Stockholm University, Sweden
Postal Address:
Alfredo Metere
c/o Arrhenius Laboratoriet (MMK)
Svante Arrhenius Väg. 16C
10691 - Stockholm
Sweden
More information about the vtkusers
mailing list