Setting default to D3D in T2D
by Tim Scheiman · in Torque Game Builder · 03/08/2006 (11:29 pm) · 5 replies
Hello all.
How can I get it to default to D3D? I've tried changing all of the preferOpenGL's to 0, even the allowOpenGL's to 0, the displayDevice's to "D3D", "D3d", "Direct3D" etc. I've cruised GarageGames' googlebox of info with every set of keywords I could muster... and no matter what I do, when I click my options button, it's in OpenGL.
If at all POSSIBLE I'd like to keep both options in there, just default it to D3D upon a fresh install.
Any thoughts on what I could be doing wrong or if you've experienced this, what you did?
(btw I'm running ALPHA1-1, if that matters much)
Thanks for any thoughts --
-Tim
How can I get it to default to D3D? I've tried changing all of the preferOpenGL's to 0, even the allowOpenGL's to 0, the displayDevice's to "D3D", "D3d", "Direct3D" etc. I've cruised GarageGames' googlebox of info with every set of keywords I could muster... and no matter what I do, when I click my options button, it's in OpenGL.
If at all POSSIBLE I'd like to keep both options in there, just default it to D3D upon a fresh install.
Any thoughts on what I could be doing wrong or if you've experienced this, what you did?
(btw I'm running ALPHA1-1, if that matters much)
Thanks for any thoughts --
-Tim
#2
If you want to have D3D as default, check your prefs.cs for the following line:
$pref::Video::displayDevice = "OpenGL";
and replace it with
$pref::Video::displayDevice = "D3D";
03/16/2006 (11:05 am)
I think its more that most would never do it because it works worse and has problems.If you want to have D3D as default, check your prefs.cs for the following line:
$pref::Video::displayDevice = "OpenGL";
and replace it with
$pref::Video::displayDevice = "D3D";
#3
03/16/2006 (1:06 pm)
Huh? Did you even read my post? I'm so confused now....
#4
Did you set this line correctly:
$pref::Video::allowD3D = "1";
thats how my pref looks like, perhaps it helps you to track it down.
03/16/2006 (1:18 pm)
For me it works.Did you set this line correctly:
$pref::Video::allowD3D = "1";
thats how my pref looks like, perhaps it helps you to track it down.
Quote:
$pref::Video::allowD3D = "1";
$pref::Video::allowOpenGL = "1";
$pref::Video::appliedPref = "1";
$pref::Video::displayDevice = "D3D";
$pref::Video::preferOpenGL = "1";
#5
-Tim
03/16/2006 (1:55 pm)
I'll try to set mine up just like that when I get home and report back... I'm pretty sure I had all of these things in order and it would still go to OpenGL, but I'll give your exact setup a try. Thanks,-Tim
Torque 3D Owner Tim Scheiman
Ghost Ship Studios
-Tim