Jump to content
  • Advertisement
Sign in to follow this  
EternityZA

Forcing on Anti-Aliasing

This topic is 3717 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

my 3D app currently have no Anti-Aliasing, however when i go to my graphics card control panel i can force a certain level of Anti-Aliasing for all 3d aplications. This works perfectly fine for my 3d app but i dont want to change stuff in my graphics card settings for my app to work like i want it to. instead how can i force on Anti-Aliasing in my program itself i have a ATI card and i use java with the jogl wrapper (dont think this makes any difference though)

Share this post


Link to post
Share on other sites
Advertisement
This is off the top of my head, so I'm not sure how correct it is:

glHint( GL_POLYGON_SMOOTH_HINT, GL_NICEST );//optional, tell it to use it's best AA algorithm

glEnable(GL_POLYGON_SMOOTH); //turn on AA

Share this post


Link to post
Share on other sites
Quote:
Original post by Hodgman
This is off the top of my head, so I'm not sure how correct it is:

*** Source Snippet Removed ***


That will enable local anti-aliasing, which is rather slow compared to actual FSAA (Full Screen Anti-Aliasing) and this, I believe, is actually what the OP wants, since controlling AA from the CCC is mentioned.
Although I cannot remember how to enable FSAA with JOGL, I can tell you that it is usually applied/requested when creating the OpenGL context, since FSAA requires multiple extra frame-buffers for the sampling.

Share this post


Link to post
Share on other sites
so i gues its more than 2 lines of code. if someone could maybe just link me a nice tutorial/example i would apreciate it, unles of course you want to explain it to me :p

thnx

Share this post


Link to post
Share on other sites
ive already tried that code.. i dont know how to get that from c++ to java and there isnt a java port for it alerady which led me to believe that that way wont work with jogl at all

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!