New Release D3D9Client Development

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
D3D9ClientBeta13b forRev 43.

- Fixed Enceladus CTD
- Added an option to enable/disable surface tile mipmaps. (Removes texture "noise" but increases load times)
- Fixed a surface tile load failure.
- Made some changes in attempt to address "Font cache is full" issue.
 

Attachments

  • D3D9ClientBeta13b-forRev43.zip
    1.1 MB · Views: 25
  • Beta13b.patch.zip
    15.5 KB · Views: 13
Last edited:

AssemblyLanguage

Donator
Donator
Joined
Jun 10, 2012
Messages
112
Reaction score
1
Points
0
Stock Space Shuttle CTD

The stock space shuttle Atlantis CTDs with Beta R43 and D3D9 Nov 23 beta.

Thanks.
Code:
**** Orbiter.log
000000.000: Build Nov 19 2015 [v.151119]
000000.000: Timer precision: 4e-008 sec
000000.000: Found 1 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 150906, API 150906]
000000.000: Module AtmConfig.dll ......... [Build 150906, API 150906]
000000.000: Module DGConfigurator.dll .... [Build 150906, API 150906]
000000.000: Module D3D9Client.dll ........ [Build 151123, API 151119]
000000.000: 
000000.000: **** Creating simulation session
000000.000: D3D9Client: [DirectX 9 Initialized]
000000.000: D3D9Client: Sytem has XNA math support
000000.000: D3D9Client: [3DDevice Initialized]
000000.000: D3D9Client: [Compiling Effects for Shader Model 3.0]
000000.000: D3D9Client: [Loading Stars]
000000.000: D3D9Client: [Loading Constellations]
000000.000: D3D9Client: [D3D9Client Initialized]
000000.000: Joystick throttle: SLIDER 0
000000.000: Joystick throttle control detected
000000.000: Attempting to clear a texture 0x470E968 color=0x0
000000.000: Module Sun.dll ............... [Build 150906, API 150906]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 150906, API 150906]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 150906, API 150906]
000000.000: Module VenusAtm2006.dll ...... [Build 150906, API 150906]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 150906, API 150906]
000000.000: Module EarthAtm2006.dll ...... [Build 150906, API 150906]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 150906, API 150906]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 150906, API 150906]
000000.000: Module MarsAtm2006.dll ....... [Build 150906, API 150906]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 150906, API 150906]
000000.000: Module Jupiter.dll ........... [Build 150906, API 150906]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 150906, API 150906]
000000.000: Module Europa.dll ............ [Build 150906, API 150906]
000000.000: Module Ganymede.dll .......... [Build 150906, API 150906]
000000.000: Module Callisto.dll .......... [Build 150906, API 150906]
000000.000: Module Satsat.dll ............ [Build 150906, API 150906]
000000.000: Module Saturn.dll ............ [Build 150906, API 150906]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 150906, API 150906]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 150906, API 150906]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 150906, API 150906]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 150906, API 150906]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 150906, API 150906]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 150906, API 150906]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 150906, API 150906]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 150906, API 150906]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 150906, API 150906]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module Atlantis_SRB.dll ...... [Build 151025, API 151025]
000000.000: Module Atlantis_Tank.dll ..... [Build 151025, API 151025]
000000.000: Module Atlantis.dll .......... [Build 151025, API 151025]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::CreateVariableDragElement
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module ShuttleA.dll .......... [Build 151025, API 151025]
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: Difference greater than 0.001 [112974], angle=0, y=1
000000.000: Difference greater than 0.001 [111640], angle=1.92, y=1.00056
000000.000: Difference greater than 0.001 [107663], angle=3.84, y=1.00225
000000.000: Difference greater than 0.001 [101129], angle=5.76, y=1.00507
000000.000: Difference greater than 0.001 [92173.9], angle=7.68, y=1.00905
000000.000: Difference greater than 0.001 [80988.4], angle=9.6, y=1.0142
000000.000: Difference greater than 0.001 [67814.3], angle=11.52, y=1.02056
000000.000: Difference greater than 0.001 [52941.5], angle=13.44, y=1.02816
000000.000: Difference greater than 0.001 [36704.8], angle=15.36, y=1.03704
000000.000: Difference greater than 0.001 [19480.2], angle=17.28, y=1.04727
000000.000: Difference greater than 0.001 [1679.26], angle=19.2, y=1.0589
000000.000: Difference greater than 0.001 [16256], angle=21.12, y=1.07201
000000.000: Difference greater than 0.001 [33860.3], angle=23.04, y=1.08668
000000.000: Difference greater than 0.001 [50653.1], angle=24.96, y=1.10302
000000.000: Difference greater than 0.001 [66147.5], angle=26.88, y=1.12113
000000.000: Difference greater than 0.001 [79861.1], angle=28.8, y=1.14115
000000.000: Difference greater than 0.001 [91327.5], angle=30.72, y=1.16323
000000.000: Difference greater than 0.001 [100110], angle=32.64, y=1.18754
000000.000: Difference greater than 0.001 [105817], angle=34.56, y=1.21428
000000.000: Difference greater than 0.001 [108120], angle=36.48, y=1.24368
000000.000: Difference greater than 0.001 [106768], angle=38.4, y=1.27601
000000.000: Difference greater than 0.001 [101615], angle=40.32, y=1.31157
000000.000: Difference greater than 0.001 [92635.6], angle=42.24, y=1.35074
000000.000: Difference greater than 0.001 [79950.3], angle=44.16, y=1.39393
000000.000: Difference greater than 0.001 [63849.1], angle=46.08, y=1.44164
000000.000: Difference greater than 0.001 [44812.8], angle=48, y=1.49448
000000.000: Difference greater than 0.001 [23532.5], angle=49.92, y=1.55314
000000.000: Difference greater than 0.001 [923.476], angle=51.84, y=1.61849
000000.000: Difference greater than 0.001 [21870.7], angle=53.76, y=1.69156
000000.000: Difference greater than 0.001 [43488.4], angle=55.68, y=1.77363
000000.000: Difference greater than 0.001 [62383.3], angle=57.6, y=1.86627
000000.000: Difference greater than 0.001 [76890.1], angle=59.52, y=1.97146
000000.000: Difference greater than 0.001 [85334.9], angle=61.44, y=2.09171
000000.000: Difference greater than 0.001 [86207], angle=63.36, y=2.23024
000000.000: Difference greater than 0.001 [78406.3], angle=65.28, y=2.39129
000000.000: Difference greater than 0.001 [61580.6], angle=67.2, y=2.58054
000000.000: Difference greater than 0.001 [36717.6], angle=69.12, y=2.79296
000000.000: Difference greater than 0.001 [5815.51], angle=71.04, y=3.06222
000000.000: Difference greater than 0.001 [26317.9], angle=72.96, y=3.39313
000000.000: Difference greater than 0.001 [52920.5], angle=74.88, y=3.80895
000000.000: Difference greater than 0.001 [65684.3], angle=76.8, y=4.34627
000000.000: Difference greater than 0.001 [57025.6], angle=78.72, y=5.06588
000000.000: Difference greater than 0.001 [24939.4], angle=80.64, y=6.08034
000000.000: Difference greater than 0.001 [19331.9], angle=82.56, y=7.60703
000000.000: Difference greater than 0.001 [45866.3], angle=84.48, y=10.1611
000000.000: Difference greater than 0.001 [21384.2], angle=86.4, y=15.2393
000000.000: Difference greater than 0.001 [25102.9], angle=88.32, y=29.47
000000.000: Difference greater than 0.001 [2456.08], angle=90.24, y=128.371
000000.000: Difference greater than 0.001 [3.19497], angle=92.16, y=14317.4
000000.000: Difference greater than 0.001 [112974], angle=0, y=1
000000.000: Difference greater than 0.001 [111640], angle=1.92, y=1.00056
000000.000: Difference greater than 0.001 [107663], angle=3.84, y=1.00225
000000.000: Difference greater than 0.001 [101129], angle=5.76, y=1.00507
000000.000: Difference greater than 0.001 [92173.9], angle=7.68, y=1.00905
000000.000: Difference greater than 0.001 [80988.4], angle=9.6, y=1.0142
000000.000: Difference greater than 0.001 [67814.3], angle=11.52, y=1.02056
000000.000: Difference greater than 0.001 [52941.5], angle=13.44, y=1.02816
000000.000: Difference greater than 0.001 [36704.8], angle=15.36, y=1.03704
000000.000: Difference greater than 0.001 [19480.2], angle=17.28, y=1.04727
000000.000: Difference greater than 0.001 [1679.26], angle=19.2, y=1.0589
000000.000: Difference greater than 0.001 [16256], angle=21.12, y=1.07201
000000.000: Difference greater than 0.001 [33860.3], angle=23.04, y=1.08668
000000.000: Difference greater than 0.001 [50653.1], angle=24.96, y=1.10302
000000.000: Difference greater than 0.001 [66147.5], angle=26.88, y=1.12113
000000.000: Difference greater than 0.001 [79861.1], angle=28.8, y=1.14115
000000.000: Difference greater than 0.001 [91327.5], angle=30.72, y=1.16323
000000.000: Difference greater than 0.001 [100110], angle=32.64, y=1.18754
000000.000: Difference greater than 0.001 [105817], angle=34.56, y=1.21428
000000.000: Difference greater than 0.001 [108120], angle=36.48, y=1.24368
000000.000: Difference greater than 0.001 [106768], angle=38.4, y=1.27601
000000.000: Difference greater than 0.001 [101615], angle=40.32, y=1.31157
000000.000: Difference greater than 0.001 [92635.6], angle=42.24, y=1.35074
000000.000: Difference greater than 0.001 [79950.3], angle=44.16, y=1.39393
000000.000: Difference greater than 0.001 [63849.1], angle=46.08, y=1.44164
000000.000: Difference greater than 0.001 [44812.8], angle=48, y=1.49448
000000.000: Difference greater than 0.001 [23532.5], angle=49.92, y=1.55314
000000.000: Difference greater than 0.001 [923.476], angle=51.84, y=1.61849
000000.000: Difference greater than 0.001 [21870.7], angle=53.76, y=1.69156
000000.000: Difference greater than 0.001 [43488.4], angle=55.68, y=1.77363
000000.000: Difference greater than 0.001 [62383.3], angle=57.6, y=1.86627
000000.000: Difference greater than 0.001 [76890.1], angle=59.52, y=1.97146
000000.000: Difference greater than 0.001 [85334.9], angle=61.44, y=2.09171
000000.000: Difference greater than 0.001 [86207], angle=63.36, y=2.23024
000000.000: Difference greater than 0.001 [78406.3], angle=65.28, y=2.39129
000000.000: Difference greater than 0.001 [61580.6], angle=67.2, y=2.58054
000000.000: Difference greater than 0.001 [36717.6], angle=69.12, y=2.79296
000000.000: Difference greater than 0.001 [5815.51], angle=71.04, y=3.06222
000000.000: Difference greater than 0.001 [26317.9], angle=72.96, y=3.39313
000000.000: Difference greater than 0.001 [52920.5], angle=74.88, y=3.80895
000000.000: Difference greater than 0.001 [65684.3], angle=76.8, y=4.34627
000000.000: Difference greater than 0.001 [57025.6], angle=78.72, y=5.06588
000000.000: Difference greater than 0.001 [24939.4], angle=80.64, y=6.08034
000000.000: Difference greater than 0.001 [19331.9], angle=82.56, y=7.60703
000000.000: Difference greater than 0.001 [45866.3], angle=84.48, y=10.1611
000000.000: Difference greater than 0.001 [21384.2], angle=86.4, y=15.2393
000000.000: Difference greater than 0.001 [25102.9], angle=88.32, y=29.47
000000.000: Difference greater than 0.001 [2456.08], angle=90.24, y=128.371
000000.000: Difference greater than 0.001 [3.19497], angle=92.16, y=14317.4
000000.000: D3D9Client: [Scene Initialized]
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
507
Points
113
Looks like the project SVN is down, I'll try to upload the code later.
It's not down,...it's just hardly ever really up :facepalm:
We definitely have to switch the repository hosting.
The good news is, the backup repository is ready at my local machine.
I'm now just waiting for Xyon to take further action.

Keeping my local backup in sync with the latest CodePlex changes today is again a pain in the a**! 2-3 *minutes* for one update!
I've given up complaining about this at their "support" forum...
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
It's not down,...it's just hardly ever really up :facepalm:

Yeah, I haven't got any response from SVN server, it's more down than usual for me. I uploaded a patch file in a post above but it's probably not a good idea to apply the patch to the repository.
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,133
Reaction score
407
Points
123
Location
Rome
Website
www.tuttovola.org
Enceladus is fixed, thanks,

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

Orbiter Beta with latest D3D9 13b for Rev 43:
Scenario "The Solar System -> Galilean system view"

Ad8CPVP.png


Code:
**** Orbiter.log
000000.000: Build Nov 19 2015 [v.151119]
000000.000: Timer precision: 4.16661e-010 sec
000000.000: Found 0 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 150906, API 150906]
000000.000: Module AtmConfig.dll ......... [Build 150906, API 150906]
000000.000: Module DGConfigurator.dll .... [Build 150906, API 150906]
000000.000: Module ExtMFD.dll ............ [Build 150906, API 150906]
000000.000: Module ScnEditor.dll ......... [Build 150906, API 150906]
000000.000: Module D3D9Client.dll ........ [Build 151123, API 151119]
000000.000: 
000000.000: **** Creating simulation session
000000.000: D3D9Client: [DirectX 9 Initialized]
000000.000: D3D9Client: Sytem has XNA math support
000000.000: D3D9Client: [3DDevice Initialized]
000000.000: D3D9Client: [Compiling Effects for Shader Model 3.0]
000000.000: D3D9Client: [Loading Stars]
000000.000: D3D9Client: [Loading Constellations]
000000.000: D3D9Client: [D3D9Client Initialized]
000000.000: Attempting to clear a texture 0x4A723E0 color=0x0
000000.000: Module Sun.dll ............... [Build 150906, API 150906]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 150906, API 150906]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 150906, API 150906]
000000.000: Module VenusAtm2006.dll ...... [Build 150906, API 150906]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 150906, API 150906]
000000.000: Module EarthAtm2006.dll ...... [Build 150906, API 150906]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 150906, API 150906]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 150906, API 150906]
000000.000: Module MarsAtm2006.dll ....... [Build 150906, API 150906]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 150906, API 150906]
000000.000: Module Jupiter.dll ........... [Build 150906, API 150906]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 150906, API 150906]
000000.000: Module Europa.dll ............ [Build 150906, API 150906]
000000.000: Module Ganymede.dll .......... [Build 150906, API 150906]
000000.000: Module Callisto.dll .......... [Build 150906, API 150906]
000000.000: Module Satsat.dll ............ [Build 150906, API 150906]
000000.000: Module Saturn.dll ............ [Build 150906, API 150906]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 150906, API 150906]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 150906, API 150906]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 150906, API 150906]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 150906, API 150906]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 150906, API 150906]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 150906, API 150906]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 150906, API 150906]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 150906, API 150906]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 150906, API 150906]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module DeltaGlider.dll ....... [Build 151119, API 151119]
000000.000: Module LuaInline.dll ......... [Build 150906, API 150906]
000000.000: Module ShuttleA.dll .......... [Build 151025, API 151025]
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: Difference greater than 0.001 [112974], angle=0, y=1
000000.000: Difference greater than 0.001 [111640], angle=1.92, y=1.00056
000000.000: Difference greater than 0.001 [107663], angle=3.84, y=1.00225
000000.000: Difference greater than 0.001 [101129], angle=5.76, y=1.00507
000000.000: Difference greater than 0.001 [92173.9], angle=7.68, y=1.00905
000000.000: Difference greater than 0.001 [80988.4], angle=9.6, y=1.0142
000000.000: Difference greater than 0.001 [67814.3], angle=11.52, y=1.02056
000000.000: Difference greater than 0.001 [52941.5], angle=13.44, y=1.02816
000000.000: Difference greater than 0.001 [36704.8], angle=15.36, y=1.03704
000000.000: Difference greater than 0.001 [19480.2], angle=17.28, y=1.04727
000000.000: Difference greater than 0.001 [1679.26], angle=19.2, y=1.0589
000000.000: Difference greater than 0.001 [16256], angle=21.12, y=1.07201
000000.000: Difference greater than 0.001 [33860.3], angle=23.04, y=1.08668
000000.000: Difference greater than 0.001 [50653.1], angle=24.96, y=1.10302
000000.000: Difference greater than 0.001 [66147.5], angle=26.88, y=1.12113
000000.000: Difference greater than 0.001 [79861.1], angle=28.8, y=1.14115
000000.000: Difference greater than 0.001 [91327.5], angle=30.72, y=1.16323
000000.000: Difference greater than 0.001 [100110], angle=32.64, y=1.18754
000000.000: Difference greater than 0.001 [105817], angle=34.56, y=1.21428
000000.000: Difference greater than 0.001 [108120], angle=36.48, y=1.24368
000000.000: Difference greater than 0.001 [106768], angle=38.4, y=1.27601
000000.000: Difference greater than 0.001 [101615], angle=40.32, y=1.31157
000000.000: Difference greater than 0.001 [92635.6], angle=42.24, y=1.35074
000000.000: Difference greater than 0.001 [79950.3], angle=44.16, y=1.39393
000000.000: Difference greater than 0.001 [63849.1], angle=46.08, y=1.44164
000000.000: Difference greater than 0.001 [44812.8], angle=48, y=1.49448
000000.000: Difference greater than 0.001 [23532.5], angle=49.92, y=1.55314
000000.000: Difference greater than 0.001 [923.476], angle=51.84, y=1.61849
000000.000: Difference greater than 0.001 [21870.7], angle=53.76, y=1.69156
000000.000: Difference greater than 0.001 [43488.4], angle=55.68, y=1.77363
000000.000: Difference greater than 0.001 [62383.3], angle=57.6, y=1.86627
000000.000: Difference greater than 0.001 [76890.1], angle=59.52, y=1.97146
000000.000: Difference greater than 0.001 [85334.9], angle=61.44, y=2.09171
000000.000: Difference greater than 0.001 [86207], angle=63.36, y=2.23024
000000.000: Difference greater than 0.001 [78406.3], angle=65.28, y=2.39129
000000.000: Difference greater than 0.001 [61580.6], angle=67.2, y=2.58054
000000.000: Difference greater than 0.001 [36717.6], angle=69.12, y=2.79296
000000.000: Difference greater than 0.001 [5815.51], angle=71.04, y=3.06222
000000.000: Difference greater than 0.001 [26317.9], angle=72.96, y=3.39313
000000.000: Difference greater than 0.001 [52920.5], angle=74.88, y=3.80895
000000.000: Difference greater than 0.001 [65684.3], angle=76.8, y=4.34627
000000.000: Difference greater than 0.001 [57025.6], angle=78.72, y=5.06588
000000.000: Difference greater than 0.001 [24939.4], angle=80.64, y=6.08034
000000.000: Difference greater than 0.001 [19331.9], angle=82.56, y=7.60703
000000.000: Difference greater than 0.001 [45866.3], angle=84.48, y=10.1611
000000.000: Difference greater than 0.001 [21384.2], angle=86.4, y=15.2393
000000.000: Difference greater than 0.001 [25102.9], angle=88.32, y=29.47
000000.000: Difference greater than 0.001 [2456.08], angle=90.24, y=128.371
000000.000: Difference greater than 0.001 [3.19497], angle=92.16, y=14317.4
000000.000: Difference greater than 0.001 [112974], angle=0, y=1
000000.000: Difference greater than 0.001 [111640], angle=1.92, y=1.00056
000000.000: Difference greater than 0.001 [107663], angle=3.84, y=1.00225
000000.000: Difference greater than 0.001 [101129], angle=5.76, y=1.00507
000000.000: Difference greater than 0.001 [92173.9], angle=7.68, y=1.00905
000000.000: Difference greater than 0.001 [80988.4], angle=9.6, y=1.0142
000000.000: Difference greater than 0.001 [67814.3], angle=11.52, y=1.02056
000000.000: Difference greater than 0.001 [52941.5], angle=13.44, y=1.02816
000000.000: Difference greater than 0.001 [36704.8], angle=15.36, y=1.03704
000000.000: Difference greater than 0.001 [19480.2], angle=17.28, y=1.04727
000000.000: Difference greater than 0.001 [1679.26], angle=19.2, y=1.0589
000000.000: Difference greater than 0.001 [16256], angle=21.12, y=1.07201
000000.000: Difference greater than 0.001 [33860.3], angle=23.04, y=1.08668
000000.000: Difference greater than 0.001 [50653.1], angle=24.96, y=1.10302
000000.000: Difference greater than 0.001 [66147.5], angle=26.88, y=1.12113
000000.000: Difference greater than 0.001 [79861.1], angle=28.8, y=1.14115
000000.000: Difference greater than 0.001 [91327.5], angle=30.72, y=1.16323
000000.000: Difference greater than 0.001 [100110], angle=32.64, y=1.18754
000000.000: Difference greater than 0.001 [105817], angle=34.56, y=1.21428
000000.000: Difference greater than 0.001 [108120], angle=36.48, y=1.24368
000000.000: Difference greater than 0.001 [106768], angle=38.4, y=1.27601
000000.000: Difference greater than 0.001 [101615], angle=40.32, y=1.31157
000000.000: Difference greater than 0.001 [92635.6], angle=42.24, y=1.35074
000000.000: Difference greater than 0.001 [79950.3], angle=44.16, y=1.39393
000000.000: Difference greater than 0.001 [63849.1], angle=46.08, y=1.44164
000000.000: Difference greater than 0.001 [44812.8], angle=48, y=1.49448
000000.000: Difference greater than 0.001 [23532.5], angle=49.92, y=1.55314
000000.000: Difference greater than 0.001 [923.476], angle=51.84, y=1.61849
000000.000: Difference greater than 0.001 [21870.7], angle=53.76, y=1.69156
000000.000: Difference greater than 0.001 [43488.4], angle=55.68, y=1.77363
000000.000: Difference greater than 0.001 [62383.3], angle=57.6, y=1.86627
000000.000: Difference greater than 0.001 [76890.1], angle=59.52, y=1.97146
000000.000: Difference greater than 0.001 [85334.9], angle=61.44, y=2.09171
000000.000: Difference greater than 0.001 [86207], angle=63.36, y=2.23024
000000.000: Difference greater than 0.001 [78406.3], angle=65.28, y=2.39129
000000.000: Difference greater than 0.001 [61580.6], angle=67.2, y=2.58054
000000.000: Difference greater than 0.001 [36717.6], angle=69.12, y=2.79296
000000.000: Difference greater than 0.001 [5815.51], angle=71.04, y=3.06222
000000.000: Difference greater than 0.001 [26317.9], angle=72.96, y=3.39313
000000.000: Difference greater than 0.001 [52920.5], angle=74.88, y=3.80895
000000.000: Difference greater than 0.001 [65684.3], angle=76.8, y=4.34627
000000.000: Difference greater than 0.001 [57025.6], angle=78.72, y=5.06588
000000.000: Difference greater than 0.001 [24939.4], angle=80.64, y=6.08034
000000.000: Difference greater than 0.001 [19331.9], angle=82.56, y=7.60703
000000.000: Difference greater than 0.001 [45866.3], angle=84.48, y=10.1611
000000.000: Difference greater than 0.001 [21384.2], angle=86.4, y=15.2393
000000.000: Difference greater than 0.001 [25102.9], angle=88.32, y=29.47
000000.000: Difference greater than 0.001 [2456.08], angle=90.24, y=128.371
000000.000: Difference greater than 0.001 [3.19497], angle=92.16, y=14317.4
000000.000: D3D9Client: [Scene Initialized]
000000.000: Finished initialising panels
000002.726: D3D9Client: [Session Closed. Scene deleted.]
000002.726: [Failed to Reset DirectX Device]
000002.726: **** Closing simulation session
000002.726: Invalid Window !! RenderWndProc() called after calling clbkDestroyRenderWindow() uMsg=0x96FAAC
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
507
Points
113
Hi Jarmo,

in case you would like to add the 'W-A-S-D' HOOK in a quick[1] way
here's a patch.
I don't wanted to include this into the repository, 'cause this is neither nice nor done well (no de-hooking etc. pp.)

/Kuddel

[1] quick as in quick'n'dirty that is!
 

Attachments

  • D3D9Client.cpp.patch.zip
    836 bytes · Views: 7
Joined
Mar 23, 2008
Messages
165
Reaction score
0
Points
16
Orbiter Beta with latest D3D9 13b for Rev 43:
Scenario "The Solar System -> Galilean system view"

Ad8CPVP.png

I found that 'faffing' (technical term) with the D3D9 atmospheric rendering controls (then saving settings) solved this.
 
Last edited:

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
Beta13c

- Added texture data check. A Warning is printed in Orbiter.log if texture data is missing (i.e. not installed)
- Fixed Jupiter rendering
- Added "Category 3" setting for runway lights. (i.e. no runway lights, only papi and vasi lights visible)
- Runway lights are now snapped to a surface. (further adjustments required)
 

Attachments

  • D3D9ClientBeta13c-forRev43.zip
    1.1 MB · Views: 66

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
Why do I feel I didn't hear anything about it, before reading this?
Are you just "cleaning up" the code? Preparing it for next Orbiter version?

I decided to open-source it since I don't really have time to work with it and it could help the NASSP. I was working a new version of LTMFD a few years back before I started the D3D9Client project and I never finished it. I am cleaning up a broken code to a release condition.
 

SolarLiner

It's necessary, TARS.
Addon Developer
Joined
Jun 14, 2010
Messages
1,847
Reaction score
2
Points
0
Location
404 ROAD NOT FOUND
About the light textures,
Would it be possible for them to render in front of everything else? And hiding the texture once it's occluded by an object and the 'light texture' source.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
About the light textures,
Would it be possible for them to render in front of everything else? And hiding the texture once it's occluded by an object and the 'light texture' source.

Yes, but that would require rendering into a depth texture in addition to backbuffer and depth buffer. So, that occlusion queries can be made. We would lose anti-aliasing if we rendering into a multiple render-targets at a same time. So, we would need to render the scene twice to prevent the lose of AA. Implementing that is actually a pretty easy thing to do compared to self-shadows or many other things.

---------- Post added at 19:49 ---------- Previous post was at 19:47 ----------

So, how are we doing ? Are there any issues those are not related to atmospheric rendering, surface base buildings or building ground shadows ?
 

SolarLiner

It's necessary, TARS.
Addon Developer
Joined
Jun 14, 2010
Messages
1,847
Reaction score
2
Points
0
Location
404 ROAD NOT FOUND
Yes, but that would require rendering into a depth texture in addition to backbuffer and depth buffer. So, that occlusion queries can be made. We would lose anti-aliasing if we rendering into a multiple render-targets at a same time. So, we would need to render the scene twice to prevent the lose of AA. Implementing that is actually a pretty easy thing to do compared to self-shadows or many other things.

Well, as much as I'd prefer self-shadowing... This could add it's piece worth of immersion, although I don't really have a precise visualization of how it would render...

And I'd like to help, but I'm afraid to try anything and mess up as I don't think my C++ skills are up to the task... Keep up the good work though :cheers:
 
Joined
Mar 23, 2008
Messages
165
Reaction score
0
Points
16
[/COLOR]So, how are we doing ? Are there any issues those are not related to atmospheric rendering, surface base buildings or building ground shadows ?

No show-stopper, but I was getting shimmering planetarium labels in both Windowed and full screen modes, couldn't isolate a particular cause. doesn't occur in the in line client, I'm not at my PC to test furthrr at the moment.
 

Abloheet

Addon Developer
Addon Developer
Joined
Apr 18, 2009
Messages
212
Reaction score
40
Points
43
Location
Kolkata,West Bengal
one issue i would like to point out, is that the stars and their corresponding image in the visible celestial sphere background dont match. there is a slight shift, which appears like a double image. doesn't happen in the inline client.

how can this happen anyway?
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
507
Points
113
one issue i would like to point out, is that the stars and their corresponding image in the visible celestial sphere background dont match. there is a slight shift, which appears like a double image. doesn't happen in the inline client.

how can this happen anyway?
I've noticed that too.
This is due to the fact that the stars come with individual (point) positions and the celestial sphere is just a bunch of images with no direct connection.
The code part responsible for the alignment is at the c'tor of CSphereManager:
Code:
    //...
    // rotation from galactic to ecliptic frame
    double theta = [COLOR="Red"]60.18[/COLOR]*RAD;
    double phi = [COLOR="Red"]90.02[/COLOR]*RAD;
    double lambda = [COLOR="Red"]173.6[/COLOR]*RAD;
    //...
In D3D9Client they are identical to the (reference) D3D7Client implementation and are very sensitive to small changes.
But I haven't found any "rule" how to tweak them right.

Due to the fact that the inline client doesn't have this issue I think these parameters are (a little) different there.

Can the Doctor maybe give us the "magic" values or update the D3D7Client code?

/Kuddel
 
Top