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:
Thanks in advance!
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!