Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / January 2004

Tip: Looking for answers? Try searching our database.

Anti aliasing Java3D

Thread view: 
Mark McKay - 13 Jan 2004 21:46 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
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.