Game Development Community

Failed to initialize Direct 3D, error message.

by Duncan McPhee · in Torque 3D Beginner · 08/06/2011 (8:41 am) · 4 replies

I purchased and installed Torque 3D yesterday, and when I attempt to use anything in the toolbox I get an error message that says: Failed to initialize Direct 3D! Make sure you have DirectX 9 installed, and are running a graphics card that supports Pixel Shader 1.1.
My computer is running Windows Vista and has DirectX 11, my graphics card is a Mobile Intel(R) 945 Express Chipset Family and is supposed to support Pixel Shader 2.0.
Does anyone know how to fix this?

About the author

Recent Threads


#1
08/06/2011 (8:59 am)
There's a little bug that crept into T3D 1.1 that'll be fixed in the next installment (hopefully!) - AA gets set as default when it shouldn't, thus causing low GPUs to freak.

Look in game/scripts/client and find pref.cs

Open it up in some sort of text editor (Torsion, notepad, etc)
and if you see
$pref::Video::mode = "1024 768 false 32 60 0";

Make sure that the last number is ZERO - I think the default might be 4 or something. Edit and save and retry.

There's also this fix for the template projects

-------------------------------------------------

In other news ...

A 945 Chipset is below minimum specs. Expect artifacts and issues, though I've seen posts where people say they've got it to run on it.

When you do get it working, before you play or test anything, set your options to "Lighting Quality ---> Lowest". In fact set EVERYTHING to lowest.
#2
08/06/2011 (9:33 am)
Actually, delete the prefs.cs -- that should never have been distributed (same goes for config.cs and procedural shader files) -- each client machine will generate it's own at runtime.

Make the change instead in defaults.cs (client/server, game/core -- where applicable). A new prefs.cs will magically appear once the game is run. This obviates the need to have to make the mentioned change for each and every newly generated project.
#3
08/06/2011 (10:00 am)
If I was to get a new graphics card, what would be a recommended cheap one?
#4
08/06/2011 (11:29 am)
My specs are pretty low considering a recent thread on what people are using - but I find them perfectly adequate for using Torque and playing games in general.

2.4 DualCore Processor
2gig RAM (yep only 2!)
GTS 250 512mb

You could probably pickup a better GPU these days fairly cheaply.