New Release D3D9Client Development

Screamer7

Member
Joined
Sep 14, 2011
Messages
474
Reaction score
20
Points
18
Location
Virginia FS
DirectX 10 support is in D3D11Client.

Thanks. But there is something I do not understand. In the modules menu there is the D3D9 and D3D11 tab's.
When I enable only the D3D9 tab it run OK.
But when I deselected the D3D9 tab and enable the D3D11 tab, I get a CTD.
When I enable the D3D9 tab first and then the D3D11 tab, it run OK.
Is this the correct procedure?
Thanks for your patience with me.:rolleyes:
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
When I enable only the D3D9 tab it run OK.
But when I deselected the D3D9 tab and enable the D3D11 tab, I get a CTD.
When I enable the D3D9 tab first and then the D3D11 tab, it run OK.
Is this the correct procedure?
Disable the D3D9Client module, close Orbiter, re-launch Orbiter, enable the D3D11Client module. If you have problems then, go and report them in [Project] D3D11Client Development thread. Graphics clients aren't designed to work simultaneously.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,444
Reaction score
697
Points
203
How did you eliminate the clipping ?
Easy. Open up D3D9Client.cfg and change NearClipPlaneMode from 0(disabled) to 1(enabled).
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
611
Reaction score
52
Points
43
Location
Happy Wherever
Hi,
Just trying to use D3D9Client.
Done everything as per 1st post on this thread, but get ctd on trying to start a standard DG scenario.
Log reads:

PHP:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 120311, API 100830]
D3D9Client: [DirectX 9 Initialized]

**** Creating simulation session
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 3.0]

Any guidance appreciated.

One question please - DOES D3D9Client WORK ON XP ??????????

I guess the answer's NO - Right? Dunno how I missed this -------

Requirements:
OS: Windows Vista 32/64 bit or newer.
Video card: minimum Direct3D 10-compatible, Direct3D 11-compatible recommended as some effects currently work only on Direct3D 11 level hardware
Orbiter: current build is only compatible with 111105 Beta, which can be downloaded from here: http://sourceforge.net/apps/mediawik...iterPublicBeta

Installation/running instructions:
1. install DirectX 11 June 2010 update. It can be downloaded from here: http://www.microsoft.com/download/en...s.aspx?id=8109
2. download D3D11Client.dll from /Modules/Plugin folder in repository and put it in \Modules\Plugin subdirectory of Orbiter's installation
3. download entire /Modules/D3D11Shaders folder and put it inside \Modules subdirectory of Orbiter's installation.
4. launch Orbiter_ng.exe from Orbiter's root folder, go to "Modules" tab and check D3D11Client - it's under "Graphic engines" category.
5. now go to "Video" tab and set desired window size (currently fullscreen is not supported), then click "D3D11Client Configuration" button and set up client options the way you prefer.
6. After you're done with settings, go to "Scenarios" tab, choose desired scenario and hit "Launch Orbiter" button.
7. Enjoy!
This is the Readme.txt file from here https://bitbucket.org/face/ovp/src/c...T README.txt although I am not currently using the 111105 beta but some how it works. Maybe it has something to do with me also having the DX9 installed first but it works for me in the 100830 build (current)
Last edited by RacerX; 05-04-12 at 01:27 AM.
 
Last edited:

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
One question please - DOES D3D9Client WORK ON XP ??????????

I guess the answer's NO - Right? Dunno how I missed this -------
D3D9Client does work just fine on Windows XP !!!!!!!

Your quote is from D3D11Client, which requires Windows Vista or newer.


Any guidance appreciated.
"Modules/D3D9Client/D3D9ClientLog.html"?
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
I don't seem to have this folder in Modules ?????????
Did you extract all the files from the D3D9ClientRC44.zip archive into Orbiter?

D3D9ClientLog.html is a log file of D3D9Client. It should be located in "Modules/D3D9Client" directory.
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
611
Reaction score
52
Points
43
Location
Happy Wherever
Apologies for wasting your time - trying to be clever - didn't extract all files from zip.
Thanks for your rapid diagnosis.:cheers:
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,922
Reaction score
230
Points
138
Location
Cape
Apologies for wasting your time - trying to be clever - didn't extract all files from zip.
Thanks for your rapid diagnosis.:cheers:

You'll have to also, put a copy of your spacecraft folder in to modules/server/config if you want to use SC3 craft.
 

Bibi Uncle

50% Orbinaut, 50% Developer
Addon Developer
Joined
Aug 12, 2010
Messages
192
Reaction score
0
Points
0
Location
Québec, QC
Windows XP supports DirectX up to version 9.0c, so yes, you can run the D3D9 client on Windows XP.

EDIT:
Sorry, I did not see that there was another page. The question was already answered. :facepalm:
 
Last edited:

Screamer7

Member
Joined
Sep 14, 2011
Messages
474
Reaction score
20
Points
18
Location
Virginia FS
I like the night runway lights effect in D3D client 9.
They looking very good.
If I zoom out with the external view and rotate the camera, the runway lights gets dimmer and disappear totally.
And there is no strobe's pointing to the direction of the runway.
Sorry if this is posted before, but to read trough 1371 + threads seem a daunting task:lol:
 

streb2001

Addon Developer
Addon Developer
Donator
Joined
Feb 9, 2008
Messages
326
Reaction score
0
Points
16
Location
North Yorkshire
I still can't get this client to run at all. I have tried it on a vanilla Orbiter 2010 P1 install. I have DirectX version 9.0c (4.09.0000.0904) and D3D9Client is enabled in the Modules tab. Ed. I am trying to run the D3D9ClientRC44 release. I get the following from the shell at launch:

Code:
Module Neptune.dll ........... [Build 100830, API 100830]
Finished initialising world
Module Atlantis.dll .......... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module SolarSail.dll ......... [Build 100830, API 100830]
Module HST.dll ............... [Build 100830, API 100830]
Module ShuttlePB.dll ......... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished setting up render state
-----------------
Orbiter NG (no graphics)
Running in server mode (no graphics client attached).
Type "help" for a list of commands.
>

Am I missing something?

s2k1
 
Last edited:

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,444
Reaction score
697
Points
203
I still can't get this client to run at all. I have tried it on a vanilla Orbiter 2010 P1 install. I have DirectX version 9.0c (4.09.0000.0904) and D3D9Client is enabled in the Modules tab. Ed. I am trying to run the D3D9ClientRC44 release. I get the following from the shell at launch:


Am I missing something?

s2k1
Could you post the entire log instead of just a part of it?
 

streb2001

Addon Developer
Addon Developer
Donator
Joined
Feb 9, 2008
Messages
326
Reaction score
0
Points
16
Location
North Yorkshire
Yes, sorry I copied the shell output. Below is the output from Orbiter.log:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-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 D3D9Client.dll ........ [Build 120311, API 100830]
Error loading module Modules\Plugin\D3D9Client.dll (code -1073741795)

**** Creating simulation session
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 Atlantis.dll .......... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module SolarSail.dll ......... [Build 100830, API 100830]
Module HST.dll ............... [Build 100830, API 100830]
Module ShuttlePB.dll ......... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished setting up render state

Thanks.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Code:
Error loading module Modules\Plugin\D3D9Client.dll (code [color=red]-1073741795[/color])
Do you have processor which supports SSE2 instructions?

-1073741795 = 0xC000001D = STATUS_ILLEGAL_INSTRUCTION
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,444
Reaction score
697
Points
203
Yes, sorry I copied the shell output. Below is the output from Orbiter.log:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-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 D3D9Client.dll ........ [Build 120311, API 100830]
Error loading module Modules\Plugin\D3D9Client.dll (code -1073741795)
Seems like there's a problem loading the client which explains why you only get the command line shell and not the client. Have you installed the DX9 Redist files: http://www.microsoft.com/en-us/download/details.aspx?id=8109 ?
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,637
Reaction score
2,353
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Do you have processor which supports SSE2 instructions?

-1073741795 = 0xC000001D = STATUS_ILLEGAL_INSTRUCTION

Do I need a processor with SSE2 instructions for it? My CPU is 3 months too old for having it...
 

streb2001

Addon Developer
Addon Developer
Donator
Joined
Feb 9, 2008
Messages
326
Reaction score
0
Points
16
Location
North Yorkshire
Seems like there's a problem loading the client which explains why you only get the command line shell and not the client. Have you installed the DX9 Redist files: http://www.microsoft.com/en-us/download/details.aspx?id=8109 ?

I had the Feb 2010 redist installed. I have just installed the June 201 redist from your link and I get exactly the same error as before.

---------- Post added at 08:00 PM ---------- Previous post was at 07:57 PM ----------

Do you have processor which supports SSE2 instructions?

-1073741795 = 0xC000001D = STATUS_ILLEGAL_INSTRUCTION

Er, don't know. Would this be the CPU or the graphics processor?

CPU = AMD AthlonXP 2500+ (I think)
Card = GeForce 7600GS 256Mb DDR2 AGP

The whole PC is about eight years old, so probably not.

s2k1
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Do I need a processor with SSE2 instructions for it? My CPU is 3 months too old for having it...
You can compile it from the sources without the /arch:SSE2 switch.

CPU = AMD AthlonXP 2500+ (I think)
Athlon XP doesn't support SSE2, only SSE.

As mentioned above, if you have Visual Studio / C++ Express, you can recompile D3D9Client from sources with /arch:SSE instead of /arch:SSE2.
 
Top