Game Development Community

Bug? Extremely slow run on DirectX D3D only (OpenGL is OK)...

by Yui Chung, Ng · in Torque Game Engine · 12/15/2002 (8:26 am) · 6 replies

Hi All,

Checked out the SDK, then Compile and run it...
But I got only 1 frame per n second on D3D. when it is smooth on OpenGL. Doesn't anyone Got the same problem? Anyont know how to solve it?

Here My PC Config:
Athlon 1800+
VIA Chipset
512M DDR 2700
Asus GeForce 4 Ti4200 128M

Win2000
DirectX 8.1b

I think it is not a problem about my pc setup because my pc run other D3D Game quite smooth, And I test the Torque Example on some other pc and got the same problem...

#1
12/15/2002 (9:31 am)
I have the same problem. The problem (I think) is the D3D wrapper.
#2
12/15/2002 (1:29 pm)
TGE is an OpenGL engine, as such it's meant to be run in OpenGL. The DirectX support, afaik, is done through a wrapper that translates all of the OpenGL calls to Direct3D at runtime. Hence the massive slowdown.
ie, you should use the DirectX wrapper only if you have problems running it with OpenGL. Well, that's my understanding of it : if you know better, or more, feel free to enlighten us !! ;)
#3
12/16/2002 (2:41 am)
Yes, I understand the way Torque use Direct3D...(^^)

But I can't understand why the problem only happen on some of the PC instead of All.

Acturally, My project is just on a very very begining stage that doesn't really matter using D3D or OpenGL.

But I just personally FEEL that D3D seems to produce better visual effect....And I hope my project can one day has better utilizing the D3D features....(^^)
#4
12/16/2002 (3:08 am)
Did you notice the difference between window and fullscreen mode ?? I have had the same problem, but in fullscreen mode I have more then the double frame rate.
#5
12/16/2002 (4:26 am)
Yes, It will be most faster in full screen mode, but it is still fast away to be called smooth....
I got only 1 to 2 frames per second only...
Moreover, I don't know why the visual is better in a G400 display card than a GeForec 4 TI 4200.
For example the opacity of the water surface is all most 100% in GeForec, and there is no sun light flare shown....
#6
12/16/2002 (9:43 pm)
Just forget D3D completly. It's not worth worrying about.