New Release D3D9Client Development

Here is a new build of the client. Debug controls are working atleast on my computer. I did some cleaning up but I still don't understand what was wrong from the first place.

Has anything changed there ?
 

Attachments

Here is a new build of the client. Debug controls are working atleast on my computer. I did some cleaning up but I still don't understand what was wrong from the first place.

Has anything changed there ?
Works nicely here again. Something did change between R3 and R4 as I rolled back to R3 and the debug controls was working again. Installed R4 and they were non-functional.
 
Here is a new build of the client. Debug controls are working atleast on my computer. I did some cleaning up but I still don't understand what was wrong from the first place.

Has anything changed there ?
Here my build works, too. I've looked at your changes and can also not really see why it now works :hmm:.
But in R4 the debugger couldn't access vObj (but DebugControl::vObject).
In R4b I havn't debugged it, but when it works, no need to debug :lol:

I would say: ...don't know why, but the issue is fixed!
/Kuddel
 
DGIV CTD

Whenever I try to load a scenario with the DGIV using the latest D3D9 release, it always crashes. Here is the log. If anyone can help me with this I would Greatly appreciate it.
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.46221e-007 sec
Found 1 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module Meshdebug.dll ......... [Build 100830, API 100830]
Module TrackIR.dll ........... [Build 100830, API 100830]
TrackIR module not found.
Module CustomMFD.dll ......... [Build 100830, API 100830]
Module LuaMFD.dll ............ [Build 100830, API 100830]
Module transx.dll ............ [Build 100824, API 100823]
Module OrbiterSound.dll ...... [Build ******, API 060425]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module LuaConsole.dll ........ [Build 100830, API 100830]
Module ScriptMFD.dll ......... [Build 100830, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module FlightData.dll ........ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module Rcontrol.dll .......... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 120915, API 100830]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 3.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Failed to get Stereo State
Joystick throttle: SLIDER 0
Joystick throttle control detected
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DeltaGliderIV.dll ..... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
---------------------------------------------------------------
>>> WARNING: CWD modified by module OrbiterSound - Fixing.
---------------------------------------------------------------
Finished setting up render state
Orbiter Version 100830
D3D9Client Build [Sep 15 2012]
Exception Code=0xC0000005, Address=0x00412958
EAX=0x04A96F58 EBX=0x0C610024 ECX=0x00000000 EDX=0x00000400 ESI=0x00000000 EDI=0x00000000 EBP=0x0C7FF468 ESP=0x009FF410 EIP=0x00412958
C:\Users\Luke\Downloads\Orbiter\modules\server\orbiter.exe EntryPoint=0x004ACFAC, Base=0x00400000, Size=2097152
Critical exception in gc->RegisterVisObject(0xBCCDEC8, 0x4B10188) (DGIV-01).
VesselClass Name = DeltaGliderIV
!!! Abnormal Program Termination !!!
 
jarmonik, what is the status of displaying cloud textures? So far, I've found that the clouds look brighter and whiter than in the inline graphics. Also, they are limited at a texture base size of 256x256, so the earth cloud texture I made for the inline graphics (which has a base texture size of 512x512) does not work in the D3D9 client.

Unrelated- I noticed the normal (bump) map capability, and now I'm happily adding normal maps to all of my vessels and stations. Thanks for such an easy way to enhance existing textures.

I look forward to when we can have level 10+ clouds, with normal maps!

Your D3D9 client is amazing. Keep up the good work!
 
Hey Felix24,

you should make a bump map addon pack and upload orbiter hangar :)
 
Maybe you are a beta-tester and you have the latest version?


The version publicly available now (DeltaGliderIV2_20100114.exe) is NOT compatible.

Next DG version will be both D3D9 & D3D11 compatible.
The good news is that it is "nearly" ready for release, maybe tuesday, maybe in a couple of tuesdays...
:hailprobe:

In case you don't follow Dansteph's forum, have a look at this:
http://orbiter.dansteph.com/forum/read.php?f=3&i=82935&t=82935
 
Last edited:
Is anyone else having problems with the D3D9 client under Windows 8? When I start up Orbiter with the default DeltaGlider scenario it crashes right away on load with this in the log:

**** Creating simulation session
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
D3D9Client: [Compiling Effects for Shader Model 3.0]
Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx)
Failed to create an Effect (Modules/D3D9Client/SceneTech.fx)

This is with a GTX 680 that works fine under Windows 7 (the test was in windowed mode). Any ideas??

[The internal DX7 client works fine on Windows 8 for me, BTW.]
 
Is anyone else having problems with the D3D9 client under Windows 8? When I start up Orbiter with the default DeltaGlider scenario it crashes right away on load with this in the log:
This is with a GTX 680 that works fine under Windows 7 (the test was in windowed mode). Any ideas??

Could you re-install the DX runtimes. The link is in the first post and in the D3D9Client website. Could you report back if that will fix the problem. If yes, then I'll add instructions to the error messages to install them.

I am pretty sure it's a missing D3DX9_42.dll

EDIT: I have added a runtime library check. If the runtimes are missing the client should display an error message and reference to the documentation and the Orbiter won't launch.
 
Last edited:
That did the trick! Thanks a bunch, the DX9 client works great on Windows 8 now! :)
 
Sorry for the shameless plug, but we recently had some brainstorming at FOI about Junctions & Symbolic Links.
This little guide is the outcome, I hope it can be of some use.

[ame="http://www.orbithangar.com/searchid.php?ID=5854"]Junction Points & Symbolic Links - rev. 2[/ame]
 
Last edited:
jarmonik, what is the status of displaying cloud textures? So far, I've found that the clouds look brighter and whiter than in the inline graphics. Also, they are limited at a texture base size of 256x256, so the earth cloud texture I made for the inline graphics (which has a base texture size of 512x512) does not work in the D3D9 client.

There shouldn't be such limitations. But I can't test it because I can't find the clouds you created.
 
It was a project I did a few weeks ago. I haven't uploaded it to Orbithangar (yet), as there are still some rough edges in it, but maybe I could send you the file.
 
It was a project I did a few weeks ago. I haven't uploaded it to Orbithangar (yet), as there are still some rough edges in it, but maybe I could send you the file.

I'll download it when it's ready, please let me know about it. It belive must be somewhere around 100-200MB in size.
 
It's not that bad. Currently it zips very nicely into 56 MB.
 
The Client seems to have a Problem with black transparent color key in 2D panels. The black area is not transparent, but black.
I am using white (0xFFFFFF) now and it works.
 
The Client seems to have a Problem with black transparent color key in 2D panels. The black area is not transparent, but black.
I am using white (0xFFFFFF) now and it works.
Black color key is 0xFF000000
 
Back
Top