New Release D3D9Client Development

Smasher77th

New member
Joined
Jan 28, 2009
Messages
14
Reaction score
0
Points
0
I'm having problems running my XR fleet, DGIV and the Arrow with the R20 and D3D9 R12 for beta. Anyone know what could be causing this? Thanks.

Here is my log:
Code:
**** Orbiter.log
Build Jan  1 2013 [v.130101]
Timer precision: 2.4213e-007 sec
Found 2 joystick(s)
Module AtlantisConfig.dll .... [Build 121203, API 121203]
Module AtmConfig.dll ......... [Build 121203, API 121203]
Module DGConfigurator.dll .... [Build 121203, API 121203]
Module Meshdebug.dll ......... [Build 121203, API 121203]
Module ScnEditor.dll ......... [Build 121203, API 121203]
Module Rcontrol.dll .......... [Build 121203, API 121203]
Module Framerate.dll ......... [Build 121203, API 121203]
Module FlightData.dll ........ [Build 121203, API 121203]
Module ExtMFD.dll ............ [Build 121203, API 121203]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module ScriptMFD.dll ......... [Build 121203, API 121203]
Module LuaConsole.dll ........ [Build 121203, API 121203]
Module InterMFD55.dll ........ [Build 100826, API 100704]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module InterMFD422.dll ....... [Build 100704, API 100603]
Module FlyByWire.dll ......... [Build ******, API 060425]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
Module transx.dll ............ [Build 100905, API 100905]
Module LuaMFD.dll ............ [Build 121203, API 121203]
Module CustomMFD.dll ......... [Build 121203, API 121203]
Module TrackIR.dll ........... [Build 121203, API 121203]
TrackIR module found: C:\Program Files (x86)\NaturalPoint\TrackIR5\
TrackIR initialised
NaturalPoint software version 5.00
Module D3D9Client.dll ........ [Build 130712, API 130101]

**** 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 121203, API 121203]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 121203, API 121203]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 121203, API 121203]
Module VenusAtm2006.dll ...... [Build 121203, API 121203]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 121203, API 121203]
Module EarthAtmJ71G.dll ...... [Build 121203, API 121203]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 121203, API 121203]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 121203, API 121203]
Module MarsAtm2006.dll ....... [Build 121203, API 121203]
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 121203, API 121203]
Module Jupiter.dll ........... [Build 121203, API 121203]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 121203, API 121203]
Module Europa.dll ............ [Build 121203, API 121203]
Module Ganymede.dll .......... [Build 121203, API 121203]
Module Callisto.dll .......... [Build 121203, API 121203]
Module Satsat.dll ............ [Build 121203, API 121203]
Module Saturn.dll ............ [Build 121203, API 121203]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 121203, API 121203]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 121203, API 121203]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 121203, API 121203]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 121203, API 121203]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 121203, API 121203]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 121203, API 121203]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 121203, API 121203]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 121203, API 121203]
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 121203, API 121203]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module XR2Ravenstar.dll ...... [Build 130504, API 100830]
Module ShuttleA.dll .......... [Build 121203, API 121203]
Module ShuttlePB.dll ......... [Build 121203, API 121203]
Module DeltaGlider.dll ....... [Build 121214, API 121214]
Module LuaInline.dll ......... [Build 121203, API 121203]
Finished initialising status
Finished initialising camera
NPClient: Simulation window registered.
NPClient: Cursor stopped
NPClient: Data transmission started
Finished setting up render state
Failed to surface tile (1781 tiles loaded for Earth_tile.tex)
D3D9Client: [Scene Initialized]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiBlt
Colour key argument not supported by graphics client
---------------------------------------------------------------
Finished initialising panels
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: VESSEL::GetHorizonAirspeedVector
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.
---------------------------------------------------------------
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: VESSEL::GetShipAirspeedVector
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.
---------------------------------------------------------------
 

dbeachy1

O-F Administrator
Administrator
Orbiter Contributor
Addon Developer
Donator
Beta Tester
Joined
Jan 14, 2008
Messages
9,216
Reaction score
1,562
Points
203
Location
VA
Website
alteaaerospace.com
Preferred Pronouns
he/him
I'm having problems running my XR fleet, DGIV and the Arrow with the R20 and D3D9 R12 for beta. Anyone know what could be causing this? Thanks.

<snip>

Thanks for the info. It turns out I needed to rebuild the Orbiter-beta-compatible XR DLLs against the latest Orbiter SDK. More information and download links are in this post.

EDIT:
Although the new XR DLL versions fix the CTD with Orbiter.exe and D3D9 R10 in the latest Orbiter beta, it does still CTD on startup with D3D9 R12 in the Orbiter beta (Orbiter_ng.exe). The stacktrace shows it's down inside the D3D9 DLL somewhere.
 
Last edited:

Cougar

Member
Joined
Nov 13, 2010
Messages
45
Reaction score
6
Points
8
Vostok - B3OP.dll - D3D9

Does anybody know why orbiter 2010 with the latest D3D9 client hangs up when activating the B3OP.dll modul which comes with the most excellent Vostok addon by igel? Does anybody else have this problem and are there any workarounds or solutions know to it?

Thanks a lot!
C
 

joffrey

Member
Joined
Mar 16, 2012
Messages
48
Reaction score
0
Points
6
Hi, I released this add-on yesterday :

[ame="http://www.orbithangar.com/searchid.php?ID=6239"]http://www.orbithangar.com/searchid.php?ID=6239[/ame]

The mesh count between 99,000 and 100,000 faces.

evgh.png


Thanks to your client, this huge number of faces can be rendered. Whithout the client, the mesh is buggy. I tried with your client to make a mesh with up to 100,000 but the mesh appear buggy (it's like a web over the mesh, vertices are connected randomly).

My first question : is the 100,000 faces limit can be overrided without bug ?
I would like super-detailled meshes with 500,000 faces, this is why I ask that.

Few users of my add-on have a semi-transparent mesh like this :

g4eo.jpg


To fix this "transparency problem" they found that is needed to grow the level of the planet in installing a texture add-on like this : [ame="http://www.orbithangar.com/searchid.php?ID=5878"]http://www.orbithangar.com/searchid.php?ID=5878[/ame].

Second question : Is this bug can be corrected ?


Thanks, I love D3D9 client !
 
Last edited:

Loru

Retired Staff Member
Retired Staff
Addon Developer
Donator
Joined
Sep 30, 2008
Messages
3,731
Reaction score
6
Points
36
Location
Warsaw
To fix this "transparency problem" they found that is needed to grow the level of the planet in installing a texture add-on like this : http://www.orbithangar.com/searchid.php?ID=5878.

Second question : Is this bug can be corrected ?

That's not d3d9 bug but that's way how orbiter creates planets. This occurs both in inline client and d3d9 client. The higher level texture you have, the more spherical planet will be (more polys per planet).
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
My first question : is the 100,000 faces limit can be overrided without bug ?
I would like super-detailled meshes with 500,000 faces, this is why I ask that.
There is no bug. The client is using 16bit index list limiting the maximum vertex count to 65536 vertices per a mesh group. If you want to create a larger mesh you need to split the mesh into a multiple mesh groups.
 

Cras

Spring of Life!
Donator
Joined
Apr 13, 2011
Messages
2,215
Reaction score
0
Points
36
Location
Los Angeles
Website
www.youtube.com
Just to say, I finally got around to doing an UMMU eva on the moon, and used the FPS limiter checkbox in the debug control window, and it works wonderfully. Thanks jarmonik so much for taking the time to include this feature. Awesome awesome stuff :thumbup:
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,906
Reaction score
201
Points
138
Location
Cape
Does anyone know what's causing this ?
 

Attachments

  • continentsOnDarkside.jpg
    continentsOnDarkside.jpg
    104.6 KB · Views: 76

Cras

Spring of Life!
Donator
Joined
Apr 13, 2011
Messages
2,215
Reaction score
0
Points
36
Location
Los Angeles
Website
www.youtube.com
I can't say I have ever seen that before. It almost looks like a local light source that is a little out of control. I just did a flight to the moon in an XR-2 and the Earth looked like it should have as I flew away.
 

BruceJohnJennerLawso

Dread Lord of the Idiots
Addon Developer
Joined
Apr 14, 2012
Messages
2,585
Reaction score
0
Points
36
Has anyone else noticed issues with planets reflecting incorrectly on their dark sides?

Im running Apollo 8 AMSO in D3D9, and every time the command module is orbiting the dark side of the moon, I can still see what appears to be a slice of the lunar surface while lit reflected in the command module shell. I'll post a screenshot when I get a chance.
 

Apollon

New member
Joined
Jun 26, 2011
Messages
56
Reaction score
0
Points
0
I've got an issue while using the function "pre-load at session start" for the surface texture load options, even though i have the level 14/11 earth textures, it still loads the default one (low res), but when i switch "load on demand" option it displays correctly. Any idea why? Did a clean installation with 100830 and R12 client, still nothing.
 

blixel

Donator
Donator
Joined
Jun 29, 2010
Messages
647
Reaction score
0
Points
16
I have a question, but it very well may be a dumb one. If so, I apologize in advance.

With the D3D9Client, would it be possible to view the external camera on a second monitor? So on my main monitor I have the flight deck view with the MFD's, and on the second monitor I have the view as if I had pressed F1.

Or is that something that would have to be implemented in Orbiter itself?
 

SolarLiner

It's necessary, TARS.
Addon Developer
Joined
Jun 14, 2010
Messages
1,847
Reaction score
2
Points
0
Location
404 ROAD NOT FOUND
Does anyone know what's causing this ?
Hmmm ... The closest thing to this is my attempt at adding spotlight to my Shuttle PB Mk2, resulting in lighting almost all the planet... But since I didn't released yet this version, this cannot be that (and I commented out the spotlight declaration part, so it definitely cannot be that)
 

Cras

Spring of Life!
Donator
Joined
Apr 13, 2011
Messages
2,215
Reaction score
0
Points
36
Location
Los Angeles
Website
www.youtube.com
Has anyone else noticed issues with planets reflecting incorrectly on their dark sides?

Im running Apollo 8 AMSO in D3D9, and every time the command module is orbiting the dark side of the moon, I can still see what appears to be a slice of the lunar surface while lit reflected in the command module shell. I'll post a screenshot when I get a chance.

I actually just did Apollo 8 AMSO the other day and I cannot say that I saw this happen...but it could just be me not noticing. When I run Apollo 10 I will keep an eye out for it, see what I see.
 

kamaz

Unicorn hunter
Addon Developer
Joined
Mar 31, 2012
Messages
2,298
Reaction score
4
Points
0
I have a question, but it very well may be a dumb one. If so, I apologize in advance.

With the D3D9Client, would it be possible to view the external camera on a second monitor? So on my main monitor I have the flight deck view with the MFD's, and on the second monitor I have the view as if I had pressed F1.

Or is that something that would have to be implemented in Orbiter itself?

You may find useful my add-on, which allows you to run several Orbiter instances and automatically synchronizes state between them:

http://www.orbiter-forum.com/showthread.php?t=28826

(works with any graphic client -- also, different instances can run different clients)
 

tinfoilchef

New member
Joined
Jul 29, 2012
Messages
10
Reaction score
0
Points
0
I've just updated from the R8 release to the R12 release of the D3D9 client and there's a feature that I'd like to turn off.

When using the flight recorder, during recording this appears on screen:

http://imgur.com/0yIjfn1

Then during playback the following appears:

http://imgur.com/ys8wxAJ

This did not happen with the R8 release of D3D9 and updating from R8 to R12 is the only change I've made in my Orbiter 2010 p1 install.

I'd like to be able to disable that feature so that the text is not there when I'm making videos with Orbiter.


edit: the images were not appearing so I removed the img tags and just left the raw urls there
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
This from orb:

...the simplest way is to use a hexadecimal editor with D3D9Client.dll, find "Replay" text, and replace the first letter of it with 0x00 character.

Same goes for the "Record" text.
 
Last edited:
Top