Ah yes, sorry! my fault. If I may, I am completely with you that 1 meter is more than enough as resolution but there will be tons of users that will complain that it doesn't work because they had put 0.34 centimeters difference... so if possible I'd switch it to float
Very good proof-of-concept! :thumbup:
One question (I haven't found time to check for myself):
Can the patches overlap? So a "ring" could be made with:
Code:// ELLIPSE <height> <lng> <lat> <major> [<minor>] [<phi>] [<falloff>] ELLIPSE -2000 -33.4375 +41.125 2500 ELLIPSE -3000 -33.4375 +41.125 2000
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client_flat.dll ... [Build 190417, API 160828]
000000.000:
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
D3D9: 3D-Adapter.............. : AMD Radeon HD 8330
D3D9: MaxTextureWidth......... : 16384
D3D9: MaxTextureHeight........ : 16384
D3D9: MaxTextureRepeat........ : 8192
D3D9: VolTexAddressCaps....... : 0x3F
D3D9: NumSimultaneousRTs...... : 4
D3D9: VertexDeclCaps.......... : 0x3FF
D3D9: MiscCaps................ : 0x3FCCF2
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.... : Yes
D3D9: D3DFMT_A2R10G10B10...... : Yes
D3D9: D3DFMT_L8............... : Yes
D3D9: D3DDTCAPS_DEC3N......... : Yes
D3D9: D3DDTCAPS_FLOAT16_2..... : Yes
D3D9: D3DDTCAPS_FLOAT16_4..... : Yes
D3D9: Runs under WINE......... : No
D3D9: Available Texture Memory : 4095 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_CONTROL, 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:2997 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors)
D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/SceneTech.fx)
I guess I am doing it wrong:
but when I run the dg scn. I get a ctd and this:
Code:000000.000: --------------------------------------------------------------- 000000.000: Module D3D9Client_flat.dll ... [Build 190417, API 160828] 000000.000: 000000.000: **** Creating simulation session 000000.000: D3D9: [DirectX 9 Initialized] D3D9: 3D-Adapter.............. : AMD Radeon HD 8330 D3D9: MaxTextureWidth......... : 16384 D3D9: MaxTextureHeight........ : 16384 D3D9: MaxTextureRepeat........ : 8192 D3D9: VolTexAddressCaps....... : 0x3F D3D9: NumSimultaneousRTs...... : 4 D3D9: VertexDeclCaps.......... : 0x3FF D3D9: MiscCaps................ : 0x3FCCF2 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.... : Yes D3D9: D3DFMT_A2R10G10B10...... : Yes D3D9: D3DFMT_L8............... : Yes D3D9: D3DDTCAPS_DEC3N......... : Yes D3D9: D3DDTCAPS_FLOAT16_2..... : Yes D3D9: D3DDTCAPS_FLOAT16_4..... : Yes D3D9: Runs under WINE......... : No D3D9: Available Texture Memory : 4095 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_CONTROL, 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:2997 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors) D3D9: ERROR: Failed to create an Effect (Modules/D3D9Client/SceneTech.fx)
ELLIPSE -2700 -32.6 +41.5 2500
ELLIPSE -2600 -32.6 +41.5 1700
ELLIPSE -2700 -32.6 +41.5 1500
RECT -2700 -32.6 +41.47 3400 2400
ELLIPSE -2600 -32.55 +41.46 250
ELLIPSE -2600 -32.65 +41.46 250
Couldn't resist...
...seems like some digger had fun outside of Brighton BeachCode:ELLIPSE -2700 -32.6 +41.5 2500 ELLIPSE -2600 -32.6 +41.5 1700 ELLIPSE -2700 -32.6 +41.5 1500 RECT -2700 -32.6 +41.47 3400 2400 ELLIPSE -2600 -32.55 +41.46 250 ELLIPSE -2600 -32.65 +41.46 250
- Maybe placed wrong (belongs in Textures/Moon/Flat/)Funny. Not sure why I wasn't able to get it to work for me
BEGIN_DESC
...seems like some digger had fun outside of Brighton Beach
END_DESC
BEGIN_ENVIRONMENT
System Sol
Date MJD 58591.3831487852
END_ENVIRONMENT
BEGIN_FOCUS
Ship GL-NT
END_FOCUS
BEGIN_CAMERA
TARGET GL-NT
MODE Extern
POS 691.333343 -112.430705 -29.997748
TRACKMODE TargetRelative
FOV 50.00
END_CAMERA
BEGIN_HUD
TYPE Surface
END_HUD
BEGIN_MFD Left
TYPE Launch
NAV 0
END_MFD
BEGIN_MFD Right
TYPE Map
REF Moon
POS 0.00 0.00
END_MFD
BEGIN_SHIPS
GL-NT:DeltaGlider
STATUS Landed Moon
POS -32.6000000 41.5000000
HEADING 70.00
ALT 2.553
AROT 15.719 -18.432 41.655
AFCMODE 7
PRPLEVEL 0:1.000000 1:1.000000
NAVFREQ 0 0 0 0
XPDR 0
HOVERHOLD 0 1 0.0000e+000 0.0000e+000
GEAR 1.0000 0.0000
AAP 0:0 0:0 0:0
END
END_SHIPS
Thanks. Running stock Orbiter and r3 d3d9
@Face: I believe that you build the GC with Visual Studio 2008; Did the provided scenario- & project-files work?
I'm asking because I migrated those "old" project files blindly without having a chance to really test 'em.
<PlatformToolset>v140_xp</PlatformToolset>
// ... to ...
<PlatformToolset>v140</PlatformToolset>
warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://docs.microsoft.com/en-us/cpp/porting/features-deprecated-in-visual-studio?view=vs-2017 for more information.
So Now that I got 3.8 working. I switched to the flat d3d9 and ran the dg at Canaveral and it looked the same. Do I need to do more?
Ellipse 300 -80.65165 +28.58438 1500 1500 0 40