Project a new CamShake-like addon, to feel "Gs"

Boxx

Mars Addict
Addon Developer
Donator
Joined
Nov 15, 2009
Messages
178
Reaction score
123
Points
58
Location
Paris Area
Some news about the reported bug here (but still no solution, please help), for "Life" MFD not showing up in the MFD list:
Nothing at all really; tested on a fresh install as well (160828 + D3D9 R4.25) so there was no 2nd page on MFD to speak of, still no joy.

same here. LifeMFD doesn't show up in the MFD list.

I could reproduce the bug with a fresh install of O2016 on a new computer. Indeed, Orbiter's log has listed a "code 126" cause for the MFD not loading. From Windows documentation, this relates to the Visual C++ Redistributable not being installed but it was actually. Uninstalling then re-installing does not solve the problem (while other apps that need this C++ runtime are ok with it). Then, I am pretty sure that either there is a conflict between .dll installed by C++ runtime (vc_redist...) and the one already in Orbiter (for instance msvcp71.dll and msvcr71.dll at Orbiter's root), or I accidentally requested an option during the compilation like C++ /clr. For instance, I recompiled a former addon with VS2019 / v142 C++ packages: the previous addon works fine on the fresh Orbiter and the recompiled addon appears in the list on the Launchpad but does not load when selected (code 126).

references:
I guess that developers who may have already VS2019 and all C++ resources installed have no problem with this... Then, I hope somebody who is familiar with compilation options could give a hand here?
 

Nikogori

Donator
Donator
Joined
Mar 14, 2015
Messages
235
Reaction score
92
Points
43
Location
Osaka
Website
orbinautjp.github.io
I can confirm LifeMFD now works on my environment. Thank you! :salute:

Is it possible to adjust the vibration? Sometimes I can't read anything on MFDs.

 

Boxx

Mars Addict
Addon Developer
Donator
Joined
Nov 15, 2009
Messages
178
Reaction score
123
Points
58
Location
Paris Area
Thank you for the feedback (and congrats for the 11GB-download, oops).

Vibrations follow a damping rule explained here: they are minimized for the thrust that provides 1G.... but with a DG only at the moment (yours is the Shuttle). I should either control that threashold with the vessel's mass or allow some user-tuning... or both.

Also with the camera displacement, use the "Damping" button, top-right, as a "fasten seat belt" feature, or you'll hit the cockpit.
 

Boxx

Mars Addict
Addon Developer
Donator
Joined
Nov 15, 2009
Messages
178
Reaction score
123
Points
58
Location
Paris Area
I changed the vibration law:

damping_law.png

Let me explain a little: we have to assume that the vibration is optimized by design. I designed a full damping for a reference mass m0 = [vessel mass without fuel] + (1/2)*[max fuel mass], vessel + half the propellant, meaning that the damping is maximum (amplitude null) when the thrust correspond to 1G with this mass m0. Of course, as you burn your propellant, your mass decreases and the thrust is more powerful (more Gs), hence the damping is not optimized for 1G anymore: the null vibration shifts to the right. With a vessel like the Shuttle, the max mass at launching is huge compared to the empty vessel mass. I don't know what to expect. But it works fine with an evolving mass of the DeltaGlider :)

Here is the new LifeMFD.dll. Tell me what you think. If ok, I'll update in the Addon library.
 

Attachments

  • LifeMFD_v1.1.zip
    12.4 KB · Views: 6
Last edited:

Nikogori

Donator
Donator
Joined
Mar 14, 2015
Messages
235
Reaction score
92
Points
43
Location
Osaka
Website
orbinautjp.github.io
I changed the vibration law:

View attachment 31822

Let me explain a little: we have to assume that the vibration is optimized by design. I designed a full damping for a reference mass m0 = [vessel mass without fuel] + (1/2)*[max fuel mass], vessel + half the propellant, meaning that the damping is maximum (amplitude null) when the thrust correspond to 1G with this mass m0. Of course, as you burn your propellant, your mass decreases and the thrust is more powerful (more Gs), hence the damping is not optimized for 1G anymore: the null vibration shifts to the right. With a vessel like the Shuttle, the max mass at launching is huge compared to the empty vessel mass. I don't know what to expect. But it works fine with an evolving mass of the DeltaGlider :)

Here is the new LifeMFD.dll. Tell me what you think. If ok, I'll update in the Addon library.

Thank you. I can read MFDs now.

 

Boxx

Mars Addict
Addon Developer
Donator
Joined
Nov 15, 2009
Messages
178
Reaction score
123
Points
58
Location
Paris Area
From the video, I now have the feeling that it does not vibrate at all anymore. Or maybe the thrust corresponds to 1G, as it can be seen on the green most-right gauge of the MFD.
 

Nikogori

Donator
Donator
Joined
Mar 14, 2015
Messages
235
Reaction score
92
Points
43
Location
Osaka
Website
orbinautjp.github.io
From the video, I now have the feeling that it does not vibrate at all anymore. Or maybe the thrust corresponds to 1G, as it can be seen on the green most-right gauge of the MFD.

I don't know... I can see the panels shaking if I look close. It would be nice if it was more visible, though.
 
Top