In the LineAttributes node there is an anti-aliasing bit which can be set,
it does affect performance if the scene is complex.
        LineAttributes(float lineWidth, int linePattern, boolean
lineAntialiasing)
(Antialiasing is available for point, line, and polygon attributes)

I usually create a variable to select/de-select this attribute before
creating the scenegraph. That way I can change the aliasing for the whole
scene with one variable. Sometimes I've added a button to my application to
make it even easier.

boolean aa = false;

  LineAttributes la2 = new LineAttributes(1.0f,
LineAttributes.PATTERN_SOLID, aa);
  Appearance appearance3 = new Appearance();
  appearance3.setLineAttributes(la2);

I suppose you could even set it up to work off of framerate, turning
antialiasing off if the framerate drops below some threshold.

Hope this helps


-----Original Message-----
From: Dean Keeler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 10:05 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Rendering Quality


Hi All,

I have a question regarding the rendering quality.  Currently when I run my
application, the line created by to objects against each other looks very
saw-toothed or jagged, not small jagged edges but large ones.  The scene
that is rendered is not as crisp as I think it should be.  i am using a vrml
file for my scene.  When I run this same vrml file in the Cosmo Vrml Player,
the scene is very crisp.  Is there anything that I can do about this?  Are
there settings that can be set to improve the render quality and make the
scene look more crisp?  I would appreciate any help you can give me.

Thanks,

Dean

===========================================================================
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".

Reply via email to