Turn off antialiasing in polyLineVisual3D
#1
When I draw a straight, slightly diagonal line using polyLineVisual3D it draws it with antialiasing. I don't want it drawn with antialiasing - I'd prefer to just have sharp staircasing. How do I turn off the antialiasing?

I've attached an enlarged screen capture that shows the antialiasing.

The code that generates this looks like:

Code:
MainViewport.BeginInit();
                var polyLineVisual3D = new Ab3d.Visuals.PolyLineVisual3D()
                {
                    Positions = simplePositionCollection,
                    LineColor = color,
                    LineThickness = thickness,   // =1
                    Transform = new TranslateTransform3D(-(aw / 2), (ah / 2), 0)  
                };
                MainViewport.Children.Add(polyLineVisual3D);
                MainViewport.EndInit();
   

Thanks in advance!
  


Messages In This Thread
Turn off antialiasing in polyLineVisual3D - by pnelsonAG - 04-14-2017, 10:11 PM

Forum Jump:


Users browsing this thread:
2 Guest(s)