I'm trying to enable antialiasing for a scene I'm rendering in Java 3D. I believe I"ve done everything I need to do, but still my scenes are not antialiased. I've tried this on three computers now, each with great video cards.
I am:
- Making sure to request a canvas with antialiasing abilities GraphicsConfigTemplate3D gct3 = new GraphicsConfigTemplate3D(); gct3.setSceneAntialiasing(GraphicsConfigTemplate3D.PREFERRED);
- Checking that antialiasing is enabled on the resulting Canvas3D (canvas3D.getSceneAntialiasingAvailable() returns true)
- Enabling antialiasing on my view view.setSceneAntialiasingEnable(true); view.getSceneAntialiasingEnable() returns true
However, my polygons are still not antialiased.
On top of this, my lines are not anti aliased either, even though I set this option on it's appearance. (My lines are also only one pixel wide, even though I'm giving them a width of 4 in their material).
I've even made a call to System.setProperty("j3d.implicitAntialiasing", "true"); However, this isn't enabling antialiasing either.
Could anyone point out what I'm doing wrong?
Mark McKay -- http://www.kitfox.com
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".