views:

9

answers:

0

How can I apply antialiasing to instances of Shape3D in Java?

I have tried something along these lines:

// enable antialiasing 
Appearance planeApp = new Appearance();
LineAttributes la = new LineAttributes();
la.setLineAntialiasingEnable(true);
planeApp.setLineAttributes(la);

myShape.setAppearance(planeApp);