How do you use AntialiasingMode

Everything related to 3D programming
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

How do you use AntialiasingMode

Post by Samuel »

I don't know much about this command, but from what I've heard it makes the edges of objects appear smoother. I have tried experimenting on the 3D sample programs that come with purebasic, but it doesn't appear to smooth out the edges on the objects. So I'm wondering if someone can explain this command to me in greater detail or has a example that shows it in action.
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: How do you use AntialiasingMode

Post by Olby »

Look at this image:
Image

Once anti-aliasing mode is on it multi-samples the edges of any 3d object on screen and makes them less jaggy. It is not something you apply to an object, it works on final render. Mind you full screen AA (especially higher multi-sample values) will slow down the rendering tremendously so use it only if end user system is capable of handling it.

Additionally some NVIDIA (and I presume AMD/ATI) control panel settings (especially ones that increase performance) will override anti-alisaing set by an appliation so you might no see any difference if this is the case.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: How do you use AntialiasingMode

Post by Samuel »

Well my processor is a AMD so maybe thats why i cant see any results. I'll try experimenting on it some more to see if i can get it to work. Thanks for the information.
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: How do you use AntialiasingMode

Post by Olby »

Most chipsets produced these days support AA including AMD, Intel and NVIDIA. Question is - have you enabled AA in your video control panel settings. If not then no matter which mode you choose in PB you wont be able to see any results.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: How do you use AntialiasingMode

Post by Samuel »

AA was disabled as you said. Although we decided the purebasic AntialiasingMode would no longer be needed because of restrictions on certain computers. Instead we plan on creating a different routine that should solve our problems. Thank you again for taking the time to clear that up for me.
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: How do you use AntialiasingMode

Post by applePi »

thanks Olby for the valuable info
regards
Post Reply