- Joined
- Apr 14, 2012
- Messages
- 2,585
- Reaction score
- 0
- Points
- 36
Anyone up for a flight to Pluto that only takes 1 monthOMG
to get there?
![]()
Just for the heck of it, would relativistic effects start to affect this at all?
Anyone up for a flight to Pluto that only takes 1 monthOMG
to get there?
![]()
Just for the heck of it, would relativistic effects start to affect this at all?
Well, I'm not sure, since the mission takes 100 days to get to Pluto and light speed takes less than a day. So I'd say no.![]()
The speed of light is 300,000 km/sec and my delta V is 288 km/sec to get out of earth orbit and 350 km/sec to get into Pluto orbit. That's much less than 0.1% the speed of light.
To quote Carl Sagan, "Weird things start to happen when you approach the speed of light." And I'm sure others would agree that the SSTV is a "Weird Thing", so that would explain it. The SSTV "Happens" when you approach the speed of light.
(Or is that just my sense of humor happening?)
Dantassii
HUMONGOUS IMS shipbuilder
:lol:
Better phrased: crazy things will start to happen when Dantassii ever gets into space. We will have an Engineer GONE WILD!!!
All the same though, I suspect you probably would see a small effect from relativity. Maybe 10-15 second difference between GET & spacecraft clock?
OMS_Orbitalis:IMS\SBB41BRev2\Command_Modules\BM201_CONTROL_MODULE
STATUS Orbiting Earth
RPOS -6731889.01 506325.60 -1163847.41
RVEL 1419.029 3091.439 -6834.493
AROT -49.83 36.03 164.90
BEGIN_DESC
END_DESC
BEGIN_ENVIRONMENT
System Sol
Date MJD 56560.4609842001
END_ENVIRONMENT
BEGIN_FOCUS
Ship OMS_Orbitalis
END_FOCUS
BEGIN_CAMERA
TARGET OMS_Orbitalis
MODE Extern
POS 5.08 -110.06 -29.97
TRACKMODE TargetRelative
FOV 60.00
END_CAMERA
BEGIN_HUD
TYPE Orbit
REF AUTO
END_HUD
BEGIN_PANEL
END_PANEL
BEGIN_SHIPS
OMS_Orbitalis:IMS\SBB41BRev2\Command_Modules\BM201_CONTROL_MODULE
STATUS Orbiting Earth
RPOS -3325216.41 -2476634.92 5459939.79
RVEL -6669.920 1506.095 -3381.962
AROT -39.53 68.62 -86.81
AFCMODE 7
PRPLEVEL 0:0.000001 1:0.000000 2:0.000001
NAVFREQ 0 0
COMMAND 0 1
MODULE SBB41BRev2\Connection_Parts\BN200_Big_Node 0,0,7.276 0,-1,0 1,0,0 0
MODULE SBB41BRev2\Docking_Ports\DAAPAS_Docking_Adapter 0,0,9.476 0,0,1 0,1,0 0
MODULE SBB41BRev2\Pressurized\BM212_Briefing_Room 0,0,-10.1521 0,0,1 0,1,0 0
MODULE SBB41BRev2\Connection_Parts\BN200_Big_Node 0,0,-17.4285 0,1,0 1,0,0 0
TDPOINT 0,0,0 0,0,0 0,0,0
DELETEPOINT 2
DELETEPOINT 1
ATTPOINT IM 2.2,0,7.276 1,0,0 0,0,-1
ATTPOINT IM -2.2,0,7.276 -1,0,0 0,0,-1
ATTPOINT IM 0,-2.2,7.276 0,-1,0 0,0,-1
ATTPOINT IM 0,2.2,7.276 0,1,0 0,0,-1
ATTPOINT IM 0,0,-19.6288 0,0,-1 1,0,0
ATTPOINT IM 2.2,0,-17.4288 1,0,0 0,0,1
ATTPOINT IM -2.2,0,-17.4288 -1,0,0 0,0,1
ATTPOINT IM 0,2.2,-17.4288 0,1,0 0,0,1
ATTPOINT IM 0,-2.2,-17.4288 0,-1,0 0,0,1
DELETEPORT 1
DELETEPORT 0
CONSTRUCTIONPORT 2.2,0,7.276 1,0,0 0,0,-1
CONSTRUCTIONPORT -2.2,0,7.276 -1,0,0 0,0,-1
CONSTRUCTIONPORT 0,-2.2,7.276 0,-1,0 0,0,-1
CONSTRUCTIONPORT 0,2.2,7.276 0,1,0 0,0,-1
DOCKPORT 0,0,9.8262 0,0,1 0,1,0
CONSTRUCTIONPORT 0,0,-19.6288 0,0,-1 1,0,0
CONSTRUCTIONPORT 2.2,0,-17.4288 1,0,0 0,0,1
CONSTRUCTIONPORT -2.2,0,-17.4288 -1,0,0 0,0,1
CONSTRUCTIONPORT 0,2.2,-17.4288 0,1,0 0,0,1
CONSTRUCTIONPORT 0,-2.2,-17.4288 0,-1,0 0,0,1
EMPTYMASS 25250.000000
MASSCENTER 0.000000 0.000000 -4.932010
PMI 10.554157 10.615938 4.206416
CONSUMABLES 136 0.0001 0 520 0.0001 0 100 0.0001 0
TEMPERATURES -1:298.00:0.04 2:298.00:0.05
HEATING -1
THGROUPLEVELS 0 0 0 0
CREW 2 0
ENERGY 594000000.000000
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
MFC 0 0 0 -1 -1 -1 -1
END
truss1:IMS\SBB41BRev2\Connection_Parts\BT101_Truss
STATUS Orbiting Earth
RPOS -3325196.01 -2476629.84 5459933.63
RVEL -6669.734 1506.141 -3382.018
AROT -39.53 68.62 -86.81
AFCMODE 7
NAVFREQ 0 0
END
END_SHIPS
By the way, now when you've fixed D3D9, will RC 2.3 be compatible with it?
1) Spawn a CM;
2) Spawn anything else of IMS modules (Node, for example) and dock it with CM (do not integrate!);
3) Save/Quit/Load.
4) Tell me what you've got.
For me it looks like an IMS vessel appears in parallel universe where polar coordinates are negative (can be clearly seen from a scenario, like that:
No repro, works without trouble here... Is there maybe anything specific about how the attached module has to be aligned to get the bug?
No repro, works without trouble here... Is there maybe anything specific about how the attached module has to be aligned to get the bug?
Would you mind doing a compile & updating the RC3 link with it? I just want to be sure that we arent working from different versions by accident.
But you get it consistently under D3D9?
That already wouldn't be the same version anymore, and I have a couple of surefire bugs I want to fix first before uploading RC4.
---------- Post added at 12:26 PM ---------- Previous post was at 11:47 AM ----------
Right. Several bugs in the Ups And configuration file.
Planet 2 moon 5 notes 4 gases, but declares only three. first value in the line has to be changed to 3.
Planet 3 moon 4 declares two gases, but is missing a value. Add a 0 at the end of the line.
Planet 3 moon 5, same thing
In Orbiter Galaxy these things go unnoticed, but I made the epp parser more sane in the meantime, so now they cause a crash...
There's also a problem with deallocation of animations with that scenario, which I haven't seen so far. Did you manually alter something in the scenario, Bruce?
There are solar panels and radiators in this scenario though, so that would need a dynamically allocated animation (I'm pretty sure IMS needs to allocate just about everything dynamically).
Would you mind uploading the current RC3 source code in the IMS group so I could take a look at it? I wouldnt mind being able to finally help with that a bit.
It's a nice offer, thanks, but I'm afraid if I don't make a repository, two pairs of hands in the code is somewhat impractical at this stage.
I seem to have quite a number of leaks in there, too, as VLD tells me. Now if only I could find them...
Memory leaks are the most insidious 'feature' of any C/C++ based program. They are nearly impossible to find unless you instrument your code extensively to keep track of each and every time memory is allocated/de-allocated dynamically and toss a warning when the numbers don't reach ZERO during a run.
Can anybody confirm Bruce's observations? anybody else having trouble with reloading a scenario? There is a possibility of a corrupted file in the download, after all...
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 3.1328e-010 sec
Found 0 joystick(s)
Devices enumerated: 3
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1594 x 875 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
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 DeltaGlider.dll ....... [Build 100830, API 100830]
Module LuaInline.dll ......... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** Closing simulation session
**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1594 x 875 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
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 DeltaGlider.dll ....... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** Closing simulation session
**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1594 x 875 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
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 DeltaGlider.dll ....... [Build 100830, API 100830]
Module ShuttleA.dll .......... [Build 100830, API 100830]
Module IMS.dll ............... [Build 130923, API 100830]
Good instrumentation doesn't come cheap... VLD gives me a few pointers, and I know the code enough by know to usually find stuff. In this case, I found something I had completely overlooked... Common data of modules is stored in a static global map. That includes arrays with animation groups, and they don't get deallocated. The problem still dates back to vchamp.
Anyways, I have another weird problem, which is that when I want to deallocate the map in ExitModule, the map is empty... Allthough I can't find a clear anywhere in the code. No idea yet what happens to it, but without the map I can't get the pointers to free them.
When I turned on F9 to see the module names, that had ZERO impact on the FPS. When I did that under RC2.3 + D3D7 my FPS would go to < 1....
Thats interesting...
I wonder why D3D9 would handle that particular process so much more efficiently than D3D7 did. All it is is basically overlaying yellow boxes onto the screen...