Hello all,<br>One can specify the radius of a vtkRegularPolygonSource<br>in world coordinates. However, this can make the markers<br>look non-uniform on the per-pixel level if one uses a glyph3D.<br>I guess this happens when world values are transformed<br>
into actual pixel values.<br><br>I cannot use a Glyph2D or a PolyDataMapper2D in my case<br>Here is some code:<br><br>m_markersource = vtkRegularPolygonSource::New();<br>m_markersource->SetNumberOfSides(4);<br>m_markersource->SetGeneratePolygon(0);<br>
m_markersource->SetRadius(radius-in-world-coordinates)<br><br>m_markerglyphs = vtkGlyph3D::New();<br>m_markerglyphs->SetSource(m_markersource->GetOutput());<br><br>Best regards,<br>Oliver<br>