Project D3D11Client Development

romanasul

Member
Joined
May 5, 2012
Messages
301
Reaction score
0
Points
16
Location
Toronto
I'm sorry to bother you guys but none of the scenarios work for me. I've followed the instructions to install posted on the thread but everytime I try to launch a scenario, it doesn't work and crashes. I have an Intel HD3000.

*Edit: Never mind, I figured it out
 
Last edited:

cslevine

Member
Joined
Feb 23, 2009
Messages
36
Reaction score
0
Points
6
Hello,
wonderful improvements since some releases ...

i still have one wish : having runways light earlier in the evening, and later after sunrise.
Light are switched on just about 5 minute before night terminator,
and off only 5 minutes after day terminator on map.
But landing in the evening without any light, and without seeing any runway, is someway difficult.

Could you make runways light appear, saying 1 hour before and after day terminator ?
or more : put some switch in config file with the value
"runways light time before night" in minutes ?

Tank you :)
 

SolarLiner

It's necessary, TARS.
Addon Developer
Joined
Jun 14, 2010
Messages
1,847
Reaction score
2
Points
0
Location
404 ROAD NOT FOUND
Another bug:
The runways are clipping into the ground form me. All the runways does this.
 

cslevine

Member
Joined
Feb 23, 2009
Messages
36
Reaction score
0
Points
6
?? okay : i posted my comment on D3D11 but i don't use Directx11, i intended to speack about the D3D9 one.
So my wish was for D3D9. ( maybe D3D11 too, but i didn't tried it )

Sorry for the confusion.
 

sudathg

New member
Joined
Sep 13, 2011
Messages
1
Reaction score
0
Points
0
Waiting to try out the d3d11 client. Does it work with Orbiter Beta 121025 or do I have to use 111105 ?
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
Waiting to try out the d3d11 client. Does it work with Orbiter Beta 121025 or do I have to use 111105 ?
I didn't test it under 121025, so not sure if it works or not. We use 111105 version.
 

massimob

New member
Joined
Mar 15, 2012
Messages
5
Reaction score
0
Points
0
Location
Turin
Hi all,

I downloaded d3d11 Client -terrain, but I don't found on d3d11 configuration menu, "Create Symbolic Links" button.

Why ??

Or Vinka's modules are implementing without problems ?

Thanks in advance.
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,133
Reaction score
407
Points
123
Location
Rome
Website
www.tuttovola.org
As per this post, asmi already integrated symlink check routine into his client, i mean in the plain-no-terrain version at least.
If symlinks are not present, the button would show up.
Maybe he just needs to do the same in the terrain version?
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
As per this post, asmi already integrated symlink check routine into his client, i mean in the plain-no-terrain version at least.
If symlinks are not present, the button would show up.
Maybe he just needs to do the same in the terrain version?
It's actually the other way around - this button has been implemented in "terrain" branch only.
 

massimob

New member
Joined
Mar 15, 2012
Messages
5
Reaction score
0
Points
0
Location
Turin
There is the image ([IMG] tags can be used only with links to images, and not to pages containing them).

Sorry for image : now it's ok .

Client terrain today is ok: I had make a clean Orbiter install and problem is solved :thumbup:

---------- Post added at 06:47 PM ---------- Previous post was at 06:35 PM ----------

Ok, now a little question:

Orbiter clean installation (Orbiter 2010P1+beta 111105+D3D11 Client Terrain);

when I start any default scenarios, in "load screen" I notice that Orbiter don't found some textures.

Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 3.31071e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]
Module D3D11Client.dll ....... [Build 121026, API 111105]

**** Creating simulation session
D3D11Client - Terrain - version 0.4.a.35, built Oct 26 2012 is starting up...
D3D11Client::clbkGetViewportSize
D3D11Client::clbkFullscreenMode
Texture not found: Fcd07_n.dds
Texture not found: Fcd07_n.dds
Texture not found: Fcd08_n.dds
Texture not found: Fcd08_n.dds
Texture not found: Fcd09_n.dds
Texture not found: Fcd09_n.dds
Texture not found: Fcd10_n.dds
Texture not found: Fcd10_n.dds
Texture not found: Fcd14_n.dds
Texture not found: Fcd14_n.dds
Texture not found: Fcd15_n.dds
Texture not found: Fcd15_n.dds
Texture not found: Roof01_n.dds
Texture not found: Roof01_n.dds
Texture not found: Roof02_n.dds
Texture not found: Roof02_n.dds
Texture not found: Wall01_n.dds
Texture not found: Wall01_n.dds
Texture not found: Door01_n.dds
Texture not found: Door01_n.dds
Texture not found: Solpanel_n.dds
Texture not found: Solpanel_n.dds
Texture not found: Runway2_n.dds
Texture not found: Runway2_n.dds
Texture not found: Ball_n.dds
Texture not found: Ball_n.dds
Texture not found: Cape17_n.dds
Texture not found: Cape17_n.dds
Texture not found: Cape18_n.dds
Texture not found: Cape18_n.dds
Texture not found: Cape19_n.dds
Texture not found: Cape19_n.dds
Texture not found: Cape20_n.dds
Texture not found: Cape20_n.dds
Texture not found: Cape21.dds
Texture not found: Cape21.dds
Texture not found: Cape21_n.dds
Texture not found: Cape21_n.dds
Texture not found: Cape22_n.dds
Texture not found: Cape22_n.dds
D3D11Client::clbkFullscreenMode
Module Sun.dll ............... [Build 111105, API 111105]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 111105, API 111105]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 111105, API 111105]
Module VenusAtm2006.dll ...... [Build 111105, API 111105]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 111105, API 111105]
Module EarthAtmJ71G.dll ...... [Build 111105, API 111105]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 111105, API 111105]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 111105, API 111105]
Module MarsAtm2006.dll ....... [Build 111105, API 111105]
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 111105, API 111105]
Module Jupiter.dll ........... [Build 111105, API 111105]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 111105, API 111105]
Module Europa.dll ............ [Build 111105, API 111105]
Module Ganymede.dll .......... [Build 111105, API 111105]
Module Callisto.dll .......... [Build 111105, API 111105]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 111105, API 111105]
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 111105, API 111105]
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 111105, API 111105]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DeltaGlider.dll ....... [Build 111105, API 111105]
Module LuaInline.dll ......... [Build 111105, API 111105]
Module ShuttleA.dll .......... [Build 111105, API 111105]
Module ShuttlePB.dll ......... [Build 111105, API 111105]
Finished initialising status
Finished initialising camera
D3D11Client::clbkGetViewportSize
D3D11Client::clbkGetViewportSize
Finished initialising panels
D3D11Client::clbkGetViewportSize
Finished setting up render state
D3D11Client::clbkPostCreation
Loading Sun...
Loading Jupiter...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Saturn...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Neptune...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Uranus...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Earth...
Initializing atmosphere (type = 2)...
Initializing terrain...
Searching resources...
Loading Alcantara...
Loading Al Anbar...
Loading Baikonur...
Loading Barent Sea...
Loading Cape Canaveral...
Loading China Lake...
Loading Doberai...
Loading Edwards...
Loading Gran Canaria...
Loading Habana...
Loading Hammaguira...
Loading Inyokern...
Loading Jingyu...
Loading Jiuquan...
Loading Kagoshima...
Loading Kapustin Yar...
Loading Kourou...
Loading Matagorda...
Loading Musudan...
Loading Overberg...
Loading Palmachim...
Loading Peenemünde...
Loading Plesetsk...
Loading Salto di Quirra...
Loading San Marco...
Loading Sriharikota...
Loading Svobodniy...
Loading Taiyuan...
Loading Tanegashima...
Loading Vandenberg...
Loading Wallops Island...
Loading White Sands...
Loading Woomera...
Loading Wuzhai...
Loading Xichang...
Loading Venus...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Mars...
Initializing atmosphere (type = 2)...
Initializing terrain...
Searching resources...
Loading Olympus...
Loading Mercury...
Initializing terrain...
Searching resources...
Loading Ganymede...
Initializing terrain...
Searching resources...
Loading Titan...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Callisto...
Initializing terrain...
Searching resources...
Loading Io...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Moon...
Initializing terrain...
Searching resources...
Loading Brighton Beach...
Loading Europa...
Initializing terrain...
Searching resources...
Loading Triton...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Titania...
Initializing terrain...
Searching resources...
Loading Oberon...
Initializing terrain...
Searching resources...
Loading Rhea...
Initializing terrain...
Searching resources...
Loading Iapetus...
Initializing terrain...
Searching resources...
Loading Ariel...
Initializing terrain...
Searching resources...
Loading Umbriel...
Initializing terrain...
Searching resources...
Loading Dione...
Initializing terrain...
Searching resources...
Loading Tethys...
Initializing terrain...
Searching resources...
Loading Enceladus...
Initializing terrain...
Searching resources...
Loading Miranda...
Initializing terrain...
Searching resources...
Loading Mimas...
Initializing terrain...
Searching resources...
Loading Proteus...
Initializing terrain...
Searching resources...
Loading Hyperion...
Initializing terrain...
Searching resources...
Loading Nereid...
Initializing terrain...
Searching resources...
Loading Phobos...
Loading Deimos...
Loading ISS...
Loading Mir...
Loading Luna-OB1...
Loading GL-01...
Loading SH-03...
Loading PB-01...
Loading GL-02...
Loading SH-01...
---------------------------------------------------------------
>>> 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.
---------------------------------------------------------------
D3D11Client::clbkCloseSession
D3D11Client::clbkDestroyRenderWindow
**** Closing simulation session

Is it normal ?

Thanks.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
when I start any default scenarios, in "load screen" I notice that Orbiter don't found some textures.

Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 3.31071e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]
Module D3D11Client.dll ....... [Build 121026, API 111105]

**** Creating simulation session
D3D11Client - Terrain - version 0.4.a.35, built Oct 26 2012 is starting up...
D3D11Client::clbkGetViewportSize
D3D11Client::clbkFullscreenMode
Texture not found: Fcd07_n.dds
Texture not found: Fcd07_n.dds
Texture not found: Fcd08_n.dds
Texture not found: Fcd08_n.dds
Texture not found: Fcd09_n.dds
Texture not found: Fcd09_n.dds
Texture not found: Fcd10_n.dds
Texture not found: Fcd10_n.dds
Texture not found: Fcd14_n.dds
Texture not found: Fcd14_n.dds
Texture not found: Fcd15_n.dds
Texture not found: Fcd15_n.dds
Texture not found: Roof01_n.dds
Texture not found: Roof01_n.dds
Texture not found: Roof02_n.dds
Texture not found: Roof02_n.dds
Texture not found: Wall01_n.dds
Texture not found: Wall01_n.dds
Texture not found: Door01_n.dds
Texture not found: Door01_n.dds
Texture not found: Solpanel_n.dds
Texture not found: Solpanel_n.dds
Texture not found: Runway2_n.dds
Texture not found: Runway2_n.dds
Texture not found: Ball_n.dds
Texture not found: Ball_n.dds
Texture not found: Cape17_n.dds
Texture not found: Cape17_n.dds
Texture not found: Cape18_n.dds
Texture not found: Cape18_n.dds
Texture not found: Cape19_n.dds
Texture not found: Cape19_n.dds
Texture not found: Cape20_n.dds
Texture not found: Cape20_n.dds
Texture not found: Cape21.dds
Texture not found: Cape21.dds
Texture not found: Cape21_n.dds
Texture not found: Cape21_n.dds
Texture not found: Cape22_n.dds
Texture not found: Cape22_n.dds
D3D11Client::clbkFullscreenMode
Module Sun.dll ............... [Build 111105, API 111105]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 111105, API 111105]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 111105, API 111105]
Module VenusAtm2006.dll ...... [Build 111105, API 111105]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 111105, API 111105]
Module EarthAtmJ71G.dll ...... [Build 111105, API 111105]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 111105, API 111105]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 111105, API 111105]
Module MarsAtm2006.dll ....... [Build 111105, API 111105]
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 111105, API 111105]
Module Jupiter.dll ........... [Build 111105, API 111105]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 111105, API 111105]
Module Europa.dll ............ [Build 111105, API 111105]
Module Ganymede.dll .......... [Build 111105, API 111105]
Module Callisto.dll .......... [Build 111105, API 111105]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 111105, API 111105]
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 111105, API 111105]
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 111105, API 111105]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DeltaGlider.dll ....... [Build 111105, API 111105]
Module LuaInline.dll ......... [Build 111105, API 111105]
Module ShuttleA.dll .......... [Build 111105, API 111105]
Module ShuttlePB.dll ......... [Build 111105, API 111105]
Finished initialising status
Finished initialising camera
D3D11Client::clbkGetViewportSize
D3D11Client::clbkGetViewportSize
Finished initialising panels
D3D11Client::clbkGetViewportSize
Finished setting up render state
D3D11Client::clbkPostCreation
Loading Sun...
Loading Jupiter...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Saturn...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Neptune...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Uranus...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Earth...
Initializing atmosphere (type = 2)...
Initializing terrain...
Searching resources...
Loading Alcantara...
Loading Al Anbar...
Loading Baikonur...
Loading Barent Sea...
Loading Cape Canaveral...
Loading China Lake...
Loading Doberai...
Loading Edwards...
Loading Gran Canaria...
Loading Habana...
Loading Hammaguira...
Loading Inyokern...
Loading Jingyu...
Loading Jiuquan...
Loading Kagoshima...
Loading Kapustin Yar...
Loading Kourou...
Loading Matagorda...
Loading Musudan...
Loading Overberg...
Loading Palmachim...
Loading Peenemünde...
Loading Plesetsk...
Loading Salto di Quirra...
Loading San Marco...
Loading Sriharikota...
Loading Svobodniy...
Loading Taiyuan...
Loading Tanegashima...
Loading Vandenberg...
Loading Wallops Island...
Loading White Sands...
Loading Woomera...
Loading Wuzhai...
Loading Xichang...
Loading Venus...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Mars...
Initializing atmosphere (type = 2)...
Initializing terrain...
Searching resources...
Loading Olympus...
Loading Mercury...
Initializing terrain...
Searching resources...
Loading Ganymede...
Initializing terrain...
Searching resources...
Loading Titan...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Callisto...
Initializing terrain...
Searching resources...
Loading Io...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Moon...
Initializing terrain...
Searching resources...
Loading Brighton Beach...
Loading Europa...
Initializing terrain...
Searching resources...
Loading Triton...
Initializing atmosphere (type = 0)...
Initializing terrain...
Searching resources...
Loading Titania...
Initializing terrain...
Searching resources...
Loading Oberon...
Initializing terrain...
Searching resources...
Loading Rhea...
Initializing terrain...
Searching resources...
Loading Iapetus...
Initializing terrain...
Searching resources...
Loading Ariel...
Initializing terrain...
Searching resources...
Loading Umbriel...
Initializing terrain...
Searching resources...
Loading Dione...
Initializing terrain...
Searching resources...
Loading Tethys...
Initializing terrain...
Searching resources...
Loading Enceladus...
Initializing terrain...
Searching resources...
Loading Miranda...
Initializing terrain...
Searching resources...
Loading Mimas...
Initializing terrain...
Searching resources...
Loading Proteus...
Initializing terrain...
Searching resources...
Loading Hyperion...
Initializing terrain...
Searching resources...
Loading Nereid...
Initializing terrain...
Searching resources...
Loading Phobos...
Loading Deimos...
Loading ISS...
Loading Mir...
Loading Luna-OB1...
Loading GL-01...
Loading SH-03...
Loading PB-01...
Loading GL-02...
Loading SH-01...
---------------------------------------------------------------
>>> 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.
---------------------------------------------------------------
D3D11Client::clbkCloseSession
D3D11Client::clbkDestroyRenderWindow
**** Closing simulation session

Is it normal ?
Missing night versions of those textures are normal. Orbiter always tries to load night versions of textures included in Config/Base.cfg, but they don't need to be present at all. Additionally, the Cape21.dds isn't present in the Textures folder, but it's included as a base texture in the Base.cfg file, even in the vanilla Orbiter, so that's why it can't be loaded.
 

massimob

New member
Joined
Mar 15, 2012
Messages
5
Reaction score
0
Points
0
Location
Turin
Thanks Orb for your replay !

Since I'm a newbie on Orbiter, some questions about textures on D3D11 client.

Yesterday, asmi send me links about hightiles for D3D11 client; If I think right, hightiles are for 3D terrain, isn't it ?

Now, planetary textures from Veterok are LVL 8 and LVL11, but Orbiter default installation doesn't come with default Earth and Moon LVL 11 ?

If I install on Textures2 folder, Earth or other planet Veterok LVL11 textures, is it necessary to install also LVL8 textures ?

Another, what's difference from Veterok planetary textures and standard Orbiter textures (specially for Earth and Moon)? There's a particularity about this textures for D3D11 Client ?

Last, what's difference from Veterok "normal textures" and "surface textures" ?

Thanks all for your patience !
 
Last edited:

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Hi,

I am trying to clone the code for the D3D11Client-Terrain branch from asmi's bitbucket repository. I am interested in only keeping it updated in my local system and not in committing anything at the moment (so I have not forked it yet).



I can see that the code for the D3D11Client-Terrain is in a separate branch from the main line. Perhaps thats why I do not see the D3D11 code in my folder. What do I need to do to make the D3D11 code appear there and be able to pull changes from asmi's branch into my local system periodically ?

I tried grafting the d3d11 branch into my local repo and that did work. A OrbiterSDK folder appeared in the top level folder. But I am not sure if that's how I should do this, so I backed out again.

---------- Post added at 06:24 PM ---------- Previous post was at 02:46 PM ----------

Ok, now I am trying to compile the D3D11 terrain client after obtaining the source as given in the instructions but I keep getting this error related to a header file not being found :
#include <atlbase.h>

Its included in the header CComPtrEx.h but atl is not shipped with Visual Studio Express 2012. Is there a way to work around this ?

Code:
1>------ Build started: Project: D3D11Client, Configuration: Debug Win32 ------
1>  AdvancedAtmosphere.cpp
1>f:\code\orbiter\1 testing grounds\orbiterd3d11\orbitersdk\d3d11client\CComPtrEx.h(2): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
1>  AtmosphereMgr.cpp
1>f:\code\orbiter\1 testing grounds\orbiterd3d11\orbitersdk\d3d11client\CComPtrEx.h(2): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
1>  BasicAtmosphere.cpp
 
Last edited:

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,403
Reaction score
581
Points
153
Location
Vienna
I can see that the code for the D3D11Client-Terrain is in a separate branch from the main line. Perhaps thats why I do not see the D3D11 code in my folder. What do I need to do to make the D3D11 code appear there and be able to pull changes from asmi's branch into my local system periodically ?

Huh? Asmi's branch there at 1f2ee85a8579 has all the code in it. What do you mean with "local system"? Your working copy?

Just update (cleanly) to asmi's branch and everything should be there under /Orbitersdk/D3D11Client/ .
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Well, I have cloned the repository using :

hg clone https://bitbucket.org/asmi/ovp

I found this command under the Clone button right here : https://bitbucket.org/asmi/ovp/commits/all/

But I do not see the code in the D3D11Client-Terrain branch. I think what is happening is that the OVP repository is getting cloned, not the specific branch.

Yes by local system I mean my local working copy.
 

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,403
Reaction score
581
Points
153
Location
Vienna
If you cloned the repository, you've got all the versions of the code there ever were in it on your local computer. You just have to use the update command to update your working copy to a specific version.

I guess your confusion comes from the fact that Mercurial (and TortoiseHg) simply update to the so called "default" branch after a fresh clone. And the default branch in asmi's repo is AFAIK still the OVP project of Martin.

So what you've got in your working copy are the files of the "official" OVP project, and those do not contain a D3D11Client folder.
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Thanks Face. All good now. It was the update command which was missing !

ovp2.png
[/URL]

---------- Post added at 07:27 PM ---------- Previous post was at 07:25 PM ----------

Now the ATL issue. It seems to be quite outdated and related to UI code. Is there some work around for the functionality provided in the header atlbase.h ?

I haven't worked with COM yet so I am not sure how to replace it if its not supplied by the visual studio installation.

---------- Post added at 08:19 PM ---------- Previous post was at 07:27 PM ----------

Trying to get hold of this file from the Windows Device Driver Kit now : http://www.microsoft.com/en-us/download/confirmation.aspx?id=11800

---------- Post added at 10:09 PM ---------- Previous post was at 08:19 PM ----------

ok I was finally able to compile the D3D11 Client - Terrain.

I got the ATL files after installing the Windows Device Driver toolkit. Also had to edit the D3D11Cleint.rc file a bit to remove the afxres.h header.

Now I am stuck with a wierd error while running it. Here is the stack trace :

Code:
 	 	KernelBase.dll!751a3219()	Unknown
 	[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]	
 	D3D11Client.dll!DXTraceA(const char * strFile, unsigned long dwLine, HRESULT hr, const char * strMsg, int bPopMsgBox) Line 4852	C++
>	D3D11Client.dll!D3D11Mesh::CreateBuffers(bool shadows) Line 515	C++
 	D3D11Client.dll!D3D11Mesh::D3D11Mesh(unsigned long _ngrp, MESHGROUPEX * * grps, void * * texs) Line 467	C++
 	D3D11Client.dll!vBase::vBase(vPlanet * _PLN, void * _planet, void * obj, const ConfigFileParser * config, Scene * scene) Line 208	C++
 	D3D11Client.dll!vPlanet::vPlanet(void * _obj, Scene * scene) Line 272	C++
 	D3D11Client.dll!Scene::InitObjects() Line 1826	C++
 	D3D11Client.dll!D3D11Client::clbkPostCreation() Line 314	C++
 	orbiter.exe!0041ad2c()	Unknown
 	msvcr80.dll!740951b6()	Unknown
 
Last edited:
Top