Direct3d in T2D
by Jason Green · in Torque Game Builder · 03/26/2005 (8:10 pm) · 8 replies
Well I'm trying to use T2D on my laptop. Unfortunately my laptop is a little old and I get about 5 fps with opengl in the demo shooter. If I switch to D3D the game actually becomes very playable. There is some problem with the text being messed up and unreadable, but other than that it runs fine.
My question is how do I switch to D3D in my copy of T2D? I know you're supposed to be able to change it in the options but when I try there is nothing else in video other than opengl. I've tried copying the glu2d3d.dll to my example directory but I really don't know what else to do. I've searched the forums but can't seem to find anything about using D3D instead of opengl. If anyone could clue me in on how to do this it would be greatly appreciated.
My question is how do I switch to D3D in my copy of T2D? I know you're supposed to be able to change it in the options but when I try there is nothing else in video other than opengl. I've tried copying the glu2d3d.dll to my example directory but I really don't know what else to do. I've searched the forums but can't seem to find anything about using D3D instead of opengl. If anyone could clue me in on how to do this it would be greatly appreciated.
About the author
#2
If you do either the option for d3d will appear in your options menu
03/26/2005 (8:57 pm)
Ok Found the problem. Make sure that you either 1) copy BOTH opengl2d3d.dll and glu2d3d.dll to your t2d folder where openal32.dll is or 2) compile the source code. If you do either the option for d3d will appear in your options menu
#3
03/26/2005 (9:10 pm)
Thanks for the quick reply. I tried changing the all of the files you mentioned but it doesn't seem to have any effect.
#4
03/26/2005 (10:24 pm)
Hey that did it!!! I just copied the files and it works. I don't know why I thought I only needed to copy the one file. Now I gotta figure out why the text is messed up. I guess I should start a new thread for that. Thanks for your help Charlie.
#5
03/27/2005 (3:02 am)
Does your laptop happen to have an ATI graphics chip?
#6
03/27/2005 (3:36 pm)
Hey, as a matter of fact it does. It's an ATI Rage Mobility P/M AGP 2X (A21/2). I hope you're gonna tell me there's some secret fix to make T2D run perfectly on here(besides buying a new laptop). Does my video card have something to do with the text being messed up in D3D?
#7
03/28/2005 (7:02 am)
Hey Jason,what os are you using?
#8
03/28/2005 (11:44 am)
I'm running Windows XP Home Edition on a P3 700Mhz with 256 MB. The video card has 8 Mb.
Torque Owner Charlie Malbaurn
The odd thing is if you look there you will see this in
\example\common\client
$pref::Video::allowD3D = "1";
$pref::Video::allowOpenGL = "1";
maybe change this:
$pref::Video::displayDevice = "OpenGL";
to
$pref::Video::displayDevice = "D3d";
there are also game specific settings here
example\T2D in file defaults.cs
and in example\T2D\client
prefs.cs.
Hopefully someone can give more specifics of exactly where this should be changed.
Just for the hell of it, try changing the in each of the files that it includes and see what happens. I know that someone else had issues with this in another thread, but I don't remember which one.