![]() |
|
Orbiter Visualization Project Orbiter external graphics development. |
![]() |
|
Thread Tools |
![]() |
#5041 |
Addon Developer
![]() |
![]() Quote:
![]() |
![]() |
![]() |
![]() |
#5042 |
Addon Developer
![]() |
![]()
That solution has been a long time in the making. Much much thanks for taking out the time from your schedule to implement it. Now all the minor moons can be modeled again in Orbiter 2016 D3D9!
|
![]() |
![]() |
![]() |
#5043 |
Orbinaut
|
![]()
I noticed, that even during nighttime in orbit sun shines through transparent meshes (satellite antennas, etc.). Orbiter 2016 (not BETA), and 6.sep client.
|
![]() |
![]() |
![]() |
#5044 |
Orbinaut
|
![]() Quote:
|
![]() |
![]() |
![]() |
#5045 |
Orbinaut
|
![]()
Yes , I use LensFlare postprocessing ON (I think it's just them I see through transparencies). If it could be on the day side, it would be nothing too serious, but on the night side it's a bit odd...
|
![]() |
![]() |
![]() |
#5046 |
Orbinaut
|
![]()
Is the source code for the D3D9Client available? Codeplex seems to have shut down.
|
![]() |
![]() |
![]() |
#5047 |
Orbinaut
|
![]() Quote:
MSI GF75 Thin 9SC Intel I7-9750H @2.6Ghz NVIDIA GeForce GTX 1650 16GB RAM New install of Orbiter 2016 New install of D3D9Client Activated D3D9Client module in Orbiter_ng.exe setup Noticed when selecting 3D device on Video setup in Orbiter that the NVIDIA GeForce GTX 1650 is not listed for selection - only Intel UHD Graphics 630. Error: Direct Runtimes may be missing... then CTD **** Orbiter.log 000000.000: Build Aug 28 2016 [v.160828] 000000.000: Timer precision: 1e-007 sec 000000.000: Found 0 joystick(s) 000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828] 000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828] 000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828] 000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828] 000000.000: --------------------------------------------------------------- BaseDir : C:\Orbiter2016\ ConfigDir : C:\Orbiter2016\Config\ MeshDir : C:\Orbiter2016\Meshes\ TextureDir : C:\Orbiter2016\Textures\ HightexDir : C:\Orbiter2016\Textures2\ ScenarioDir: C:\Orbiter2016\Scenarios\ 000000.000: --------------------------------------------------------------- D3D9 DLLs : C:\Windows\SYSTEM32\d3dx9_43.dll [v 9.29.952.3111] : C:\Windows\SYSTEM32\d3d9.dll [v 10.0.17763.1] 000000.000: --------------------------------------------------------------- 000000.000: Module D3D9Client.dll ........ [Build 190906, API 160828] 000000.000: 000000.000: **** Creating simulation session 000000.000: D3D9: [DirectX 9 Initialized] D3D9: 3D-Adapter.............. : Intel(R) UHD Graphics 630 D3D9: MaxTextureWidth......... : 8192 D3D9: MaxTextureHeight........ : 8192 D3D9: MaxTextureRepeat........ : 8192 D3D9: VolTexAddressCaps....... : 0x3F D3D9: NumSimultaneousRTs...... : 4 D3D9: VertexDeclCaps.......... : 0x37F D3D9: MiscCaps................ : 0x2FCCF2 D3D9: XNA Math Support........ : Yes D3D9: Vertex Texture.......... : Yes D3D9: Shadow Mapping.......... : Yes D3D9: D3DFMT_A16B16G16R16F.... : Yes D3D9: D3DFMT_A32B32G32R32F.... : Yes D3D9: D3DFMT_D32F_LOCKABLE.... : No D3D9: D3DFMT_A2R10G10B10...... : Yes D3D9: D3DFMT_L8............... : Yes D3D9: D3DDTCAPS_DEC3N......... : No D3D9: D3DDTCAPS_FLOAT16_2..... : Yes D3D9: D3DDTCAPS_FLOAT16_4..... : Yes D3D9: Runs under WINE......... : No D3D9: Available Texture Memory : 4080 MB 000000.000: D3D9: [3DDevice Initialized] D3D9: ERROR: D3D9Surface.cpp Line:2045 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors) D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/CKBlit.fx) D3D9: ERROR: D3D9Pad.cpp Line:87 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors) D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/Sketchpad.fx) D3D9: ERROR: D3D9Effect.cpp Line:341 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, macro, 0, D3DXSHADER_NO_PRESHADER|D3DXSHADER_PREFER_FLOW_CON TROL, 0, &FX, &errors) D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx) D3D9: ERROR: PlanetRenderer.cpp Line:193 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, macro, 0, 0, 0, &pShader, &errors) D3D9: ERROR: Failed to create an Effect (Modules\D3D9Client\Surface.fx) D3D9: ERROR: Scene.cpp Line:3011 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors) D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/SceneTech.fx) Downloaded the D3D9Client June 10 runtime from https://www.microsoft.com/en-us/down...s.aspx?id=8109 Error during DirectX Setup: An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to determine problem. DirectX.log: 11/23/19 03:42:54: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _24_x64.inf [DefaultInstall] 11/23/19 03:42:54: infinst: Target file: 'C:\Windows\system32\d3dx9_24.dll' Target file is Version 9.5.132.0 Source file is Version 9.5.132.0 11/23/19 03:42:54: infinst: C:\Windows\system32\d3dx9_24.dll have been installed already. 11/23/19 03:42:54: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _25_x64.inf [DefaultInstall] 11/23/19 03:42:54: infinst: Target file: 'C:\Windows\system32\d3dx9_25.dll' Target file is Version 9.6.168.0 Source file is Version 9.6.168.0 11/23/19 03:42:54: infinst: C:\Windows\system32\d3dx9_25.dll have been installed already. 11/23/19 03:42:55: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _26_x64.inf [DefaultInstall] 11/23/19 03:42:55: infinst: Target file: 'C:\Windows\system32\d3dx9_26.dll' Target file is Version 9.7.239.0 Source file is Version 9.7.239.0 11/23/19 03:42:55: infinst: C:\Windows\system32\d3dx9_26.dll have been installed already. 11/23/19 03:42:55: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _27_x64.inf [DefaultInstall] 11/23/19 03:42:55: infinst: Target file: 'C:\Windows\system32\d3dx9_27.dll' Target file is Version 9.8.299.0 Source file is Version 9.8.299.0 11/23/19 03:42:55: infinst: C:\Windows\system32\d3dx9_27.dll have been installed already. 11/23/19 03:42:56: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _28_x64.inf [DefaultInstall] 11/23/19 03:42:56: infinst: Target file: 'C:\Windows\system32\d3dx9_28.dll' Target file is Version 9.10.455.0 Source file is Version 9.10.455.0 11/23/19 03:42:56: infinst: C:\Windows\system32\d3dx9_28.dll have been installed already. 11/23/19 03:42:56: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _29_x64.inf [DefaultInstall] 11/23/19 03:42:56: infinst: Target file: 'C:\Windows\system32\d3dx9_29.dll' Target file is Version 9.11.519.0 Source file is Version 9.11.519.0 11/23/19 03:42:56: infinst: C:\Windows\system32\d3dx9_29.dll have been installed already. 11/23/19 03:42:56: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\XACT_ x64.inf [DefaultInstall] 11/23/19 03:42:56: infinst: Target file: 'C:\Windows\system32\xactengine2_0.dll' Target file is Version 9.11.519.0 Source file is Version 9.11.519.0 11/23/19 03:42:56: infinst: C:\Windows\system32\xactengine2_0.dll have been installed already. 11/23/19 03:42:56: infinst: Target file: 'C:\Windows\system32\x3daudio1_0.dll' Target file is Version 9.11.519.0 Source file is Version 9.11.519.0 11/23/19 03:42:56: infinst: C:\Windows\system32\x3daudio1_0.dll have been installed already. 11/23/19 03:42:57: infinst: Installing C:\Users\chris\AppData\Local\Temp\DX18CD.tmp\d3dx9 _30_x64.inf [DefaultInstall] 11/23/19 03:42:57: infinst: Target file: 'C:\Windows\system32\d3dx9_30.dll' Target file is Version 9.12.589.0 Source file is Version 9.12.589.0 11/23/19 03:42:57: infinst: C:\Windows\system32\d3dx9_30.dll have been installed already. Next check D3D9ClientLog D3D9Client Log: (0: 0.0s 00.01ms)(0x2078) [Not Compiled With nVidia API] (1: 0.0s 02.87ms)(0x2078) ================ clbkInitialise =============== (2: 0.0s 00.04ms)(0x2078) Orbiter Version = 160828 (3: 0.0s 10.25ms)(0x2078) Index:0 320 x 200 48Hz (22) (4: 0.0s 00.72ms)(0x2078) Index:1 320 x 200 120Hz (22) (5: 0.0s 01.22ms)(0x2078) Index:2 320 x 240 48Hz (22) (6: 0.0s 01.01ms)(0x2078) Index:3 320 x 240 120Hz (22) (7: 0.0s 00.64ms)(0x2078) Index:4 400 x 300 48Hz (22) (8: 0.0s 00.44ms)(0x2078) Index:5 400 x 300 120Hz (22) (9: 0.0s 00.69ms)(0x2078) Index:6 512 x 384 48Hz (22) (10: 0.0s 00.44ms)(0x2078) Index:7 512 x 384 120Hz (22) (11: 0.0s 00.44ms)(0x2078) Index:8 640 x 400 48Hz (22) (12: 0.0s 00.44ms)(0x2078) Index:9 640 x 400 120Hz (22) (13: 0.0s 00.44ms)(0x2078) Index:10 640 x 480 48Hz (22) (14: 0.0s 00.44ms)(0x2078) Index:11 640 x 480 120Hz (22) (15: 0.0s 00.44ms)(0x2078) Index:12 800 x 600 48Hz (22) (16: 0.0s 00.44ms)(0x2078) Index:13 800 x 600 120Hz (22) (17: 0.0s 00.44ms)(0x2078) Index:14 1024 x 768 48Hz (22) (18: 0.0s 00.43ms)(0x2078) Index:15 1024 x 768 120Hz (22) (19: 0.0s 00.44ms)(0x2078) Index:16 1152 x 864 48Hz (22) (20: 0.0s 00.44ms)(0x2078) Index:17 1152 x 864 120Hz (22) (21: 0.0s 00.43ms)(0x2078) Index:18 1280 x 600 48Hz (22) (22: 0.0s 00.96ms)(0x2078) Index:19 1280 x 600 120Hz (22) (23: 0.0s 00.49ms)(0x2078) Index:20 1280 x 720 48Hz (22) (24: 0.0s 00.45ms)(0x2078) Index:21 1280 x 720 120Hz (22) (25: 0.0s 00.44ms)(0x2078) Index:22 1280 x 768 48Hz (22) (26: 0.0s 00.46ms)(0x2078) Index:23 1280 x 768 120Hz (22) (27: 0.0s 00.44ms)(0x2078) Index:24 1280 x 800 48Hz (22) (28: 0.0s 00.47ms)(0x2078) Index:25 1280 x 800 120Hz (22) (29: 0.0s 00.44ms)(0x2078) Index:26 1280 x 960 48Hz (22) (30: 0.0s 00.44ms)(0x2078) Index:27 1280 x 960 120Hz (22) (31: 0.0s 00.59ms)(0x2078) Index:28 1280 x 1024 48Hz (22) (32: 0.0s 00.44ms)(0x2078) Index:29 1280 x 1024 120Hz (22) (33: 0.0s 00.63ms)(0x2078) Index:30 1360 x 768 48Hz (22) (34: 0.0s 00.65ms)(0x2078) Index:31 1360 x 768 120Hz (22) (35: 0.0s 00.11ms)(0x2078) Index:32 1366 x 768 48Hz (22) (36: 0.0s 00.22ms)(0x2078) Index:33 1366 x 768 120Hz (22) (37: 0.0s 00.13ms)(0x2078) Index:34 1400 x 1050 48Hz (22) (38: 0.0s 00.11ms)(0x2078) Index:35 1400 x 1050 120Hz (22) (39: 0.0s 00.11ms)(0x2078) Index:36 1440 x 900 48Hz (22) (40: 0.0s 00.11ms)(0x2078) Index:37 1440 x 900 120Hz (22) (41: 0.0s 00.11ms)(0x2078) Index:38 1600 x 900 48Hz (22) (42: 0.0s 00.11ms)(0x2078) Index:39 1600 x 900 120Hz (22) (43: 0.0s 00.10ms)(0x2078) Index:40 1680 x 1050 48Hz (22) (44: 0.0s 00.11ms)(0x2078) Index:41 1680 x 1050 120Hz (22) (45: 0.0s 00.11ms)(0x2078) Index:42 1920 x 1080 48Hz (22) (46: 0.0s 00.11ms)(0x2078) Index:43 1920 x 1080 120Hz (22) (47: 27.8s 27766.21ms)(0x2078) Scenario = .\Scenarios\(Current state).scn (48: 27.8s 11.55ms)(0x2078) ================ clbkCreateRenderWindow =============== (49: 27.8s 05.18ms)(0x2078) Window Handle = 0x1C080A (50: 27.8s 05.50ms)(0x2078) [VideoConfiguration] Adapter=0, ModeIndex=43 (51: 27.8s 00.17ms)(0x2078) 3D-Adapter.............. : Intel(R) UHD Graphics 630 (52: 27.8s 01.02ms)(0x2078) dwFSMode................ : 1 (53: 27.8s 02.33ms)(0x2078) MaxTextureBlendStages... : 8 (54: 27.8s 00.03ms)(0x2078) MaxTextureWidth......... : 8192 (55: 27.8s 05.14ms)(0x2078) MaxTextureHeight........ : 8192 (56: 27.8s 01.35ms)(0x2078) MaxTextureRepeat........ : 8192 (57: 27.8s 01.09ms)(0x2078) VolTexAddressCaps....... : 0x3F (58: 27.8s 04.92ms)(0x2078) MaxVolumeExtent......... : 2048 (59: 27.8s 00.02ms)(0x2078) MaxPrimitiveCount....... : 8388607 (60: 27.8s 00.01ms)(0x2078) MaxVertexIndex.......... : 16777215 (61: 27.8s 00.01ms)(0x2078) MaxAnisotropy........... : 16 (62: 27.8s 00.01ms)(0x2078) MaxSimultaneousTextures. : 8 (63: 27.8s 00.01ms)(0x2078) MaxStreams.............. : 16 (64: 27.8s 00.01ms)(0x2078) MaxStreamStride......... : 255 (65: 27.8s 00.01ms)(0x2078) MaxVertexBlendMatrices.. : 4 (66: 27.8s 00.01ms)(0x2078) MaxVShaderInstrExecuted. : 4294967295 (67: 27.8s 00.01ms)(0x2078) MaxPointSize............ : 256.000000 (68: 27.8s 00.01ms)(0x2078) VertexShaderVersion..... : 0x300 (69: 27.8s 00.01ms)(0x2078) PixelShaderVersion...... : 0x300 (70: 27.8s 00.01ms)(0x2078) NumSimultaneousRTs...... : 4 (71: 27.8s 00.89ms)(0x2078) D3DPTEXTURECAPS_POW2.... : 0 (72: 27.8s 00.01ms)(0x2078) NONPOW2CONDITIONAL...... : 0 (73: 27.8s 00.01ms)(0x2078) VertexDeclCaps.......... : 0x37F (74: 27.8s 00.66ms)(0x2078) MiscCaps................ : 0x2FCCF2 (75: 27.8s 00.64ms)(0x2078) DevCaps................. : 0x19AE50 (76: 27.8s 00.01ms)(0x2078) DevCaps2................ : 0x51 (77: 27.8s 00.01ms)(0x2078) XNA Math Support........ : Yes (78: 27.8s 03.65ms)(0x2078) Vertex Texture.......... : Yes (79: 27.8s 00.89ms)(0x2078) Shadow Mapping.......... : Yes (80: 27.8s 00.75ms)(0x2078) D3DFMT_A16B16G16R16F.... : Yes (81: 27.8s 03.00ms)(0x2078) D3DFMT_A32B32G32R32F.... : Yes (82: 27.8s 03.35ms)(0x2078) D3DFMT_D32F_LOCKABLE.... : No (83: 27.9s 03.01ms)(0x2078) D3DFMT_A2R10G10B10...... : Yes (84: 27.9s 00.71ms)(0x2078) D3DFMT_L8............... : Yes (85: 27.9s 00.67ms)(0x2078) D3DDTCAPS_DEC3N......... : No (86: 27.9s 00.70ms)(0x2078) D3DDTCAPS_FLOAT16_2..... : Yes (87: 27.9s 00.68ms)(0x2078) D3DDTCAPS_FLOAT16_4..... : Yes (88: 27.9s 00.71ms)(0x2078) Runs under WINE......... : No (89: 27.9s 03.12ms)(0x2078) Window Size = [1920, 1080] (90: 27.9s 00.01ms)(0x2078) Window LeftTop = [0, 0] (91: 27.9s 49.98ms)(0x2078) Available Texture Memory : 4080 MB (92: 27.9s 06.70ms)(0x2078) === [3DDevice Initialized] === (93: 27.9s 01.13ms)(0x2078) ----- Initialize D3D9ClientSurface Tech ----- (94: 27.9s 00.46ms)(0x2078) [ERROR] D3D9Surface.cpp Line:2045 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors) (95: 27.9s 00.64ms)(0x2078) [ERROR] Failed to create an Effect (Modules/D3D9Client/CKBlit.fx) (96: 34.7s 6822.77ms)(0x2078) Render Target = 0xB641A0 (97: 34.7s 00.04ms)(0x2078) DepthStencil = 0x9BA9C20 (98: 34.7s 00.63ms)(0x2078) [ERROR] D3D9Pad.cpp Line:83 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors) (99: 34.7s 01.05ms)(0x2078) [ERROR] Failed to create an Effect (Modules/D3D9Client/Sketchpad.fx) (100: 35.4s 689.54ms)(0x2078) [NEW FONT] ( Courier New), Size=20, Weight=400 Pitch&Family=31 (101: 35.4s 03.59ms)(0x2078) Font Video Memory Usage = 512 kb (102: 35.4s 00.88ms)(0x2078) Font and Charter set creation succesfull (103: 35.4s 01.02ms)(0x2078) Splash Window Size = [1920, 1080] (104: 35.4s 00.01ms)(0x2078) Splash Window LeftTop = [0, 0] (105: 35.5s 110.54ms)(0x2078) Starting to initialize D3D9Client.fx a rendering technique... (106: 35.5s 00.55ms)(0x2078) [ERROR] D3D9Effect.cpp Line:341 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, macro, 0, D3DXSHADER_NO_PRESHADER|D3DXSHADER_PREFER_FLOW_CON TROL, 0, &FX, &errors) (107: 35.6s 01.25ms)(0x2078) [ERROR] Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx) (108: 35.6s 01.22ms)(0x2078) TileManager::GlobalInit()... (109: 35.6s 68.96ms)(0x2078) Starting to initialize Surface.fx a shading technique... (110: 35.6s 00.15ms)(0xC38) TileBuffer::LoadTile thread started (111: 35.6s 00.09ms)(0x3460) TileLoader::Load thread started (112: 35.6s 01.38ms)(0x2078) [ERROR] PlanetRenderer.cpp Line:198 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, macro, 0, 0, 0, &pShader, &errors) (113: 35.6s 01.27ms)(0x2078) [ERROR] Failed to create an Effect (Modules\D3D9Client\Surface.fx) (114: 35.6s 07.68ms)(0x2078) CSphereManager::GlobalInit()... (115: 35.6s 14.91ms)(0x2078) [ERROR] Scene.cpp Line:3089 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors) (116: 35.6s 03.97ms)(0x2078) [ERROR] Failed to create an Effect (Modules/D3D9Client/SceneTech.fx) Any thoughts??? |
![]() |
![]() |
![]() |
#5048 |
Donator
![]() |
![]() Quote:
Builds are published here: http://users.kymp.net/~p501474a/D3D9Client/ The source code is served here: svn://mirror.orbiter-radio.co.uk/D3D9client/ ( svn://mirror.orbiter-radio.co.uk/D3D9client/trunk for Orbiter BETA, svn://mirror.orbiter-radio.co.uk/D3D9client/branches/2016 for Orbiter 2016 and svn://mirror.orbiter-radio.co.uk/D3D9client/branches/2010-P1 for Orbiter 2010-P1 ) |
![]() |
![]() |
![]() |
#5049 |
Beta Tester
![]() ![]() |
![]() Quote:
These errors are pointing into a missing runtimes or other D3D dependencies. Could you check that you have in your "/windows/system32/" folder following files: d3d9.dll d3dx9_43.dll D3DCompiler_43.dll |
![]() |
![]() |
![]() |
#5050 |
Orbinaut
|
![]()
Thanks a lot Kuddel.
|
![]() |
![]() |
![]() |
#5051 |
Addon Developer
![]() |
![]()
An advanced option exists to control what vessels have shadows, but I'm not sure that is working as intended (or I'm interpreting it the wrong way
Maybe there should be 2 options: one to control what vessels will have shadows, and another to decided what level of detail the shadow will have on the vessels "selected" by the first option, a sort of subset option. |
![]() |
![]() |
![]() |
#5052 |
Beta Tester
![]() ![]() |
![]() Quote:
You could provide a screen shot to clarify the situation. But there is no level of detail control like that for shadows. Following is not entirely true, but we can consider that there is a fixed sized shadow map of 2048 pixels and those pixels will create a charper shadow on a small vessel and rougher shadow on a larger vessel. So, in other words the level of detail simply depends on vessel size. Large construction like ISS can have a sharp shadow if it's composed from a multiple smalled modules. Which is true in reality. |
![]() |
![]() |
Thanked by: |
![]() |
#5053 |
Addon Developer
![]() |
![]() Quote:
Thanks! |
![]() |
![]() |
![]() |
|
Tags |
d3d9client, graphicsclient |
Thread Tools | |
|
|
Quick Links | Need Help? |