No Direct X
by Hans Van Halteren · in Torque Game Engine · 09/11/2004 (2:30 am) · 9 replies
I installed torque the standard way. Everything compiled well and all the games are running.
I started reading in Kenneth Finneys book and also installed the cdrom.
I noticed in one of his examples, that it is possible to select the DirectX (D3D)Graphics driver in the options menu next to the OpenGL driver.
So I started the starter.fps game in my torque folder (where I installed the version I downloaded with CVS). Here I can only select openGL. There is no Direct X (D3D).
What do I need to do to make sure that DirectX is also available for a gamer to choose ?
Thanks.
Hans van Halteren
I started reading in Kenneth Finneys book and also installed the cdrom.
I noticed in one of his examples, that it is possible to select the DirectX (D3D)Graphics driver in the options menu next to the OpenGL driver.
So I started the starter.fps game in my torque folder (where I installed the version I downloaded with CVS). Here I can only select openGL. There is no Direct X (D3D).
What do I need to do to make sure that DirectX is also available for a gamer to choose ?
Thanks.
Hans van Halteren
#2
09/11/2004 (2:51 am)
I just downloaded the latest HEAD to find out if it still doesn't show DirectX. How can I figure out which version I have ? (1.2 or 1.3).
#3
09/11/2004 (3:27 am)
Browse trough your folder with CVS and it will say to the far right.
#4
I downloaded HEAD using CVS
Then I downloaded Release_1_2_2 using CVS
Next I downloaded Release_1_3_0 using CVS
I performed the nescessary tasks to get Torque compiled using Eclipse.
That went well. I have the Torquedemo.exe file etc.
Now I started starter.fps... but no D3d. Only OpenGL.
I am on Windows XP Pro SP1 using a NVidia GForce 4 running the last drivers.
09/11/2004 (3:32 am)
Ok what I have done is following:I downloaded HEAD using CVS
Then I downloaded Release_1_2_2 using CVS
Next I downloaded Release_1_3_0 using CVS
I performed the nescessary tasks to get Torque compiled using Eclipse.
That went well. I have the Torquedemo.exe file etc.
Now I started starter.fps... but no D3d. Only OpenGL.
I am on Windows XP Pro SP1 using a NVidia GForce 4 running the last drivers.
#5
Accelerated D3D device not detected.
Checking the console.log file from the directory where Kenneths disc installed Torque says:
Accelerated D3D device detected.
How can this be ?
09/11/2004 (3:36 am)
This is what I read from the console.log fileAccelerated D3D device not detected.
Checking the console.log file from the directory where Kenneths disc installed Torque says:
Accelerated D3D device detected.
How can this be ?
#6
As far as i know, you cannot build the wrapper DLL using the Makefile's with gcc.
09/11/2004 (3:45 am)
You need to build the OGL -> D3D wrapper dll, which should be named something like "opengl2d3d" in your vc++ workspace.As far as i know, you cannot build the wrapper DLL using the Makefile's with gcc.
#7
09/11/2004 (6:24 am)
Can someone explain how this is to be done ? I am using Eclipse. I do not have much experience in this. I can use the dll coming from Kenneths cdrom.
#8
09/12/2004 (5:29 am)
Nobody ?
#9
You don't need D3D support to run Torque, and if you don't need D3D support for your app I suggest focusing on other parts of your project rather than spending potentially a long time figuring this area out.
09/12/2004 (8:18 am)
You'll have to check with the Eclipse resource. We have a makefile, vc6 and vc7 project files for the opengl -> D3D DLLs - they are called opengl2d3d and glu2d3d, I believe.You don't need D3D support to run Torque, and if you don't need D3D support for your app I suggest focusing on other parts of your project rather than spending potentially a long time figuring this area out.
Torque Owner Stefan Lundmark