I'm trying to turn on the anti aliasing features of Java 3D, but am
having some trouble with it. I'm setting calling
setSceneAntialiasingEnable(true) on my View object. For my lines, I'm
also explicitly enabling anti aliasing by adding it to my material:
Appearance app = new Appearance();
LineAttributes la = new LineAttributes(4f,
LineAttributes.PATTERN_SOLID, true);
app.setLineAttributes(la);
Sill, everything still suffers from the jaggies. I want my entire
scene to be antialiased. Is there a way to do this?
Mark McKay
--
http://www.kitfox.com
Mark McKay - 15 Jan 2004 20:59 GMT
> I'm trying to turn on the anti aliasing features of Java 3D, but am
> having some trouble with it. I'm setting calling
[quoted text clipped - 10 lines]
>
> Mark McKay
Looks like the answer to this question is that anti-aliasing is only
available with the OpenGL version of the downloaded driver. On top of
that, anti aliasing really slows down the processing, so it looks like
I won't be using it.
Also, a call to the following is required before any Java3D routines
are called:
System.setProperty("j3d.implicitAntialiasing", "true");
Mark McKay
--
http://www.kitfox.com