New Release D3D9Client Development

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,651
Reaction score
785
Points
128
Sorry for asking off-topic question. (I have asked the same question twice but didn't get answer)
@jarmonik Do you plan to re-upload IMFD and LTMFD?

Sorry, The so called "reallife" been keeping me busy and haven't had time to visit the forums. I have managed to upload IMFD 4.2.2 and 5.7 but failed to upload LTMFD. I'll try again later as the error message told me to. I'll combine all tutorials I got into a single package and upload it.
 

BrianJ

Addon Developer
Addon Developer
Joined
Apr 19, 2008
Messages
1,676
Reaction score
900
Points
128
Location
Code 347
EDIT: Oh!! Sorry! I didn't realise the site had gone!! Never mind :)

Hi,
if I follow the download link on the 1st post to "Project Site", it now redirects me to:

Is it just me? Is this the correct site ??


Cheers,
BrianJ
 
Last edited:

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
343
Reaction score
442
Points
78
Location
Lviv
Preferred Pronouns
he/him
I'm wondering what parameter corresponds to the surface brightness. I launched the same scenario in Orbiter 2016 (left) and OpenOrbiter (right), and the first one is much brighter:

Без імені.pngБез імені2.png

So, is it possible to make the right one brighter?

And what are these colored spots on the surface? Do they related to the D3D9 MicroTexture Pack 1.0?
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,651
Reaction score
785
Points
128
The colored spots are related to micro textures, likely a compression problem. Surface brightness can be adjusted from the atmospheric control panel. Is the darkness due to low sun angle or is the Moon globally dark ?
 

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,687
Reaction score
1,337
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
Interesting bit of info: I recently ran through the default windows monitor calibration, which had me adjust the gamma by quite a bit (12%ish, up iirc).

I have since reset the D3D9 client gamma correction to the default. If anyone finds they need to correct the default gamma or color settings in D3D9 client, it's probably worth running through the basic monitor calibration first.
 

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
343
Reaction score
442
Points
78
Location
Lviv
Preferred Pronouns
he/him
Surface brightness can be adjusted from the atmospheric control panel. Is the darkness due to low sun angle or is the Moon globally dark ?
Thanks, I've set the same values of Terrain Brightness and Gamma in Atmospheric Controls, and runned the same scenario. Surface brightness in Orbiter 2016 (right) seems to be definitely lighter compared to OpenOrbiter (left):

111.png222.png

(Surface Brightness and Gamma have been setted higher in 2016 in Atmospheric Controls at first. And there was more of the difference.)
 

gamer19

Well-known member
Joined
Jul 16, 2016
Messages
224
Reaction score
355
Points
78
can we forget the brightness of Orbiter 2016 for a moment
and talk about why the Open version have much sharper ground textures !?? :eek:
 

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
343
Reaction score
442
Points
78
Location
Lviv
Preferred Pronouns
he/him
The surface micro textures make the Orbirer landscape much prettier. And they look really nicer in Open Orbiter D3D9 Client. I was just going to ask/suggest about such micro textures for other planets and their natural satelites. Is this difficult to do? Pardon my ignorance 🙂 Also, I was thinking about the Earth landscape micro textures. Without objects (buildings, trees and so on). Maybe it can be released as Earth biomes: green field, desert, ice, and more detailed water. Of cource, it's much harder to do for Earth, because the biomes border must be setted, but it can be done for some Earth regions, around some airports, for example. But the main idea is filling all Earth surface with biome micro textures. How feasible and adequate is this idea? 🙂 I could do some manual work on biome borders or something else.

Added: Something like these:
world-biomes-map.gifTypes.jpg
 
Last edited:

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,870
Reaction score
2,868
Points
188
Website
github.com

EarthMoon

The Earth and the Moon
Joined
Jul 12, 2022
Messages
37
Reaction score
16
Points
8
Location
Germany
Website
earthmoon.glitch.me
Preferred Pronouns
He, His, Him or You, Your, Yours
I updated it, but I get this problem in orbiter_ng.exe:

Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
Module Mimas.dll ............. [Build 100215, API 100212]
Module Enceladus.dll ......... [Build 100215, API 100212]
Module Tethys.dll ............ [Build 100215, API 100212]
Module Dione.dll ............. [Build 100215, API 100212]
Module Rhea.dll .............. [Build 100215, API 100212]
Module Titan.dll ............. [Build 100215, API 100212]
Module Hyperion.dll .......... [Build 100215, API 100212]
Module Iapetus.dll ........... [Build 100215, API 100212]
Module Uranus.dll ............ [Build 100830, API 100830]
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]
Finished initialising world
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module ShuttleA.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.
And I activated it in "modules"
 

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,870
Reaction score
2,868
Points
188
Website
github.com
Can you post the complete log file?
 

EarthMoon

The Earth and the Moon
Joined
Jul 12, 2022
Messages
37
Reaction score
16
Points
8
Location
Germany
Website
earthmoon.glitch.me
Preferred Pronouns
He, His, Him or You, Your, Yours
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 1e-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]
Error loading module Modules\Plugin\D3D9Client.dll (code 126)
Module ScnEditor.dll ......... [Build 100830, API 100830]

**** 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 Hyperion.dll .......... [Build 100215, API 100212]
SATSAT Hyperion: Terms 595
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 DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished setting up render state
**** Closing simulation session
All steps I did:

  • Double click orbiter_ng.exe
  • Launch scenario "delta-glider/cape canaveral"
  • Type "exit" on the console when it prompted me to enter a command
  • Exit launchpad
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,429
Reaction score
680
Points
203
Did you activate D3D9Client in Orbiter_ng? Orbiter and Orbiter_NG do not share configurations so what you do in one does not affect the other.
 

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,870
Reaction score
2,868
Points
188
Website
github.com
All steps I did:

  • Double click orbiter_ng.exe
  • Launch scenario "delta-glider/cape canaveral"
  • Type "exit" on the console when it prompted me to enter a command
  • Exit launchpad
Yep, the D3D9 module is not being loaded... excuse the obvious question, but did you actually install the 2010 D3D9 files?
If that is not it, then you might need to install the 2010 (or 2008, please check the D3D9 docs) redistributable runtime libraries, which should be available in one of the Microsoft websites.
 

EarthMoon

The Earth and the Moon
Joined
Jul 12, 2022
Messages
37
Reaction score
16
Points
8
Location
Germany
Website
earthmoon.glitch.me
Preferred Pronouns
He, His, Him or You, Your, Yours
I extracted the zip folder into the Orbiter main folder.
It says "Error loading module Modules\Plugin\D3D9Client.dll", but that file (and all other D3D9 files that are in the zip) exist, so it could be a problem with the add-on or Orbiter 2010
And yes, I activated the D3D9 client in the orbiter_ng.exe Launchpad "Modules" tab and I already have Microsoft VC 2008 installed, but it's still not running properly
Also, I don't get any errors (except the module loading error), not even a missing a file that is required by D3D9.
 

Attachments

  • Screenshot (2166).png
    Screenshot (2166).png
    82.3 KB · Views: 5

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,870
Reaction score
2,868
Points
188
Website
github.com
I extracted the zip folder into the Orbiter main folder.
It says "Error loading module Modules\Plugin\D3D9Client.dll", but that file (and all other D3D9 files that are in the zip) exist, so it could be a problem with the add-on or Orbiter 2010
And yes, I activated the D3D9 client in the orbiter_ng.exe Launchpad "Modules" tab and I already have Microsoft VC 2008 installed, but it's still not running properly
Also, I don't get any errors (except the module loading error), not even a missing a file that is required by D3D9.
Do you have the 2010 redistributables installed? If not, try them please.
For a more "deep" assessment of what is missing, you can get the Dependency Walker tool, which lists all the dependencies of a module, and if they are found in your system.
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
507
Points
113
Usually these steps make it:
1. Extarct Orbiter2016 zip (you've done that)
2. Install 2010 redistributables (can also be found in folder Install. Install\vcredist_x86.exe to be precise)
3. Start Orbiter_ng.exe
4. Enable D3D9Client in Modules Tab
5. Configure settings in Video Tab (mainly the 3D Device and start in windowd mode) - no need for the Advanced setup yet.
6. Start a simple scenario (my goto is always: Scenarios\Delta-glider\DG Mk4 in orbit.scn)

Sometimes I close the Launchpad dialog after step 5, but that's probabbly just a habbit of me ;)
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,133
Reaction score
407
Points
123
Location
Rome
Website
www.tuttovola.org
Usually these steps make it:
1. Extarct Orbiter2016 zip (you've done that)
2. Install 2010 redistributables (can also be found in folder Install. Install\vcredist_x86.exe to be precise)
3. Start Orbiter_ng.exe
4. Enable D3D9Client in Modules Tab
5. Configure settings in Video Tab (mainly the 3D Device and start in windowd mode) - no need for the Advanced setup yet.
6. Start a simple scenario (my goto is always: Scenarios\Delta-glider\DG Mk4 in orbit.scn)

Sometimes I close the Launchpad dialog after step 5, but that's probabbly just a habbit of me ;)
Before your #3 point, I'd add "extract D3D9Client" :cool:
 
Top