turning scene antialiasing might slow down your renders, this is normal.
Most graphic card do antialiasing by rendering a (at least) 2 times bigger image, that 
gets reduced.
If you're rendering 800*600, in fact, the graphic card renders a 1600*1200 scene. 
Depending on
your graphic card, that can be very slow.


At 03/03/2003 16:09:00, you wrote:
>Bob,
>
>Doing the stunt with the graphics config (as well as setting runtime arg 
>-Dj3d.implicitAntialiasing=true) does not seem to have any effect for me!
>
>Setting scene anti-aliasing (analogous to your 
>nch6.theSimpleUniverse.getViewer().getView().setSceneAntialiasingEnable(true);), 
>however turns my app into a slug!
>
>What works (for me, that is), however, for lines and points is the following :
>
>int width = 2;
>boolean antialias = true;
>
>for lines :
>appearance.setLineAttributes(new LineAttributes(width, LineAttributes.PATTERN_SOLID, 
>antialias));
>
>for points:
>appearance.setPointAttributes(new PointAttributes(width, antialias));
>
>see attached shots with antialias set to true and false, respectively
>
>
>
>
>
>  ----- Original Message -----
>  From: RWGRAY
>  To: [EMAIL PROTECTED]
>  Sent: Monday, March 03, 2003 2:02 PM
>  Subject: Re: [JAVA3D] anti aliasing
>
>
>  I am OpenGL.
>
>  Here is the code I used to switch to anti-aliasing:
>  ----------------------
>     GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
>     template.setSceneAntialiasing(template.PREFERRED);
>     GraphicsConfiguration config =
>           GraphicsEnvironment.getLocalGraphicsEnvironment().
>           getDefaultScreenDevice().getBestConfiguration(template);
>
>     nch6.theSimpleUniverse.getViewer().getView().setSceneAntialiasingEnable(true);
>  ---------------------
>  Is there some other parameter I need to set?
>
>  Cheers,
>  Bob Gray
>    -----Original Message-----
>    From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Hans 
> Horn
>    Sent: Monday, March 03, 2003 4:39 PM
>    To: [EMAIL PROTECTED]
>    Subject: Re: [JAVA3D] anti aliasing
>
>
>    Bob,
>
>    According to the docs, anti-aliasing (and thickness) of points and lines is only 
> supported under OpenGL, but not under DirectX. Are you using DirectX?
>
>    H.
>      ----- Original Message -----
>      From: RWGRAY
>      To: [EMAIL PROTECTED]
>      Sent: Monday, March 03, 2003 1:24 PM
>      Subject: Re: [JAVA3D] anti aliasing
>
>
>      I've  turn on anti-aliasing in an attempt to get better line quality.  It 
> seemed to have no effect for me.  So, I'd be interested in knowing exactly what you 
> did (what you set) to get better line quality.
>
>      Sorry I can't be of help for your problem. I hope someone can....
>
>      Cheers,
>      Bob Gray
>        -----Original Message-----
>        From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of 
> Hans Horn
>        Sent: Monday, March 03, 2003 4:13 PM
>        To: [EMAIL PROTECTED]
>        Subject: [JAVA3D] anti aliasing
>
>
>        Dear all,
>
>        I'm trying to figure out how to use anti-aliasing in my scenes as I'm =
>        not too content with the normal display quality I get.
>        I found that I can turn anti-aliasing on via attributes for lines and =
>        points. The few lines I'm displaying in my scenes are indeed getting =
>        drawn much nicer after doing that.
>        However, most of what's displayed are 3d objects. What about =
>        anti-aliasing for those?
>
>        I've found out, that I can turn anti-aliasing on for the entire scene =
>        (calling setSceneAntialiasingEnable(true) on the view). But this =
>        converts my snappy scene into a totally non-responsive still picture to =
>        the point of becoming absolutely useless.
>
>        Does anybody know how to have primitives anti-aliased?
>
>        H.
>

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