Game Development Community

Force antialiasing?

by Lee Latham · in Torque Game Engine · 06/01/2007 (10:24 am) · 5 replies

Anyone know how to force antialiasing? Right now Torque honors the forced settings in the Nvidia control panel, but I'd like the game to default to AA of some sort.

I've searched around but can't find any script or code resource on the subject...?

#1
06/02/2007 (1:36 pm)
I've found this line in dgl.cc, but it doesn't seem to do anything when I change it:

S32 gFSAASamples = 4; ///< 1==no FSAA.

Sure looks like a way to force AA. Could I be doing something wrong? I've got the Nvidia driver set to "application controlled".
#3
06/02/2007 (5:56 pm)
Yeah, I saw those, but no definitive answer there that I could tell...
#4
06/02/2007 (8:24 pm)
Basically for Mac's there is some implementation for FSAA, but nothing for Windows :)
#5
06/03/2007 (3:05 am)
Well yeah, I'd kinda gathered that from the postings, but on the other hand in the source code the statement above exists just _above_ the ifdef for MacOS. So that's what got me to wondering.