![]() |
|
Orbiter Visualization Project Orbiter external graphics development. |
![]() |
|
Thread Tools |
![]() |
#61 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]()
What's your hardware, orb? I'm on a Geforce 8600 GTsomethingorothermaybeX.
|
![]() |
![]() |
![]() |
#62 |
Beta Tester
![]() ![]() |
![]() Quote:
|
![]() |
![]() |
![]() |
#63 |
O-F Administrator
![]() ![]() ![]() |
![]() Quote:
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 |
![]() |
![]() |
Thanked by: |
![]() |
#65 |
Beta Tester
![]() ![]() |
![]()
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 by jarmonik; 10-30-2010 at 07:43 PM. |
![]() |
![]() |
Thanked by: |
![]() |
#66 |
Beta Tester
![]() ![]() |
![]()
It's a time for good news once in a while.
![]() I'll try to build a new package ASAP. |
![]() |
![]() |
![]() |
#67 |
O-F Administrator
![]() ![]() ![]() |
![]()
Great catch, mate!
![]() Quote:
![]() Great job!! ![]() |
![]() |
![]() |
Thanked by: |
![]() |
#68 |
Beta Tester
![]() ![]() |
![]()
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 by jarmonik; 10-21-2010 at 07:05 PM. |
![]() |
![]() |
![]() |
#70 |
Beta Tester
![]() ![]() ![]() |
![]()
Yikes, it's working!
![]() ![]() ![]() 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 Tschachim |
![]() |
![]() |
![]() |
#71 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]() Quote:
![]() |
![]() |
![]() |
![]() |
#74 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]()
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. ![]() |
![]() |
![]() |
![]() |
#75 |
Beta Tester
![]() ![]() ![]() |
![]() Quote:
Still a long way to go, of course, but Rome wasn't built in a day, too... ![]() |
![]() |
![]() |
![]() |
|
Tags |
d3d9client, graphicsclient |
Thread Tools | |
|
|
Quick Links | Need Help? |