Project D3D11Client Development

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
Ok guys, currently I haven't got spare time even to keep up-to-date which topics here, but as terrain implementation is taking more time that it was originally anticipated, I'm going to post some exclusive screenshots that I've got from Glider some time ago that shows what are we about to get:
02.jpg

04.jpg

06.jpg

07.jpg

08.jpg

Remember that these are screenshots from early development, so there are glitches here and there, and the final result may be a bit different, but it should give you a taste of things to come.
All credit for this goes to Glider.
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
Love the grid view :)

It actually shows hardware tesselation at work. This feature is only available in DX11-compliant video cards, so owners of earlier generation's GPUs might want to consider upgrading :) If I remember correctly, there still going to be some downlevel support for DX10.0/10.1, but that is THE feature that can only be implemented with adequate performance on DX11-level hardware. That tesselation allows for a dynamic detailization to display very smooth terrain while still maintaining good performance as there is a dedicated hardware for that very purpose inside DX11-level GPUs.
 

Jeffers

New member
Joined
Feb 15, 2012
Messages
4
Reaction score
0
Points
0
I thought I'd give this a try but I've failed at the first hurdle. I made a new install of Orbiter and ran it, all OK. Then got the 111105 differences file, but when I try and unzip it I get an error.

This is the log from Winzip.

Code:
Extracting to "C:\USERS\JEFF\APPDATA\LOCAL\TEMP\wzac66\"
Use Path: yes   Overlay Files: yes
Extracting Orbitersdk\doc\API_Reference.chm
Extracting Html\orbiter.chm
Extracting Orbiter.ico
Extracting Orbitersdk\samples\DeltaGlider\AAP.h
Extracting Orbitersdk\samples\ShuttleA\adiball.h
Extracting Orbitersdk\samples\ShuttleA\adictrl.h
Extracting Orbitersdk\samples\DeltaGlider\Airbrake.h
Extracting Orbitersdk\samples\DeltaGlider\AirlockSwitch.h
Extracting Orbitersdk\samples\DeltaGlider\AtctrlDial.h
Extracting Orbitersdk\samples\ShuttleA\attref.h
Extracting Orbitersdk\samples\ShuttleA\auxpodctrl.h
Extracting Orbitersdk\samples\LuaScript\LuaConsole\ConsoleInterpreter.h
Extracting Orbitersdk\samples\DeltaGlider\DeltaGlider.h
Extracting Orbitersdk\samples\DeltaGlider\ElevTrim.h
Extracting Orbitersdk\samples\DeltaGlider\FuelMfd.h
Extracting Orbitersdk\samples\DeltaGlider\GearLever.h
Extracting Orbitersdk\include\GraphicsAPI.h
Extracting Orbitersdk\samples\DeltaGlider\Horizon.h
Extracting Orbitersdk\samples\DeltaGlider\HudBtn.h
Extracting Orbitersdk\samples\ShuttleA\hudbutton.h
Extracting Orbitersdk\samples\DeltaGlider\InstrAoa.h
Extracting Orbitersdk\samples\DeltaGlider\InstrHsi.h
Extracting Orbitersdk\samples\Common\Vessel\Instrument.h
Extracting Orbitersdk\samples\DeltaGlider\InstrVs.h
Extracting Orbitersdk\include\Interpreter.h
Extracting Orbitersdk\samples\LuaScript\LuaInterpreter\Interpreter.h
Extracting Orbitersdk\samples\LuaScript\LuaConsole\LuaConsole.h
Extracting Orbitersdk\samples\Solarsail\meshres.h
Extracting Orbitersdk\samples\DeltaGlider\MFDButton.h
Extracting Orbitersdk\samples\ShuttleA\mfdbutton.h
Extracting Orbitersdk\samples\LuaScript\LuaMFD\MfdInterpreter.h
Extracting Orbitersdk\samples\DeltaGlider\NavButton.h
Extracting Orbitersdk\samples\ShuttleA\navbutton.h
Extracting Orbitersdk\samples\ShuttleA\needlepair.h
Extracting Orbitersdk\include\OrbiterAPI.h
Extracting Orbitersdk\samples\DeltaGlider\RcsDial.h
Extracting Orbitersdk\samples\ShuttleA\rcsswitch.h
Extracting Orbitersdk\samples\ShuttleA\resource.h
Extracting Orbitersdk\samples\ShuttleA\ShuttleA.h
Extracting Orbitersdk\samples\ShuttleA\sliderpair.h
Extracting Orbitersdk\samples\DeltaGlider\SwitchArray.h
Extracting Orbitersdk\samples\DeltaGlider\ThrottleHover.h
Extracting Orbitersdk\samples\DeltaGlider\ThrottleMain.h
Extracting Orbitersdk\samples\DeltaGlider\ThrottleScram.h
Extracting Orbitersdk\samples\DeltaGlider\UndockBtn.h
Extracting Orbitersdk\include\VesselAPI.h
Extracting Orbitersdk\samples\ShuttleA\adiball.cpp
Extracting Orbitersdk\samples\ShuttleA\adictrl.cpp
Extracting Orbitersdk\samples\Atlantis\Atlantis\Atlantis.cpp
Extracting Orbitersdk\samples\Atlantis\Atlantis_SRB\Atlantis_SRB.cpp
Extracting Orbitersdk\samples\ShuttleA\attref.cpp
Extracting Orbitersdk\samples\ShuttleA\auxpodctrl.cpp
Extracting Orbitersdk\samples\Atlantis\Common.cpp
Extracting Orbitersdk\samples\LuaScript\LuaConsole\ConsoleInterpreter.cpp
Extracting Orbitersdk\samples\DeltaGlider\DeltaGlider.cpp
Extracting Orbitersdk\samples\DeltaGlider\DGLua.cpp
Extracting Orbitersdk\samples\ShuttleA\hudbutton.cpp
Extracting Orbitersdk\samples\Common\Vessel\Instrument.cpp
Extracting Orbitersdk\samples\DeltaGlider\InstrVs.cpp
Extracting Orbitersdk\samples\LuaScript\LuaInterpreter\Interpreter.cpp
Extracting Orbitersdk\samples\LuaScript\LuaConsole\LuaConsole.cpp
Extracting Orbitersdk\samples\LuaScript\LuaInline\LuaInline.cpp
Extracting Orbitersdk\samples\DeltaGlider\MFDButton.cpp
Extracting Orbitersdk\samples\ShuttleA\mfdbutton.cpp
Extracting Orbitersdk\samples\LuaScript\LuaMFD\MfdInterpreter.cpp
Extracting Orbitersdk\samples\DeltaGlider\MwsButton.cpp
Extracting Orbitersdk\samples\ShuttleA\navbutton.cpp
Extracting Orbitersdk\samples\ShuttleA\needlepair.cpp
Extracting Orbitersdk\samples\ShuttleA\rcsswitch.cpp
Extracting Orbitersdk\samples\ScriptMFD\ScriptMFD.cpp
Extracting Orbitersdk\samples\ShuttleA\ShuttleA.cpp
Extracting Orbitersdk\samples\ShuttleA\ShuttleALua.cpp
Extracting Orbitersdk\samples\ShuttleA\sliderpair.cpp
Extracting Orbitersdk\samples\ShuttleA\ShuttleA.rc
Extracting Orbitersdk\samples\DeltaGlider\DeltaGlider.vcproj
Extracting Orbitersdk\samples\ShuttleA\ShuttleA.vcproj
Extracting patch.txt
Extracting Orbitersdk\doc\API_Guide.pdf
Extracting Orbitersdk\doc\API_Reference.pdf
Extracting Doc\ShuttleA.pdf
Extracting Orbitersdk\lib\DlgCtrl.lib
Extracting Orbitersdk\lib\GDIClient.lib
Extracting Orbitersdk\lib\orbiter.lib
Extracting Orbitersdk\lib\Orbitersdk.lib
Extracting Config\Base.cfg
Extracting Config\CSphere\bkgimage.cfg
Extracting Config\Earth\Base\Canaveral.cfg
Extracting Config\Modules\Console.cfg
Extracting Config\Earth.cfg
Extracting Config\Jupiter.cfg
Extracting Config\Mars.cfg
Extracting Config\Mercury.cfg
Extracting Config\Neptune.cfg
Extracting Config\Saturn.cfg
Extracting Config\Vessels\ShuttleA.cfg
Extracting Config\MFD\TestMFD1.cfg
Extracting Config\Uranus.cfg
Extracting Config\Venus.cfg
Extracting Flights\Space Shuttle to ISS\system.dat
Extracting Textures\Common\adiball_blue.dds
Extracting Textures\Common\adiball_grey.dds
Extracting Textures\Cape19.dds
Extracting Textures\generic\concrete1.dds
Extracting Textures\generic\concrete2.dds
Extracting Textures\generic\concrete2a.dds
Extracting Textures\generic\concrete3.dds
Extracting Textures\Fcd14.dds
Extracting Textures\Fcd15.dds
Extracting Textures\Cockpit\hud.dds
Extracting Textures\Cockpit\hud_blue.dds
Extracting Textures\Cockpit\hud_red.dds
Extracting Textures\Cockpit\hud_yellow.dds
Extracting Textures\KSC\KLC39B.dds
Extracting Textures\main_menu.dds
Extracting Textures\main_menu_tgt.dds
Extracting Textures\generic\metal_plates1.dds
Extracting Textures\KSC\MLP.dds
Extracting Textures\ShuttleA\panel2d.dds
Extracting Textures\ShuttleA\panel_el.dds
Extracting Textures\generic\railings1.dds
Extracting Textures\generic\stripes.dds
Extracting Textures\generic\tiles1.dds
Extracting Textures\transp.dds
Extracting Script\DG\aap.lua
Extracting Script\ShuttleA\adi.lua
Extracting Meshes\KLC39B.msh
Extracting Meshes\KLC39Bground.msh
Extracting Meshes\KSC_10.msh
Extracting Meshes\KSC_4.msh
Extracting Orbitersdk\resources\orbiter.rules
Extracting Scenarios\Tutorials\ADI training.scn
Extracting Scenarios\Space Shuttle Atlantis\Atlantis satellite Launch.scn
Extracting Scenarios\Delta-glider\Cape Canaveral.scn
Extracting Scenarios\Space Shuttle Atlantis\Launch into Sunrise.scn
Extracting Scenarios\Navigation\Special orbits\Tundra orbit.scn
Extracting Orbitersdk\resources\Orbiter debug.vsprops
Extracting Orbitersdk\resources\orbiterroot.vsprops
Extracting Orbitersdk\utils\meshc.exe
Extracting orbiter.exe
Extracting Modules\Server\orbiter.exe
Extracting Orbiter_ng.exe
Extracting Utils\pltex.exe
Extracting Orbitersdk\utils\Shipedit.exe
Extracting Install\testinstall.exe
Extracting Install\testvcr.exe
Extracting Install\vcredist_x86.exe
Extracting Modules\Atlantis.dll
Extracting Modules\Startup\AtlantisConfig.dll
Extracting Modules\Atlantis_SRB.dll
Extracting Modules\Atlantis_Tank.dll
Extracting Modules\Startup\AtmConfig.dll
Extracting Modules\Celbody\Callisto.dll
Extracting Modules\Plugin\CustomMFD.dll
Extracting Modules\DeltaGlider.dll
Extracting Modules\Startup\DGConfigurator.dll
Extracting Modules\Celbody\Earth.dll
Extracting Modules\Celbody\Earth\atmosphere\EarthAtm2006.dll
Extracting Modules\Celbody\Earth\atmosphere\EarthAtmJ71G.dll
Extracting Modules\Celbody\Earth\atmosphere\EarthAtmNRLMSISE00.dll
Extracting Modules\Celbody\Europa.dll
Extracting Modules\Plugin\ExtMFD.dll
Extracting Modules\Plugin\FlightData.dll
Extracting Modules\Plugin\Framerate.dll
Extracting Modules\Galsat.dll
Extracting Modules\Celbody\Ganymede.dll
Extracting Modules\Server\GDIClient.dll
Extracting Modules\HST.dll
Extracting Modules\Celbody\Io.dll
Extracting Modules\Celbody\Jupiter.dll
Extracting Modules\Plugin\LuaConsole.dll
Extracting LuaInline.dll
Extracting LuaInterpreter.dll
Extracting Modules\Plugin\LuaMFD.dll
Extracting Modules\Celbody\Mars.dll
Extracting Modules\Celbody\Mars\atmosphere\MarsAtm2006.dll
Extracting Modules\Celbody\Mercury.dll
Extracting Modules\Plugin\Meshdebug.dll
Extracting Modules\mmu.dll
Extracting Modules\Celbody\Moon.dll
Extracting Modules\Celbody\Neptune.dll
Extracting Modules\Plugin\Rcontrol.dll
Extracting Modules\Celbody\Saturn.dll
Extracting Modules\Plugin\ScnEditor.dll
Extracting Modules\Plugin\ScriptMFD.dll
Extracting Modules\ScriptVessel.dll
Extracting Modules\ShuttleA.dll
Extracting Modules\ShuttleA_PL.dll
Extracting Modules\ShuttlePB.dll
Extracting Modules\Solarsail.dll
Extracting Modules\Celbody\Sun.dll
Extracting Modules\Plugin\TrackIR.dll
Extracting Modules\Plugin\transx.dll
Extracting Modules\Celbody\Uranus.dll
Extracting Modules\Celbody\Venus.dll
Extracting Modules\Celbody\Venus\atmosphere\VenusAtm2006.dll
Extracting Modules\Vsop87.dll
Extracting Flights\Glider in orbit 1\system.dat
Extracting Install\orbiter.bin
Irrecoverable Error:  Extract operation failed.

I've tried downloading the file again but I get the same result.

Any ideas?
 
Last edited by a moderator:

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
so owners of earlier generation's GPUs might want to consider upgrading
Yes I am going for an upgrade in April, prolly i5 since games dont use more than 4 cores anyway and it seems to be pretty good in its segment. Not sure which graphics card to go for yet though. I am looking at playing Orbiter in max settings and also cuda/openCL support. It will probably be a laptop :p

Hope Dx11 implementations in graphics cards have fully matured with proper drivers. Wouldnt want stuff on the CPU :)
 
Last edited:

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Then got the 111105 differences file, but when I try and unzip it I get an error.

This is the log from Winzip.
Did you try to extract it directly to Orbiter folder, and with 7-Zip?
 

Jeffers

New member
Joined
Feb 15, 2012
Messages
4
Reaction score
0
Points
0
Did you try to extract it directly to Orbiter folder, and with 7-Zip?

I have now, and it looks OK.

I was using an evaluation copy of Winzip 16, I thought that should work?

I always used to use 7-Zip, but I didn't get round to installing it last time I installed Windows. Don't know why, must be old age getting to me!

Thanks.
 

Astronut25

New member
Joined
Nov 17, 2009
Messages
102
Reaction score
0
Points
0
Location
Out there
Z-Buffer issue

I've found this happening whenever I get close to a spacecraft, it appears that the z-buffering issue occurs within the mesh's groups (a different mesh in the foreground won't show the mesh behind it)

Untitled4.jpg

(I just downloaded the current version of the client)
(asmi-ovp-fb4e78fc7439)
 
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 just downloaded the current version of the client)

As this is still in early development and like a moving target, please always specify the hash-code of the version you use. It helps developers tremendously to nail down a bug.

Don't bother to mention the download site or the dot-version (0.1.x.charlybrown), as it is no real identification. Just give the hash-code - the first 6 characters should suffice already.

regards,
Face
 

Glider

Addon Developer
Addon Developer
Joined
Apr 12, 2008
Messages
226
Reaction score
0
Points
16
Location
Saint-Petersburg
Is it going to support displacement mapping at the microtexture level?
Yes. I intend to use 3 types of microtextures: normal, displacement and diffuse. Diffuse and normal will be DXT1 images and will affect color and surface normal of terrain while displacement will be a grayscale and will actually decrease/increase elevation. also, it should be possible to use different microtextures for flat and coarse terrain, so mountains will have one microtexture and valleys will have other (coefficients for them can depend on angle between sphere normal and terrain normal). Displacement microtextures will give better result with FL11 because it can add necessary mesh resolution by HS/tesselator/DS stage without significant performance drop while in the case of FL10 there's no hardware tesselator (CS 4.0 approach will probably have bad performance) and therefore I will just use 2 times better resolution of tile mesh in that case (32x32 instead of 16x16).
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
I've found this happening whenever I get close to a spacecraft, it appears that the z-buffering issue occurs within the mesh's groups (a different mesh in the foreground won't show the mesh behind it)

View attachment 9395

(I just downloaded the current version of the client)
(asmi-ovp-fb4e78fc7439)
Well just by looking at the screenshot I can tell you it isn't latest version. You can get the latest one here: https://bitbucket.org/asmi/ovp Remember it requires Orbiter 111105 beta to work.
 
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
(asmi-ovp-fb4e78fc7439)

I doubt that this is the right hash-code. It points to the topmost of the mirrored changesets of Martin's SVN repo, not containing a D3D11Client at all. In fact, that changeset doesn't even contain binaries. See here: https://bitbucket.org/asmi/ovp/src/fb4e78fc7439 . Note the hash-code at the end of the URL.

If you want asmi's newest client, use the following link to immediately get the newest ZIP archive: http://bitbucket.org/asmi/ovp/get/D3D11Client.zip

regards,
Face
 

Hlynkacg

Aspiring rocket scientist
Addon Developer
Tutorial Publisher
Donator
Joined
Dec 27, 2010
Messages
1,870
Reaction score
3
Points
0
Location
San Diego
I doubt that this is the right hash-code. It points to the topmost of the mirrored changesets of Martin's SVN repo, not containing a D3D11Client at all. In fact, that changeset doesn't even contain binaries. See here: https://bitbucket.org/asmi/ovp/src/fb4e78fc7439 . Note the hash-code at the end of the URL.

If you want asmi's newest client, use the following link to immediately get the newest ZIP archive: http://bitbucket.org/asmi/ovp/get/D3D11Client.zip

regards,
Face

Seeing as this question keeps coming up there should proably be a stickied post with a "get latest version here..." and download/install instructions.
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
Seeing as this question keeps coming up there should proably be a stickied post with a "get latest version here..." and download/install instructions.
There is one - link is in my signature. This link goes to "sticky" thread that does have all instructions... So it looks like the issue is not the absence of information...
 

Hlynkacg

Aspiring rocket scientist
Addon Developer
Tutorial Publisher
Donator
Joined
Dec 27, 2010
Messages
1,870
Reaction score
3
Points
0
Location
San Diego
There is one - link is in my signature. This link goes to "sticky" thread that does have all instructions... So it looks like the issue is not the absence of information...

Oops missed that, I've been reading this thread without paying much attention to the sigs :facepalm:
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,668
Reaction score
796
Points
128
Hi,

What kind of normal map formats are currently supported by D3D11 or will be supported into the future ?
Which ones are more recommended and which ones are less recommended for use ?

Jarmo
 

Glider

Addon Developer
Addon Developer
Joined
Apr 12, 2008
Messages
226
Reaction score
0
Points
16
Location
Saint-Petersburg
Hi,

What kind of normal map formats are currently supported by D3D11 or will be supported into the future ?
Which ones are more recommended and which ones are less recommended for use ?

Jarmo
Hi,
vessel normal maps: D3D11 uses 3 or 4(in that case 4th component does nothing) component textures as normal maps. Normal maps loading was implemented by D3DX11GetImageInfoFromFile + D3DX11CreateShaderResourceViewFromFile functions, so format of texture will be the format read by D3DX11GetImageInfoFromFile. More recomended file format is DXT1(because of its good compression), but DXT3, DXT5, R8G8B8 or R8G8B8A8 will work as well. 2-component normal maps (where 3rd component is computed in pixel shader) currently not supported, but it can be added in future if it will be needed.

planetary normal maps: DXT1 256x256 tiles, file format is .tex/_tile.bin/_tile.tex file format currently used by Orbiter for planet textures (so, normal maps can be created by pltex without any new tools). I don't think planetary normal map format will be changed in future.
 
Top