Game Development Community

Another LightManager Error.. Completly stuck...

by Daniel Sjo · in Torque 3D Beginner · 06/14/2013 (6:42 pm) · 1 replies

Hello, i'm rather new to programming in 3D, i'm also not native English speaking so excuse me if i got some grammar difficulties.
I bought a Book called 3D Game Programming- ALL in one. So far i'm very pleased with the book and Torque 3D Engine.
To The problem:
I can run the FPS EXAMPLE demo without any problem, i also could run the first chapters of code where we created a very basic 3D world where you could move a Character around with animations etc. Now tho i'm completly stuck, everything i try i still get the Failed to set a light manager! Error, i have googled the problem for an hour or so and tried every solution i could find, Downloaded the PhysX and DirectX SDK, i whent into the /core/scripts/client/default.cs and changed the $pref::lightManager = "Basic Lighting"; ive looked all over the code and cant find anything that is relevated with LightManager. I got a Nvidia GeForce 670GTX gfx card so it should support it, also i can run the Demo FPS example without any problem like i mentioned.

This is the whole error i get in my output:

--------- Loading Add-ons ---------
Engine initialization complete.
Binding server port to default IP
UDP initialized on port 0
Attempting to create GFX device: NVIDIA GeForce GTX 670 (D3D9)
Device created, setting adapter and enumerating modes
   Cur. D3DDevice ref count=1
   Pix version detected: 3.000000
   Vert version detected: 3.000000
   Maximum number of simultaneous samplers: 16
   Number of simultaneous render targets: 4
   Hardware occlusion query detected: Yes
   Using Direct3D9Ex: No
WMIVideoInfo: DxDiag initialized
Initializing GFXCardProfiler (D3D9)
   o Chipset : 'GeForce GTX 670'
   o Card    : 'GeForce GTX 670'
   o Version : '9.18.0013.2018'
   - Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to 1.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureWidth' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureHeight' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureSize' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'lerpDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'fourStageDetailBlend' to 1.
   - Loading card profiles...
      - No card profile profile/D3D9.cs exists
      - No card profile profile/D3D9.GeForceGTX670.cs exists
      - No card profile profile/D3D9.GeForceGTX670.GeForceGTX670.cs exists
      - No card profile profile/D3D9.GeForceGTX670.GeForceGTX670.91800132018.cs exists
% - PostFX Manager - Executing core/scripts/client/postFx/default.postfxpreset.cs
% - PostFX Manager - Applying from preset
% - PostFX Manager - PostFX enabled
 % - Initialized Core

+ + + + + + Initializing Control Module + + + + + +

++++++++++++ Initializing module: emaga5 server ++++++++++++
1: Unable to instantiate non-conobject class AudioDescription.
11: Unable to instantiate non-conobject class AudioDescription.
21: Unable to instantiate non-conobject class AudioDescription.
32: Unable to instantiate non-conobject class AudioDescription.
42: Unable to instantiate non-conobject class AudioDescription.
52: Unable to instantiate non-conobject class AudioDescription.
63: Unable to instantiate non-conobject class AudioDescription.
71: Unable to instantiate non-conobject class AudioDescription.

--------- Initializing Lighting Systems ---------
Failed to set a light manager!

Anyone got ANY idea what to do here?
Thanks in Advance.

About the author

Recent Threads


#1
06/15/2013 (10:28 am)
Delete the prefs.cs file in the game/scripts/client directory and restart the game. The prefs will be recreated based on the values in the defaults.cs file. The new prefs.cs file should have the line $pref::lightManager = "Basic Lighting";