New Release D3D9Client Development

Xyon

Puts the Fun in Dysfunctional
Administrator
Moderator
Addon Developer
Tutorial Publisher
Beta Tester
Joined
Aug 9, 2009
Messages
6,598
Reaction score
28
Points
123
Location
10.0.0.1
Website
www.orbiter-radio.co.uk
What's your hardware, orb? I'm on a Geforce 8600 GTsomethingorothermaybeX.
 

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
And this error probably says that my laptop's graphics card isn't compatible with D3D9Client (?):
Hard to say, the D3D9ClientLog.html would contain more information about it. It's good to check the Log always when something happens.
 

orb

O-F Administrator,
Administrator
Joined
Oct 30, 2009
Messages
14,023
Reaction score
0
Points
0
What's your hardware, orb? I'm on a Geforce 8600 GTsomethingorothermaybeX.
It's "VIA/S3G UniChrome Pro IGP" here, but this computer isn't meant for Orbiter (though 2006 works fine on it, and 2010 with built-in/D3D7Client runs, though with graphics glitches). I just wanted to test whether it will crash like for you, but I can't do it on a better machine (with 8800GTS) for now.


The log says almost the same as the message box:
Code:
(Sun Oct 17 23:41:59 2010)(0xD04)[WARNING] [Not a pure device]
(Sun Oct 17 23:41:59 2010)(0xD04)[ERROR] .\D3D9Frame.cpp Line:282 Error:-2005530516 m_pD3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, m_hWnd, devBehaviorFlags, &m_d3dPP, &m_pd3dDevice)
(Sun Oct 17 23:42:00 2010)(0xD04)[ERROR] [Device Initialization Failed]
(Sun Oct 17 23:42:00 2010)(0xD04)[ERROR] Could not initialise 3D environment
 

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
The project situation doens't look too good right now. I got the Vessel mesh and VC rendering online but there is no working state vector information coming out from the Orbiter. So the meshes are appearing randomly here and there.

The state vectors of the Earth seems to stay still most of the time and there is a major jump in evey 10th to 100th second. Also the local state vectors are rounded to nearest 1024m in z-direction and 16384m in a x-direction. Only the y-asix seems to have normal operation.

So the vessel state vector output from the Orbiter is _pos = _V( floor(x/16384)*16384, y, floor(z/1024)*1024 );

There is absolutety no point in continuing this project until the "CTD" issues with the modules are fixed and the state vector output is normal. So far, I have found nothing from the D3D9Client that could cause this.

The latest code is zipped in a package but there are no binaries since they wouldn't work anyway. I am putting this project aside for now.
 
Last edited:

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
It's a time for good news once in a while.:cheers: I was able to track down the issue causing the failure. I still don't know what is it or why does it happen but there is a flag called D3DCREATE_FPU_PRESERVE that must be used when the 3D Device is created. Without it, the DirectX will "somehow" alter the behaviour of the FPU and that will cause the physics engine of the Orbiter to go rogue with a catastrophic results.

I'll try to build a new package ASAP.
 

dbeachy1

O-F Administrator
Administrator
Moderator
Addon Developer
Donator
Beta Tester
Joined
Jan 14, 2008
Messages
8,561
Reaction score
7
Points
113
Location
VA
Website
www.alteaaerospace.com
Great catch, mate! :tiphat: I dug up some more info in that rather obscure flag you found here:

D3DCREATE_FPU_PRESERVE

Set the precision for Direct3D floating-point calculations to the precision used by the calling thread. If you do not specify this flag, Direct3D defaults to single-precision round-to-nearest mode for two reasons:
Double-precision mode will reduce Direct3D performance.
Portions of Direct3D assume floating-point unit exceptions are masked; unmasking these exceptions may result in undefined behavior.
So apparently Direct3D sets the FPU to single-precision mode by default, which wreaks havoc with the Orbiter core's calculations like you said. :blink: I'd never even heard of this flag -- it should be up in bold red letters at the top of the Direct3D documentation given the nasty side-effects it has on programs that expect doubles to actually be treated as doubles.

Great job!! :cheers:
 

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
I got the package ready. Place the *.cfg and *.fx files in the Orbiter's root folder and the *.dll files in the /Modules/Plugins/ folder. The configuration file has a debug parameter "DebugLvl" that will control how much information is printed in the D3D9ClientLog.html. It's good to keep it in zero in this release.

The package is containing two prebuild DLLs. D3D9ClientSL.dll is build using a static linking and the other one is using dynamic linking and it will require VC++ 2008 runtime libraries. Install only one of them.

Known issues:

- Dialog windows are missing the close button ??? Clicking the top-right corner will close the window anyway.
- VC may not always appear and when it do appear some of the textures are black.
- Exterior mesh lighting is offline therefore they are fully lit and a few textures containing a vessel ID's are black. Due to failure in a draw to texture functions.
- Glass cockpit buttons aren't always updated due to unknown reason.


Online Features:
- 2D Panel View
- Glass cockpit
- HUD
- MFDs
- Exterior view (F1)
- Planetarium mode (without object markers and labels)

Current build is only tested with stock DeltaGlider. I'll focus into the texture issues, Exterior mesh lighting and Virtual cockpit issues next.

I suppose the celestial sphere background images are something that someone else could start working on.
 
Last edited:

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
I forgot something important from the package so here is a new one.
 
Last edited:

Tschachim

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 7, 2008
Messages
300
Reaction score
0
Points
0
Location
nassp.sf.net
Website
nassp.sf.net
Yikes, it's working! :thumbup: :thumbup: :thumbup:

Some remarks, you're probably already aware about that:

- DirectX August 2009 or later is necessary because of the d3d9_42.dll
- I need to remove all vessels except the Delta Glider from the used scenario
- I need to remove all AddExhaustStream calls from the Delta Glider otherwise it crashes in this call

Please keep it up, we really need a newer client than DirectX 7 at some time! :cheers:

Cheers
Tschachim
 

Attachments

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
8,749
Reaction score
13
Points
113

Tschachim

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 7, 2008
Messages
300
Reaction score
0
Points
0
Location
nassp.sf.net
Website
nassp.sf.net
Still not for me, this is all I get
Please try again with the attached DeltaGlider.dll (Modules directory) and one of the attached scenarios, if you didn't remove the AddExhaustStream calls from your DeltaGlider.dll
 

Attachments

Xyon

Puts the Fun in Dysfunctional
Administrator
Moderator
Addon Developer
Tutorial Publisher
Beta Tester
Joined
Aug 9, 2009
Messages
6,598
Reaction score
28
Points
123
Location
10.0.0.1
Website
www.orbiter-radio.co.uk
OK! It doesn't crash!

However... it doesn't render much. I get a csphere and, with a landed DG on Earth, blue sky fading to stars, but no planets, no DG exterior. No Sun, even.

 

Tschachim

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 7, 2008
Messages
300
Reaction score
0
Points
0
Location
nassp.sf.net
Website
nassp.sf.net
However... it doesn't render much. I get a csphere and, with a landed DG on Earth, blue sky fading to stars, but no planets, no DG exterior. No Sun, even.
Well, if I understand Jarmo correctly, it isn't supposed to do more yet, but you should see the DG exterior in external view, see my screenshot.

Still a long way to go, of course, but Rome wasn't built in a day, too... ;)
 

orb

O-F Administrator,
Administrator
Joined
Oct 30, 2009
Messages
14,023
Reaction score
0
Points
0
OK! It doesn't crash!
I think it would stop crashing for you with particle streams disabled on the Launchpad.


I can confirm it's now working in full Solar system without a CTD.

Though I can test it only on my laptop, and this is how it looks like for me:
D3D9_DG-S_Ext.jpg D3D9_DG-S_GC.jpg
I'm sure it would look much better on my desktop.

Here's relevant part of Orbiter.log:
Code:
**** Creating simulation session
D3D9Client: [3DDevice Initialized]
D3D9Client: Texture Ball.dds loaded
D3D9Client: Texture Ball2.dds loaded
D3D9Client: Texture Ball3.dds loaded
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
D3D9Client: Texture Null.dds loaded
D3D9Client: Texture Fcd01.dds loaded
D3D9Client: Texture Fcd01_n.dds loaded
D3D9Client: Texture Fcd02.dds loaded
D3D9Client: Texture Fcd02_n.dds loaded
D3D9Client: Texture Fcd03.dds loaded
D3D9Client: Texture Fcd03_n.dds loaded
D3D9Client: Texture Fcd04.dds loaded
D3D9Client: Texture Fcd04_n.dds loaded
D3D9Client: Texture Fcd05.dds loaded
D3D9Client: Texture Fcd05_n.dds loaded
D3D9Client: Texture Fcd06.dds loaded
D3D9Client: Texture Fcd06_n.dds loaded
D3D9Client: Texture Fcd07.dds loaded
D3D9Client: Texture Fcd07_n.dds loaded
D3D9Client: Texture Fcd08.dds loaded
D3D9Client: Texture Fcd08_n.dds loaded
D3D9Client: Texture Fcd09.dds loaded
D3D9Client: Texture Fcd09_n.dds loaded
D3D9Client: Texture Fcd10.dds loaded
D3D9Client: Texture Fcd10_n.dds loaded
D3D9Client: Texture Fcd11.dds loaded
D3D9Client: Texture Fcd11_n.dds loaded
D3D9Client: Texture Fcd12.dds loaded
D3D9Client: Texture Fcd12_n.dds loaded
D3D9Client: Texture Fcd13.dds loaded
D3D9Client: Texture Fcd13_n.dds loaded
D3D9Client: Texture Roof01.dds loaded
D3D9Client: Texture Roof01_n.dds loaded
D3D9Client: Texture Roof02.dds loaded
D3D9Client: Texture Roof02_n.dds loaded
D3D9Client: Texture Wall01.dds loaded
D3D9Client: Texture Wall01_n.dds loaded
D3D9Client: Texture Door01.dds loaded
D3D9Client: Texture Door01_n.dds loaded
D3D9Client: Texture Lpad01.dds loaded
D3D9Client: Texture Lpad01_n.dds loaded
D3D9Client: Texture Lpad02.dds loaded
D3D9Client: Texture Lpad02_n.dds loaded
D3D9Client: Texture Lpad02a.dds loaded
D3D9Client: Texture Lpad02a_n.dds loaded
D3D9Client: Texture Taxiway1.dds loaded
D3D9Client: Texture Taxiway1_n.dds loaded
D3D9Client: Texture Taxiway2.dds loaded
D3D9Client: Texture Taxiway2_n.dds loaded
D3D9Client: Texture Monorail.dds loaded
D3D9Client: Texture Monorail_n.dds loaded
D3D9Client: Texture Hangrail.dds loaded
D3D9Client: Texture Hangrail_n.dds loaded
D3D9Client: Texture Solpanel.dds loaded
D3D9Client: Texture Solpanel_n.dds loaded
D3D9Client: Texture Runway2.dds loaded
D3D9Client: Texture Runway2_n.dds loaded
D3D9Client: Texture Ball.dds loaded
D3D9Client: Texture Ball_n.dds loaded
D3D9Client: Texture Cape17.dds loaded
D3D9Client: Texture Cape17_n.dds loaded
D3D9Client: Texture Cape18.dds loaded
D3D9Client: Texture Cape18_n.dds loaded
D3D9Client: Texture Cape19.dds loaded
D3D9Client: Texture Cape19_n.dds loaded
D3D9Client: Texture Cape20.dds loaded
D3D9Client: Texture Cape20_n.dds loaded
D3D9Client: Texture Cape21.dds loaded
D3D9Client: Texture Cape21_n.dds loaded
D3D9Client: Texture Cape22.dds loaded
D3D9Client: Texture Cape22_n.dds loaded
D3D9Client: Texture Cape23.dds loaded
D3D9Client: Texture Cape23_n.dds loaded
D3D9Client: Texture font1tex.dds loaded
D3D9Client: Texture transp.dds loaded
Module Sun.dll ............... [Build 101016, API 101016]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 101016, API 101016]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 101016, API 101016]
Module VenusAtm2006.dll ...... [Build 101016, API 101016]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 101016, API 101016]
Module EarthAtmJ71G.dll ...... [Build 101016, API 101016]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
D3D9Client: Texture VAB_TL1.dds loaded
D3D9Client: Texture VAB_FR01.dds loaded
D3D9Client: Texture VAB_TL2.dds loaded
D3D9Client: Texture VAB_FR02.dds loaded
D3D9Client: Texture VAB_BK01.dds loaded
D3D9Client: Texture LCC_WNDS.dds loaded
D3D9Client: Texture LCC_DRS.dds loaded
Module Moon.dll .............. [Build 101016, API 101016]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 101016, API 101016]
Module MarsAtm2006.dll ....... [Build 101016, API 101016]
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 101016, API 101016]
Module Jupiter.dll ........... [Build 101016, API 101016]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 101016, API 101016]
Module Europa.dll ............ [Build 101016, API 101016]
Module Ganymede.dll .......... [Build 101016, API 101016]
Module Callisto.dll .......... [Build 101016, API 101016]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 101016, API 101016]
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 101016, API 101016]
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 101016, API 101016]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
D3D9Client: Texture ISS_DC.dds loaded
D3D9Client: Texture ISS_DCS.dds loaded
D3D9Client: Texture D_RING.dds loaded
D3D9Client: Texture ISSPANEL.dds loaded
D3D9Client: Texture ISSMOD.dds loaded
D3D9Client: Texture ISSCOVER.dds loaded
D3D9Client: Texture ISSB.dds loaded
D3D9Client: Texture ISSP2.dds loaded
D3D9Client: Texture ISSDOT.dds loaded
D3D9Client: Texture ISSB3.dds loaded
D3D9Client: Texture ISSZMOD.dds loaded
D3D9Client: Texture ISSB2.dds loaded
D3D9Client: Texture ISSSOLAR.dds loaded
D3D9Client: Texture ISSB4.dds loaded
D3D9Client: Texture ISSKU.dds loaded
D3D9Client: Texture ISSKU1.dds loaded
D3D9Client: Texture ISSDISH.dds loaded
D3D9Client: Texture ISSKU2.dds loaded
D3D9Client: Texture ISSBSO.dds loaded
D3D9Client: Texture ISSBSO2.dds loaded
D3D9Client: Texture ISSMB.dds loaded
D3D9Client: Texture ISSUSAF.dds loaded
D3D9Client: Texture NASDA.dds loaded
D3D9Client: Texture ISSRAD.dds loaded
D3D9Client: Texture ISSESA.dds loaded
D3D9Client: Texture ISSBS.dds loaded
D3D9Client: Texture ISSCUP.dds loaded
D3D9Client: Texture METALCON.dds loaded
D3D9Client: Texture ISSINS.dds loaded
D3D9Client: Texture QUESTCOV.dds loaded
D3D9Client: Texture GRAPLE.dds loaded
D3D9Client: Texture ISSCOV2.dds loaded
D3D9Client: Texture ISSHAND.dds loaded
D3D9Client: Texture ISS_UN.dds loaded
D3D9Client: Texture ISSRED.dds loaded
D3D9Client: Texture ISSUSA.dds loaded
D3D9Client: Texture 036MB.dds loaded
D3D9Client: Texture 036METAL.dds loaded
D3D9Client: Texture 036MIRM.dds loaded
D3D9Client: Texture 036MC1.dds loaded
D3D9Client: Texture 036PANEL.dds loaded
D3D9Client: Texture 036MOD1.dds loaded
D3D9Client: Texture 036MC3.dds loaded
D3D9Client: Texture 036POINT.dds loaded
D3D9Client: Texture Station2.dds loaded
Module DeltaGlider.dll ....... [Build 101016, API 101016]
D3D9Client: Texture DG\dg_panel.dds loaded
D3D9Client: Texture Contrail1a.dds loaded
D3D9Client: Texture DG\DGMK4_4.dds loaded
D3D9Client: Texture DG\DGMK4_1.dds loaded
D3D9Client: Texture DG\DGMK4_2.dds loaded
D3D9Client: Texture DG\DGMK4_3.dds loaded
D3D9Client: Texture DG\IDPANEL1.dds loaded
D3D9Client: Texture DG\DGPILOT1.dds loaded
D3D9Client: Texture DG\PSNGR2.dds loaded
D3D9Client: Texture DG\PSNGR1.dds loaded
D3D9Client: Texture DG\PSNGR3.dds loaded
D3D9Client: Texture DG\PSNGR4.dds loaded
D3D9Client: Loading a mesh into a manager (DG\deltaglider)
D3D9Client: Texture DG\DGMK4_4.dds loaded
D3D9Client: Texture DG\DGMK4_2.dds loaded
D3D9Client: Texture DG\DGMK4_3.dds loaded
D3D9Client: Texture DG\PSNGR2.dds loaded
D3D9Client: Texture DG\PSNGR1.dds loaded
D3D9Client: Texture DG\PSNGR3.dds loaded
D3D9Client: Texture DG\PSNGR4.dds loaded
D3D9Client: Texture DG\DGPILOT1.dds loaded
D3D9Client: Texture DG\DGIP_01.dds loaded
D3D9Client: Texture DG\DGIP_04.dds loaded
D3D9Client: Texture DG\DGIP_02.dds loaded
D3D9Client: Texture DG\DGIP_03.dds loaded
D3D9Client: Texture DG\DGIP_05.dds loaded
D3D9Client: Texture DG\DGIP_06.dds loaded
D3D9Client: Texture DG\DG_VC2.dds loaded
D3D9Client: Texture DG\DG_VC1.dds loaded
D3D9Client: Texture DG\DGMK4_1.dds loaded
D3D9Client: Texture DG\DG_VC3.dds loaded
D3D9Client: Texture DG\dg_instr.dds loaded
D3D9Client: Loading a mesh into a manager (DG\DeltaGliderCockpit)
Module ShuttleA.dll .......... [Build 101016, API 101016]
D3D9Client: Texture ShuttleA\panel2d.dds loaded
D3D9Client: Texture ShuttleA\panel_el.dds loaded
D3D9Client: Texture Common\adiball_grey.dds loaded
D3D9Client: Texture SHA1TX1.dds loaded
D3D9Client: Texture SHA1TX2.dds loaded
D3D9Client: Texture SHA1TX4.dds loaded
D3D9Client: Texture SHA1TX3.dds loaded
D3D9Client: Texture SHA1FT1.dds loaded
D3D9Client: Texture SHA1CP1.dds loaded
D3D9Client: Texture SHA1TX5.dds loaded
D3D9Client: Loading a mesh into a manager (ShuttleA\ShuttleA)
D3D9Client: Texture SHA1TX1.dds loaded
D3D9Client: Texture SHA1TX2.dds loaded
D3D9Client: Texture SHA1TX4.dds loaded
D3D9Client: Texture SHA1TX3.dds loaded
D3D9Client: Texture SHA1FT1.dds loaded
D3D9Client: Texture SHA1CP1.dds loaded
D3D9Client: Texture SHA1TX5.dds loaded
D3D9Client: Texture ShuttleA\panel1.dds loaded
D3D9Client: Texture ShuttleA\panel2.dds loaded
D3D9Client: Texture ShuttleA\Thrust.dds loaded
D3D9Client: Texture ShuttleA\PodAngle.dds loaded
D3D9Client: Texture ShuttleA\NavMode.dds loaded
D3D9Client: Texture ShuttleA\MFD_buttons.dds loaded
D3D9Client: Texture ShuttleA\FuelMgmt.dds loaded
D3D9Client: Texture ShuttleA\Indicator.dds loaded
D3D9Client: Texture ShuttleA\CargoCnt.dds loaded
D3D9Client: Loading a mesh into a manager (ShuttleA\ShuttleA_vc)
Module ShuttlePB.dll ......... [Build 101016, API 101016]
D3D9Client: Texture Contrail1a.dds loaded
D3D9Client: Texture DG\DGMK4_4.dds loaded
D3D9Client: Texture DG\DGMK4_1.dds loaded
D3D9Client: Texture DG\DGMK4_2_ns.dds loaded
D3D9Client: Texture DG\DGMK4_3.dds loaded
D3D9Client: Texture DG\IDPANEL1.dds loaded
D3D9Client: Texture DG\DGPILOT1.dds loaded
D3D9Client: Texture DG\PSNGR2.dds loaded
D3D9Client: Texture DG\PSNGR1.dds loaded
D3D9Client: Texture DG\PSNGR3.dds loaded
D3D9Client: Texture DG\PSNGR4.dds loaded
D3D9Client: Loading a mesh into a manager (DG\deltaglider_ns)
D3D9Client: Loading a mesh into a manager (DG\DeltaGliderCockpit)
D3D9Client: Loading a mesh into a manager (ShuttleA\ShuttleA)
D3D9Client: Loading a mesh into a manager (ShuttleA\ShuttleA_vc)
D3D9Client: Texture Cockpit\Glasspit.dds loaded
Finished initialising status
Finished initialising camera
D3D9Client: Texture Cockpit\hud.dds loaded
Finished initialising panels
D3D9Client: Trying to create annotation
Finished setting up render state
D3D9Client: [Scene Initialized]
D3D9Client: Texture shuttlepb.dds loaded
D3D9Client: Texture shuttlepbwing.dds loaded
- I need to remove all vessels except the Delta Glider from the used scenario
- I need to remove all AddExhaustStream calls from the Delta Glider otherwise it crashes in this call
Really no need to that. Just disable Reentry flames and Particle streams on Visual effects tab.
 

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
Looks like I had all the visual effects disabled when running the client. I can reproduce the CTD with visual effects enabled but I haven't modified the DeltaGlider.dll. I'll try to fix the CTD issue with visual effects asap.

I have no package to upload right now but I can tell that:

- Sun is online and rendering fine.
- DeltaGlider windows are transparent
- Diffuse and specular light rendering is online. (One light source only (the sun))
- Vessel ID signs and textures are now visible. (caused by missing mipmaps)
 

Tschachim

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 7, 2008
Messages
300
Reaction score
0
Points
0
Location
nassp.sf.net
Website
nassp.sf.net
Really no need to that. Just disable Reentry flames and Particle streams on Visual effects tab.
:beathead: I didn't even thought about these settings, I just saw the call in the stack trace of the debugger and thew them all out...

I have no package to upload right now but I can tell that:...
Great news, Jarmo, can't wait for shadows... ;)

Cheers
Tschachim
 

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
Great news, Jarmo, can't wait for shadows... ;)
I have never programmed a shadows so it will be interesting...

Here is a new alpha package:

- The CTD with Exhaust Streams shouldn't exist anymore.
- VC is working from most parts. There is a problem with truning off MFDs. MFDs should be turned on before going in VC.
- Vessel ID's are working
- Diffuse and specular lighting is online.
- DeltaGlider windows are transparent and Glass effects are implemented.
 
Last edited:

jarmonik

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,078
Reaction score
17
Points
38
Website
users.kymp.net
Ok, here is an other package.

- Vessel animations are now online
- Vessel exhaust are online
- Vessel beacons are online
- Panel blitting with a color key is implemented.
- Vessel goes dark when in a planet's shadow.

- Planet rendering is still off-line.

ColorKey note:
Color keying is implemented using the programmable pipeline of the GPU and this means that the client must convert the panel into a rendering target texture in order to do the blitting. This will shut down the GDI access into the panel. Also the blitting target must be the backbuffer. This seems to work well with Shuttle-A and XR-vessels. However, the NASSP is not so fortunate. Making the NASSP panels to work perfectly with the D3D9Client is very difficult. But it's a good news that they are running without a CTD.
 
Last edited:
Top