Setting "application preference" for antialiasing & anisotropy
by Orion Elenzil · in Torque Game Engine · 01/19/2006 (6:06 pm) · 4 replies
Hi all -
when you go to your video card control panel, there's probably an option for antialiasing and anisotropic filtering which reads along the lines of "use application preference".
it looks to me like torque doesn't prefer to use these features.
my questions are three:
1. is there a best practices for what preferences apps should have ?
2. how to give torque some preferences in this department ?
hmm, that's only two.
3. how about that ?
when you go to your video card control panel, there's probably an option for antialiasing and anisotropic filtering which reads along the lines of "use application preference".
it looks to me like torque doesn't prefer to use these features.
my questions are three:
1. is there a best practices for what preferences apps should have ?
2. how to give torque some preferences in this department ?
hmm, that's only two.
3. how about that ?
About the author
#2
you gotta call it before textures are loaded.
more precisely, if you want anisotropy, add the following line to client/defaults.cs,
and canvas.cs will pass the value to setOpenGLAnisotropy().
$pref::OpenGL::anisotropy = 1;
01/19/2006 (6:38 pm)
Answer re setOpenGLAnisotropy():you gotta call it before textures are loaded.
more precisely, if you want anisotropy, add the following line to client/defaults.cs,
and canvas.cs will pass the value to setOpenGLAnisotropy().
$pref::OpenGL::anisotropy = 1;
#3
There is an 'Advanced Options Dialog' resource that does cover changing the anisotropy, gamma, etc. I never got everything working properly and just opted for gamma control.
Advanced Options Dialog
01/19/2006 (7:12 pm)
Thanks, good info.There is an 'Advanced Options Dialog' resource that does cover changing the anisotropy, gamma, etc. I never got everything working properly and just opted for gamma control.
Advanced Options Dialog
#4
Setting it from prefs (at the right time) works.
I had tried to follow the discussion:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7181
but got lost!
01/19/2006 (8:41 pm)
Thank you, Orion. I was playing around with this a week or two ago and couldn't figure out how to do it. I tried, of course, to do it with setOpenGLAnisotropy() but got no joy.Setting it from prefs (at the right time) works.
I had tried to follow the discussion:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7181
but got lost!
Associate Orion Elenzil
Real Life Plus
the script function setOpenGLAnisotropy() seems to have no effect,
either when the driver is set to 'use application preference' mode or when it's set to 16x.
that is,
"use application preference" looks bad no matter what i send to setOpenGLAnisotropy(),
while "16x" looks good no matter what etc.
this is an ATI Radeon X850.