Re: [Paraview] question about points size

2008-09-20 Thread Dominik Szczerba
Hmmm. I do find a call to glPointSize in ParaView source, but calling it in my custom code: glyph->SetGlyphTypeToVertex(); glyph->SetScale(5); glyph->SetScale2(5); glPointSize(5.0); still displays the vertex glyphs as 1-point pixels. So there must be more magic P

Re: [Paraview] question about points size

2008-09-19 Thread David E DeMarle
It lets GL so it. Ie it sends exactly the same polygons as for wireframe or surface mode, but calls glBegin(GL_POINTS) and glSetFloatV(GL_POINT_SIZE) before doing so in this mode. cheers, Dave DeMarle On Fri, Sep 19, 2008 at 5:01 AM, Dominik Szczerba <[EMAIL PROTECTED]> wrote: > I wonder how Poin

[Paraview] question about points size

2008-09-19 Thread Dominik Szczerba
I wonder how PointSize is implemented in representation->points in ParaView. Is it achieved with vtkGlyphSource2D/Vertex and setting the glyph size? It works neatly in PV but I must achieve a similar effect using VTK and despite setting glyph size I always get a tiny pixel. When I use vtkGlyphS