New Release D3D9Client Development

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
I have managed to get the colors pretty close for on-orbit sunrises/sunsets but it seems like the code that controls on-orbit color also controls in atmosphere colors.
If you mean by changing the r0 vector in D3D9Util.cpp: OrbitalLighting and SurfaceLighting, then you have there also "if (atm) [highlight]{...}[/highlight] else {...}" condition, where the 1st part controls the color of objects in atmosphere, and the other outside of it. You can try modifying formulas there, or provide a slightly different r0 vector inside the "atm" condition.
 

astrosammy

Dash!
Addon Developer
Donator
Joined
Apr 27, 2008
Messages
2,124
Reaction score
0
Points
36
Location
ICAO ID: EDFB
I'm working on improving the sunrise/set colors to better match the real ones. [...]

I have managed to get the colors pretty close for on-orbit sunrises/sunsets [...].

Wow, really looking forward to this. :thumbup:
_________________________________________________

I finally downloaded the huge Direct X SDK and compiled the latest D3D9 code (29936).
It looks like any version works without the black flickering, but only if compiled in Debug mode.
 

Morgan

New member
Joined
Aug 14, 2010
Messages
13
Reaction score
0
Points
1
I'm working on improving the sunrise/set colors to better match the real ones. I have however run into a problem. Is there a way to have different colors for this when items are inside the atmosphere and outside the atmosphere?

I have managed to get the colors pretty close for on-orbit sunrises/sunsets but it seems like the code that controls on-orbit color also controls in atmosphere colors.

I'd love to see it. I've been looking for a decent atmosphere mod for orbiter. The default is terrible.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,451
Reaction score
707
Points
203
If you mean by changing the r0 vector in D3D9Util.cpp: OrbitalLighting and SurfaceLighting, then you have there also "if (atm) [highlight]{...}[/highlight] else {...}" condition, where the 1st part controls the color of objects in atmosphere, and the other outside of it. You can try modifying formulas there, or provide a slightly different r0 vector inside the "atm" condition.
Thanks for the tip orb. However, it seems like it isn't working doing that. I have tried specifying one r0 for the "if atm" condition and another for the "else" condition with no success. While the sources do build successfully, only the r0 of the "if atm" condition have any effect.

It is currently my thinking that those conditions only apply to the color reflected off the atmosphere itself rather than being applied differently depending on if the object is inside the atmosphere or not.

This is the r0 I have come up with for now:
Code:
D3DXVECTOR3 r0 = _one - D3DXVECTOR3(1.05f, 1.65f, 2.35f) * disp;


---------- Post added 12-13-13 at 08:10 AM ---------- Previous post was 12-12-13 at 03:26 PM ----------

After some experimentation, I have come up with a r0 set that works for both in-atmosphere and on-orbit sunrises/sunsets without any code mods:

Code:
D3DXVECTOR3 r0 = _one - D3DXVECTOR3(1.15f, 1.65f, 2.35f) * disp;
 
Last edited:

HeXx

New member
Joined
Dec 17, 2013
Messages
4
Reaction score
0
Points
0
Hello,
Im not able to launch orbiter with the D3D9 activated.
I get a console window saying no graphical interface found.
I dont see a Video Tab with D3D9 but i do With D3D7.
Any ideas?

----- Post added at Dec 18, 00:42 UTC. The previous post was Dec 17, 23:55 UTC -----

Ok, i did a reinstall of orbiter and i got around the problem, but now after it ends up loading everything it stops on loading hud.dds and crashes to desktop.

Heres my log file.
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.26789e-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 130712, 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]
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 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 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 initialising panels
Finished setting up render state
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
508
Points
113
Hello HeXx,

welcome to the forum.

Ok, i did a reinstall of orbiter and i got around the problem, but now after it ends up loading everything it stops on loading hud.dds and crashes to desktop.

Heres my log file.
[...]
The log file looks O.K. so far, thanks for that anyway.

I can only guess what we can do/check next:
- what's your hardware?
- is your DirectX (9) version recent?
- did you try updating your graphic card drivers?

I assume that the Orbiter is installed correct; but we might check that, too:
- Try running the "[ame="http://orbithangar.com/searchid.php?ID=3201"]Orbiter diagnostics[/ame]".
- Does the 'inline client' work? (start Orbiter.exe instead of Orbiter_ng.exe) & try the scenario 'Scenarios\Delta-glider\DG Mk4 in orbit.scn'

Hopefully we get you goin' to run Orbiter(D3D9),

Kuddel
 
Last edited:

HeXx

New member
Joined
Dec 17, 2013
Messages
4
Reaction score
0
Points
0
Hi, thank you for your reply.
I have a pretty good Graphics card. Everything is up to date.
Graphics card is a GTX 570.
Orbiter.exe runs fine except that when I exit a flight/scenario it stays stuck at loading launchpad and I have to force terminate orbiter.

Orbiter Diagnostics output:
Code:
Scenarios directory found: OK.
Meshes directory found: OK.
Config directory found: OK.
Base.cfg found: OK.
Vessels directory found: OK.

VINKA's SPACECRAFT ADDON
----------------------------------------------------
Multistage directory found: NO.
Spacecraft directory found: OK.
  Spacecraft.cfg found: NO.
  Spacecraft.dll found: NO.

  Spacecraft2.cfg found: NO.
  Spacecraft2.dll found: NO.

  Spacecraft3.cfg found: NO.
  Spacecraft3.dll found: NO.

INSTALLATION ISSUES
--------------------------------------
C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Vessels\ISSR\Fregat.cfg
MISSING MESH r7_SZ\Fregat.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-probe-statue.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/button01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/terminal.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/logo.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/ct-twr.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-lpad-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/themis-lite-rail-segment-end.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/hab-01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/hab-base-01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/spf01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/spf01-int.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/spf01-support.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/spf01-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/aiadock01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/aiadock02.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/aiadock03.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/adet02.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/adet.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/adet.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/vab-02.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/lc-th.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/lc-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/crawlerway.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/crawlerway.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/crawlerway.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/j-hangar01.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/fence-p.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/fence.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/rtele1.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/fence-p.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/fence.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/d-radar.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/d-radar.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Cssc.cfg
MISSING MESH cssc/beacon-base.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Makatea_Space_Center.cfg
MISSING MESH Firebird-I_HLV/makatea.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Makatea_Space_Center.cfg
MISSING MESH Firebird-I_HLV/launchpad.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Makatea_Space_Center.cfg
MISSING MESH Firebird-I_HLV/launchpad.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Makatea_Space_Center.cfg
MISSING MESH Firebird-I_HLV/stand.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Earth\Base\Makatea_Space_Center.cfg
MISSING MESH Firebird-I_HLV/stand.msh.

C:\Users\Carlos-PC\Documents\Orbiter2010\Config\Base.cfg
MISSING TEXTURE Cape21.dds.

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\ISS AtoZ with new arrays.scn
MISSING CFG FILE Z1CMG.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora2.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora4.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora5.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora6.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora7.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora8.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora9.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora10.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora11.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora12.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora13.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora14.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora15.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\16 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora16.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\2 StarFury Auroras docked to Triton..scn
MISSING CFG FILE StarFuryAurora.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\2 StarFury Auroras docked to Triton..scn
MISSING CFG FILE StarFuryAurora2.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\4 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\4 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora2.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\4 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Babylon 5 EAS Polaris Class Triton\4 StarFury Auroras docked toTriton..scn
MISSING CFG FILE StarFuryAurora4.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2LF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2LF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2LF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2SF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2SF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-2SF - Carina to LEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3LF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3LF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3LF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3SF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3SF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\Firebird_I_HLV\Firebird_I-3SF - Carina to GEO.scn
MISSING CFG FILE Spacecraft/spacecraft3.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\XR2 Ravenstar\Twilight Sparkle - Stargazer I telescope launch.scn
MISSING CFG FILE s3msi.cfg. (Do not use this scenario)

C:\Users\Carlos-PC\Documents\Orbiter2010\Scenarios\XR2 Ravenstar\Twilight Sparkle - Stargazer I telescope launch.scn
MISSING CFG FILE UCargoDeck.cfg. (Do not use this scenario)
UPDATE:
I re-installed orbiter with just the planetary textures added. No extra space crafts or modules.
I run orbiter diagnostics with no error's on the output.
Installed D3D9 and activated the module and attempted to run a dragonfly scenario for space station building and gave me the exact same crash at the exact same time as before.
I am running windows 7 X64 btw. fully updated as well as the drivers of my graphic's card.
I have the latest DX.

this is the output of my orbiter log file after the crash:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.2678e-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 130712, 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]
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 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
Finished initialising status
Finished initialising camera
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiBlt
Colour key argument not supported by graphics client
---------------------------------------------------------------
Finished initialising panels
Finished setting up render state

and this is the output of my orbiter diagnostics:

Code:
Scenarios directory found: OK.
Meshes directory found: OK.
Config directory found: OK.
Base.cfg found: OK.
Vessels directory found: OK.

VINKA's SPACECRAFT ADDON
----------------------------------------------------
Multistage directory found: NO.
Spacecraft directory found: NO.

INSTALLATION ISSUES
--------------------------------------
C:\Orbiter 2010\Config\Base.cfg
MISSING TEXTURE Cape21.dds.
 
Last edited:

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
508
Points
113
Orbiter.exe runs fine except that when I exit a flight/scenario it stays stuck at loading launchpad and I have to force terminate orbiter.
For this you might try a different "shutdown option" at the Launchpad:
'Extra'->'Debugging options'->'Orbiter shutdown options'.
This is a kind of "work-around", but helped a lot of people.

UPDATE:
I re-installed orbiter with just the planetary textures added. No extra space crafts or modules.
I run orbiter diagnostics with no error's on the output.
Installed D3D9 and activated the module and attempted to run a dragonfly scenario for space station building and gave me the exact same crash at the exact same time as before.
I am running windows 7 X64 btw. fully updated as well as the drivers of my graphic's card.
I have the latest DX.

this is the output of my orbiter log file after the crash:

Code:
[...]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiBlt
Colour key argument not supported by graphics client
---------------------------------------------------------------
Finished initialising panels
Finished setting up render state
That leaves me a little but puzzeled. The log shows a warning, but that should not crash the program.
All in all your setup seems to be O.K. so far I can see.

You might try an earlier version of D3DClient maybe and see if it makes any difference (I assume you have R12, so try R10 for example).
...and by the way: Be sure not to use the 'for Orbiter Beta' versions! Which you havn't as I can see ...GOOD ;)

Regards,
Kuddel
 

HeXx

New member
Joined
Dec 17, 2013
Messages
4
Reaction score
0
Points
0
Im not much of a beta guy :lol:

Any ways, I found the problem. I did an installation all over again but this time without even the planet and moon high textures, and it seems it was a moon texture problem.
I got it all up and running until just about a minute ago orbiter crashed while i was doing a launch with HCLV with XR2 attached (did more launches before this one) and i checked the log and it has (near infinite) records all equal to
Code:
.\D3D9Pad.cpp Line:194 Error:-2005530516 FX->SetMatrix(eVP, pTgt->pVP)

Any idea what it could be?

Thank you.
 

Felix24

Active member
Joined
May 13, 2010
Messages
245
Reaction score
95
Points
43
I downloaded and installed Project Gemini ([ame="http://www.orbithangar.com/searchid.php?ID=6326"]Project Gemini[/ame]) and also the texture pack for D3D9 ([ame="http://www.orbithangar.com/searchid.php?ID=6372"]Project Gemini repaint v2 (13-11-15)[/ame]). I'm using D3D9 R12.

I've noticed something odd about the normal map shader while looking at the Agena. The rivets on one side become indentations on the other side, but they come from the same texture and the same normal map. What is going on here?
 

Attachments

  • rivets.jpg
    rivets.jpg
    132.5 KB · Views: 52
  • indents.jpg
    indents.jpg
    145.9 KB · Views: 55

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
508
Points
113
Im not much of a beta guy :lol:

Any ways, I found the problem. I did an installation all over again but this time without even the planet and moon high textures, and it seems it was a moon texture problem.
I got it all up and running until just about a minute ago orbiter crashed while i was doing a launch with HCLV with XR2 attached (did more launches before this one) and i checked the log and it has (near infinite) records all equal to
Code:
.\D3D9Pad.cpp Line:194 Error:-2005530516 FX->SetMatrix(eVP, pTgt->pVP)
Any idea what it could be?

Thank you.

The error-code means "D3DERR_INVALIDCALL", which can mean a lot of things :/
Most probably one of the two given pointers is invalid.
So much for implementation details ;)
What caused this is yet to be determined. Possibly I'll find some time to check what could have caused this...but beware: it's almost X-Mas & new years eve...so expect some delays :cheers:
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,451
Reaction score
707
Points
203
Thanks for the tip orb. However, it seems like it isn't working doing that. I have tried specifying one r0 for the "if atm" condition and another for the "else" condition with no success. While the sources do build successfully, only the r0 of the "if atm" condition have any effect.

It is currently my thinking that those conditions only apply to the color reflected off the atmosphere itself rather than being applied differently depending on if the object is inside the atmosphere or not.

This is the r0 I have come up with for now:
Code:
D3DXVECTOR3 r0 = _one - D3DXVECTOR3(1.05f, 1.65f, 2.35f) * disp;


---------- Post added 12-13-13 at 08:10 AM ---------- Previous post was 12-12-13 at 03:26 PM ----------

After some experimentation, I have come up with a r0 set that works for both in-atmosphere and on-orbit sunrises/sunsets without any code mods:

Code:
D3DXVECTOR3 r0 = _one - D3DXVECTOR3(1.15f, 1.65f, 2.35f) * disp;
This video shows these colors in effect:

[ame="http://www.youtube.com/watch?v=yY29Gd7jbFI&"]New D3D9Client sunset colors - YouTube[/ame]
 

HeXx

New member
Joined
Dec 17, 2013
Messages
4
Reaction score
0
Points
0
Hello, again.
I have been "playing" allot of orbiter and having so much fun. dough I am getting an error while exiting orbiter every time.
I got this from the log:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.2678e-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 130712, API 100830]
Module CustomMFD.dll ......... [Build 100830, API 100830]
Module transx.dll ............ [Build 100824, API 100823]
Module LuaMFD.dll ............ [Build 100830, API 100830]
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 Rcontrol.dll .......... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module HCLV_MFD.dll .......... [Build 130722, API 100830]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module CSSC_Spawner.dll ...... [Build 120331, API 100830]
Module LaunchMFD.dll ......... [Build 130525, API 100830]
---------------------------------------------------------------
>>> 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.
---------------------------------------------------------------

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 2.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
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 XR2Ravenstar.dll ...... [Build 130504, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module ShuttlePB.dll ......... [Build 100830, API 100830]
Module DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module Train.dll ............. [Build 120629, API 100830]
Module XR5Crane.dll .......... [Build 120519, API 100830]
Module ThemLPad.dll .......... [Build 120519, API 100830]
Module RadarDish.dll ......... [Build 120519, API 100830]
Module BigPad.dll ............ [Build 120519, API 100830]
Module UCGOArrow.dll ......... [Build 130809, API 100830]
Module Ummu.dll .............. [Build 130809, API 100830]
Module HCLV-LRB.dll .......... [Build 130720, API 100830]
Module XR2_UCGOmodule1.dll ... [Build 100901, API 100830]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
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.
---------------------------------------------------------------
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
D3D9Client: [Scene Initialized]
D3D9Client: [Session Closed. Scene deleted.]
Orbiter Version 100830
D3D9Client Build [Jul 12 2013]
Exception Code=0xC0000005, Address=0x72656870
EAX=0x004B1F56 EBX=0x00494F20 ECX=0x132EFDA8 EDX=0x72656870 ESI=0x00000000 EDI=0x00494ED0 EBP=0x00000000 ESP=0x009FF038 EIP=0x72656870
GraphicsClient::RenderWndProc(hWnd=0x120864, uMsg=2, wParam=0, lParam=0)
!!! Abnormal Program Termination !!!
.
I was playing with Arrow and XR2 docked to docking port 1.

Thank you, and Merry Christmas to you all :cheers:
 

Felix24

Active member
Joined
May 13, 2010
Messages
245
Reaction score
95
Points
43
Earlier I posted about a couple of issues with normal maps and specular maps. I think I have found solutions to both problems.

The first problem was a reversed y-axis affecting both normal maps and bump maps. This caused the lighting to come from the wrong direction, making bumps appear to be concave when illuminated from one direction, and convex when illuminated from a different direction. This is fixed with a modification to NormalMap.fx by inserting the line
PHP:
nrmT.y *= -1;
directly after the line
PHP:
float3 nrmT  = tex2D(Nrm0S, frg.tex0).rgb * 2.0 - 1.0;       //Sampler for R8G8B8, DXT1
This fix makes bump maps usable again, as well as (mostly) removes the necessity of inverting the y-axis whenever building a normal map. Unfortunately, there are some meshes which incorporate mirroring for some parts. Whereas before the majority of the mesh looked wrong and only the mirrored portions looked right, now only the mirrored areas will look wrong. I recommend using normal maps instead of bump maps if this is the case, because it is possible to build a normal map with selected areas having an inverted y-axis to compensate for the mirroring. I do this by building two normal maps from the same height map, one with the y-axis reversed, one without. Then I layer them together and mask out the areas which are mirrored.

The second problem was with normal maps only, where values other than 127,127,255 (completely flat) reduced the specular reflection. This caused surfaces with a normal map and either a material specular definition or a specular map to have a speckled appearance when reflecting the sun. This is also fixed with a modification to NormalMap.fx by inserting the line
PHP:
nrmT.z = cos(cross(nrmT.x, nrmT.y) * 1.570796);
directly after the above fix.

The fix recalculates the z component of the normal map based on the x and y components. It is basically
nrmT.z = cos(cross(nrmT.x, nrmT.y) * (pi/2));
This assumes that nobody will be making a normal map with a negative z component.

I use the GIMP normalmap plugin (http://code.google.com/p/gimp-normalmap/). I'm interested if anyone else uses a different tool and does not have the issue at all.

And I'm not saying that these "fixes" are perfect, but that they work. I'm fully aware that a few normal map addons will become obsolete (most of them don't reverse the y-axis in the first place), including a few that I myself have released.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
The first problem was a reversed y-axis affecting both normal maps and bump maps.
In normal maps created for DirectX, the Y values (green channel) are positive. When viewing such normal map in an image viewer, bumps seem to be highlighted with a green light from below. Normal maps created for OpenGL on the other hand use negative Y values. When viewing them in an image viewer, bumps are highlighted with a green light from above. However, this shouldn't affect the height maps.

It can be the reason why they might be reversed in some cases, so I don't know if simply reversing (the polarity :p) is the best solution.
 

Loru

Retired Staff Member
Retired Staff
Addon Developer
Donator
Joined
Sep 30, 2008
Messages
3,731
Reaction score
6
Points
36
Location
Warsaw
Thank you. Thank you. Thank you !!!!!!!!!

That should go to next release or even maybe R12a
 

Felix24

Active member
Joined
May 13, 2010
Messages
245
Reaction score
95
Points
43
In normal maps created for DirectX, the Y values (green channel) are positive. When viewing such normal map in an image viewer, bumps seem to be highlighted with a green light from below. Normal maps created for OpenGL on the other hand use negative Y values. When viewing them in an image viewer, bumps are highlighted with a green light from above. However, this shouldn't affect the height maps.

That's what I think too.

If only the normal maps looked wrong but the bump maps looked fine, then it would suggest GIMP produces the wrong y-axis polarity by default, and there is no internal issue with the graphics client. But as it is, GIMP produces normal maps with bumps highlighted from below by default, which should be correct, and the bump maps don't look fine.

It would seem then that the built-in converter from bump map to normal map produces maps with "DirectX style" y-axis polarity (as does GIMP), but the shader somehow expects "OpenGL style" y-axis polarity.
 

Zamolxis

New member
Joined
Jul 28, 2009
Messages
4
Reaction score
0
Points
0
Hello all,

Fantastic work on the d3d9 project and great to see it's ongoing! I'd like to contribute with my own addons and I'm stoked with the visual enhancements in d3d9.

I'm working with the logitech extreme pro joystick and logitech profiler to map frequently used key bindings to it. I noticed the custom key bindings with the profiler works in orbiter exe but not orbiter_ng for some reason. Has anybody had any issues binding keys to their joystick for orbiter_ng particularly in conjunction with a stand alone joystick key binder?

Thanks.
 
Top