Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Visualization Project
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter Visualization Project Orbiter external graphics development.

Reply
 
Thread Tools
Old 08-11-2011, 08:49 PM   #676
Donamy
Beta Tester


Default

One show stopper with SC3. When you press F8 to veiw the VC it crashes.
Donamy is offline   Reply With Quote
Old 08-11-2011, 09:54 PM   #677
jarmonik
Beta Tester

Default

Quote:
Originally Posted by N_Molson View Post
 I can't run any scenario after install of the new client (CTD during loading screen, rather at the end). Nothing in the log, apparently :
Could you change the DebugLvl to 5 from D3D9Client.cfg. It will write more information in the Log. I'll need just the last 15-20 lines from the end of the Log. Don't forget the change the Level back to 1 when done.

---------- Post added at 00:54 ---------- Previous post was at 00:51 ----------

Quote:
Originally Posted by Donamy View Post
 One show stopper with SC3. When you press F8 to veiw the VC it crashes.
What add-on are you running ?
You could do the same with DebugLvl and the Log as introduced in my previous post.
jarmonik is offline   Reply With Quote
Old 08-11-2011, 10:21 PM   #678
N_Molson
Addon Developer
 
N_Molson's Avatar

Default

That part ? There's a warning near the end :

Code:
(4407: 37.02s 2us)(0x6C8) == Begin Scene ===========================================================================================================
(4408: 37.02s 1us)(0x6C8) Creating D3D9 SketchPad...
(4409: 37.02s 12us)(0x6C8) ...D3D9 SketchPad Released
(4410: 37.02s 83us)(0x6C8) == End Scene ==
(4411: 37.02s 1us)(0x6C8) Creating D3D9 SketchPad...
(4412: 37.02s 17us)(0x6C8) ...D3D9 SketchPad Released
(4413: 37.02s 1us)(0x6C8) Vessel(0x416D6AC) DeltaGlider has 2 meshes
(4414: 37.02s 501us)(0x6C8) Mesh(0x3FE2A20) Offset = (0, 0, 0)
(4415: 37.02s 1012us)(0x6C8) Mesh(0x416CAE8) Offset = (0, 0, 0)
(4416: 37.02s 1061us)(0x6C8) Loaded 2 meshed for DeltaGlider
(4417: 37.02s 1077us)(0x6C8) Vessel(GL-01) Vis=0x6C099A0 has 37 animations
(4418: 37.02s 1092us)(0x6C8) Anim(0): Has 14 animcomps. AnimState=0, DefState=1
(4419: 37.02s 1108us)(0x6C8) Anim(1): Has 4 animcomps. AnimState=0, DefState=0
(4420: 37.02s 1123us)(0x6C8) Anim(2): Has 7 animcomps. AnimState=0, DefState=0
(4421: 37.02s 1137us)(0x6C8) Anim(3): Has 2 animcomps. AnimState=0, DefState=0
(4422: 37.02s 1158us)(0x6C8) Anim(4): Has 2 animcomps. AnimState=0, DefState=0
(4423: 37.02s 1173us)(0x6C8) Anim(5): Has 2 animcomps. AnimState=0, DefState=0
(4424: 37.02s 1188us)(0x6C8) Anim(6): Has 6 animcomps. AnimState=0, DefState=0
(4425: 37.02s 1203us)(0x6C8) Anim(7): Has 4 animcomps. AnimState=0, DefState=0
(4426: 37.02s 1217us)(0x6C8) Anim(8): Has 2 animcomps. AnimState=0.5, DefState=0.5
(4427: 37.02s 1232us)(0x6C8) Anim(9): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4428: 37.02s 1248us)(0x6C8) Anim(10): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4429: 37.02s 1263us)(0x6C8) Anim(11): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4430: 37.02s 1278us)(0x6C8) Anim(12): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4431: 37.02s 1293us)(0x6C8) Anim(13): Has 4 animcomps. AnimState=0, DefState=0
(4432: 37.02s 1309us)(0x6C8) Anim(14): Has 1 animcomps. AnimState=0.4, DefState=0.4
(4433: 37.02s 1325us)(0x6C8) Anim(15): Has 1 animcomps. AnimState=0.4, DefState=0.4
(4434: 37.02s 1340us)(0x6C8) Anim(16): Has 1 animcomps. AnimState=0, DefState=0
(4435: 37.02s 1355us)(0x6C8) Anim(17): Has 1 animcomps. AnimState=0, DefState=0
(4436: 37.02s 1370us)(0x6C8) Anim(18): Has 1 animcomps. AnimState=0, DefState=0
(4437: 37.02s 1384us)(0x6C8) Anim(19): Has 1 animcomps. AnimState=0, DefState=1
(4438: 37.02s 1399us)(0x6C8) Anim(20): Has 1 animcomps. AnimState=0, DefState=0
(4439: 37.02s 1414us)(0x6C8) Anim(21): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4440: 37.02s 1430us)(0x6C8) Anim(22): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4441: 37.02s 1446us)(0x6C8) Anim(23): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4442: 37.02s 1461us)(0x6C8) Anim(24): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4443: 37.02s 1477us)(0x6C8) Anim(25): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4444: 37.02s 1492us)(0x6C8) Anim(26): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4445: 37.02s 1506us)(0x6C8) Anim(27): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4446: 37.02s 1522us)(0x6C8) Anim(28): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4447: 37.02s 1538us)(0x6C8) Anim(29): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4448: 37.02s 1553us)(0x6C8) Anim(30): Has 1 animcomps. AnimState=0.5, DefState=0.5
(4449: 37.02s 1569us)(0x6C8) Anim(31): Has 1 animcomps. AnimState=0, DefState=1
(4450: 37.02s 1584us)(0x6C8) Anim(32): Has 1 animcomps. AnimState=0, DefState=1
(4451: 37.02s 1599us)(0x6C8) Anim(33): Has 1 animcomps. AnimState=0, DefState=1
(4452: 37.02s 1616us)(0x6C8) Anim(34): Has 1 animcomps. AnimState=0, DefState=1
(4453: 37.02s 1632us)(0x6C8) Anim(35): Has 1 animcomps. AnimState=0, DefState=1
(4454: 37.02s 1647us)(0x6C8) Anim(36): Has 1 animcomps. AnimState=0, DefState=1
(4455: 37.02s 1664us)(0x6C8) RegisteringVisual (GL-01) hVessel=0x416D6AC, hObj=0x3FEC928, Vis=0x6C099A0, Rec=0x757CFE8, Type=10
(4456: 37.02s 0us)(0x6C8)[WARNING] TRACE: clbkSetMeshTexture(0x6C09AE0, 5, ???) Called
(4457: 37.02s 15us)(0x6C8) D3D9Mesh(0x6C09AE0)::SetTexture(5, 0x1BD0E30) (???)
(4458: 37.02s 1us)(0x6C8) == Begin Scene ===========================================================================================================
(4459: 37.02s 1us)(0x6C8) Creating D3D9 SketchPad...
(4460: 37.02s 12us)(0x6C8) ...D3D9 SketchPad Released
(4461: 37.02s 86us)(0x6C8) == End Scene ==
(4462: 37.02s 1us)(0x6C8) Creating D3D9 SketchPad...
(4463: 37.02s 18us)(0x6C8) ...D3D9 SketchPad Released
N_Molson is offline   Reply With Quote
Old 08-12-2011, 12:07 AM   #679
Interceptor
Orbinaut
 
Interceptor's Avatar
Default

Hi jarmonik,this is a weird question. I am using your D3d9RC29 client with artlavs volcano module addon,and computerx Thrusterlights addon,and noticed when turning on artlavs volcano vent module to simulate Lox venting the thrusterlights come on,but this does not happen with regular orbiter graphics,has something to do with local light sources, I imagine.is there a fix for this?or just out of curiosity why would this be happening?Thanks

Last edited by Interceptor; 08-12-2011 at 07:39 AM.
Interceptor is offline   Reply With Quote
Old 08-12-2011, 12:24 AM   #680
orb
O-F Administrator
Ninja
 
orb's Avatar

Default

Quote:
Originally Posted by jarmonik View Post
 How should we store the normal maps ? Compression will reduce a quality but there are some methods to improve that like storing the x-axis in green channel and y-axis in alpha channel ?
I think both uncompressed and compressed maps should be supported by the client, with 16bit V8U8 / A8L8 for uncompressed (or even 24bit R8G8B8 if z is stored too in the map), and compressed DXT5nm (x in alpha, y in green, with blue & red channels the same for the whole image). If it was D3D10Client, BC5 could be used too, but under D3D9 it would probably work only for ATI cards.


So far I like the normal mapping feature very much. I tested it on vessels and base objects with success. I see that only directional light is taken into account at the moment. Will point lights and spotlights (local light sources) be taken in the future too?



EDIT:
A reply to this post, asking about the best way to create normal maps, moved to "[Discussion] Bump maps / Normal maps" thread.
orb is offline   Reply With Quote
Thanked by:
Old 08-12-2011, 03:22 AM   #681
Izack
Non sequitur
 
Izack's Avatar

Default

I'm unable to activate the D3D9client module in the Modules tab using . It tells me:

There is no log, because the client does nothing.

Both RC30 and 29 do this.
Attached Thumbnails
d3d9error.png  
Izack is offline   Reply With Quote
Old 08-12-2011, 03:29 AM   #682
diogom
Survivor of 21/10/2011
 
diogom's Avatar
Default

Quote:
Originally Posted by Izack View Post
 I'm unable to activate the D3D9client module in the Modules tab using . It tells me:
{image}
There is no log, because the client does nothing.

Both RC30 and 29 do this.
Try installing DirectX February 2010 or newer, http://www.microsoft.com/download/en...s.aspx?id=9033

That fixed it for me, I had the same error a while ago.
diogom is offline   Reply With Quote
Thanked by:
Old 08-12-2011, 03:57 AM   #683
Astronut25
Orbinaut
 
Astronut25's Avatar
Bug

Hello everyone,

I've just got to say what an increadible job you are doing.

Click image for larger version

Name:	11.07.23 16-18-17 ISS.jpg
Views:	65
Size:	132.1 KB
ID:	8241

Here is a couple bugs I've noticed, they aren't in the list so here they are. Any one else notice these?

the "Albeto" settings doesnt do anything to affect the planets' appearance.
(example: Mercury)
Click image for larger version

Name:	Albeto.jpg
Views:	53
Size:	14.0 KB
ID:	8237

In the "LSTS" addon, the HUD and MFDs are animated to move out of the way, but in DX9, the mesh groups move, but the MFDs and HUD don't.
DX7 | DX9
Click image for larger version

Name:	11.08.11 19-40-04 LSTS2012.jpg
Views:	46
Size:	399.6 KB
ID:	8238 Click image for larger version

Name:	11.08.11 19-45-00 LSTS2012.jpg
Views:	41
Size:	390.5 KB
ID:	8239
If I try to load a scenario in the VC of an SC3 craft, i get a CTD.

Anyone else notice that RC19 had support for lvl 14 planet textures
Click image for larger version

Name:	11.08.11 20-43-10 GL-01.jpg
Views:	49
Size:	137.4 KB
ID:	8240

One more thing, I cant get 3d to work anymore, so I reloaded previous DX9 RCs and noticed that somewhere around RC12 it stopped working.
Astronut25 is offline   Reply With Quote
Thanked by:
Old 08-12-2011, 04:10 AM   #684
Izack
Non sequitur
 
Izack's Avatar

Default

Quote:
Originally Posted by diogom View Post
 Try installing DirectX February 2010 or newer, http://www.microsoft.com/download/en...s.aspx?id=9033

That fixed it for me, I had the same error a while ago.
That worked, thanks.

400FPS when showing the Earth from geostationary orbit, versus 45 in vanilla Dx7 engine. The difference between the inline client and this is incredible.
Izack is offline   Reply With Quote
Old 08-12-2011, 01:39 PM   #685
jarmonik
Beta Tester

Default

Quote:
Originally Posted by N_Molson View Post
 That part ? There's a warning near the end :
Does it fix the CTD if you check the "Start Paused" from the top-right corner of the launchpad ?

Does the CTD occur in Windowed and Fullscreen modes ?

Also, Where does the CTD occur ? Is it D3D9Client.dll or Orbiter.exe ?

---------- Post added at 16:35 ---------- Previous post was at 16:29 ----------

Quote:
Originally Posted by Astronut25 View Post
 Anyone else notice that RC19 had support for lvl 14 planet textures
Had a support ? RC30 should still have it. Is anyone else having this problem ?

Quote:
Originally Posted by Astronut25 View Post
 One more thing, I cant get 3d to work anymore, so I reloaded previous DX9 RCs and noticed that somewhere around RC12 it stopped working.
You mean stereoscopic 3D. It won't work in windowed modes so, does it work if you uncheck the "Full Screen Window" from the Video Tab ?

---------- Post added at 16:39 ---------- Previous post was at 16:35 ----------

Quote:
Originally Posted by Interceptor View Post
 Hi jarmonik,this is a weird question. I am using your D3d9RC29 client with artlavs volcano module addon,and computerx Thrusterlights addon,and noticed when turning on artlavs volcano vent module to simulate Lox venting the thrusterlights come on,but this does not happen with regular orbiter graphics,has something to do with local light sources, I imagine.is there a fix for this?or just out of curiosity why would this be happening?Thanks
I have no idea what's going on. D3D9Client doesn't create any light sources by it-self.
jarmonik is offline   Reply With Quote
Old 08-12-2011, 03:35 PM   #686
N_Molson
Addon Developer
 
N_Molson's Avatar

Default

Quote:
Does it fix the CTD if you check the "Start Paused" from the top-right corner of the launchpad ?
Yes, it does !

Quote:
Does the CTD occur in Windowed and Fullscreen modes ?
Yes, the CTD occur in both modes, no difference.

Quote:
Also, Where does the CTD occur ? Is it D3D9Client.dll or Orbiter.exe ?
Well, I don't know, but the Orbiter.log seems pretty clean to me :

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 3.43296e-010 sec
Found 1 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module transx.dll ............ [Build 100824, API 100823]
Module CustomMFD.dll ......... [Build 100830, API 100830]
Module LuaMFD.dll ............ [Build 100830, API 100830]
Module LuaConsole.dll ........ [Build 100830, API 100830]
Module ScriptMFD.dll ......... [Build 100830, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module FlightData.dll ........ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module Rcontrol.dll .......... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 110811, API 101016]
D3D9Client: [DirectX 9 Initialized]
Module ScreenCapture.dll ..... [Build ******, API 060425]
Module StateSaver.dll ........ [Build 100929, API 100830]
Module LunarTransferMFD.dll .. [Build 100621, API 100603]
Module AutoRudder.dll ........ [Build 101208, API 100830]

**** Creating simulation session
D3D9Client: [3DDevice Initialized]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Joystick throttle: SLIDER 0
Joystick throttle control detected
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
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 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
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 100830, API 100830]
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 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Sigma_Stg2.dll ........ [Build 110812, API 100830]
Module Sigma_Stg1.dll ........ [Build 110812, API 100830]
Module Atlantis_SRB.dll ...... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
D3D9Client: [Scene Initialized]
On a very positive note, my FPS also boosts up to 400 FPS with RC30. Excellent work !

Edit : putting every option of my NV GT210 on, I can get back to 30 FPS when staring at the SRBs long-lived particle streams. Else, I get a comfortable 80-100 FPS, and of course the image quality is nicely improved. At least the graphic card does what it was paid for !!

Last edited by N_Molson; 08-12-2011 at 04:16 PM.
N_Molson is offline   Reply With Quote
Thanked by:
Old 08-12-2011, 03:44 PM   #687
Donamy
Beta Tester


Default

Quote:
Originally Posted by diogom View Post
 Try installing DirectX February 2010 or newer, http://www.microsoft.com/download/en...s.aspx?id=9033

That fixed it for me, I had the same error a while ago.
It asks me, where do I want to put the files ?

Where would that be ?
Donamy is offline   Reply With Quote
Old 08-12-2011, 03:54 PM   #688
Izack
Non sequitur
 
Izack's Avatar

Default

Quote:
Originally Posted by Donamy View Post
 It asks me, where do I want to put the files ?

Where would that be ?
Anywhere; it doesn't matter. Find SETUP.exe somewhere in the mess of .cabs it unpacks and install (it won't ask you where this time.)
Izack is offline   Reply With Quote
Old 08-12-2011, 03:55 PM   #689
diogom
Survivor of 21/10/2011
 
diogom's Avatar
Default

Quote:
Originally Posted by Donamy View Post
 It asks me, where do I want to put the files ?

Where would that be ?
Create a folder and put them in it. Then search the files in said folder for a setup file.

EDIT: 'd
diogom is offline   Reply With Quote
Old 08-12-2011, 05:09 PM   #690
Donamy
Beta Tester


Default

Quote:
Originally Posted by diogom View Post
 Create a folder and put them in it. Then search the files in said folder for a setup file.

EDIT: 'd
Duh ! I should have known that. must be senility setting in.
Donamy is offline   Reply With Quote
Thanked by:
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Visualization Project

Tags
d3d9client, graphicsclient


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 10:10 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.