Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Development
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Development Developers post news, updates, & discussions here about your projects in development.

Reply
 
Thread Tools
Old 03-10-2019, 03:47 PM   #91
fred18
Addon Developer

Default

Hey Don... It seems to me that with 3 working MFDs is even better



---------- Post added at 16:47 ---------- Previous post was at 15:04 ----------

Here it is, the pre-release! it is a sort of pre-alpha so expect things not working 100%. three examples are included (DeltaGlider, Cupola and SSRMSD). For Cupola and SSRMSD the ISS A to Z package is needed. For those who does not have the package there is a "only DG" scenario.

I didn't have time to include also the first small part of the ISS A to Z but it will come soon.

There is a synthetic doc that explains the keys and some notes. For the rest I believe that the dialog is quite intuitive and anyway I wanted to module to start to be used while I prepare the final version and the whole set of documentation section by section. So feel free to ask your questions here. I have a busy week in front of me but I will try to give all the answers in the short time frame possible.

Let me know guys... I hope for the best!

Fred

VesselBuilder1_PreRelease.zip
fred18 is offline   Reply With Quote
Old 03-10-2019, 06:27 PM   #92
Kyle
Armchair Astronaut
 
Kyle's Avatar
Default

This is seriously fantastic Fred. I've been playing around for a bit and I haven't noticed any major issues yet. This has potential to save a lot of defunct addons that are no longer compatible with Orbiter 2016.
Kyle is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 06:41 PM   #93
Donamy
Beta Tester


Default

Questions, Does the animations include scaling and translation ?

Aslo, can you adjust the time scale in the animation groups ?

Last edited by Donamy; 03-10-2019 at 06:44 PM.
Donamy is offline   Reply With Quote
Old 03-10-2019, 07:48 PM   #94
fred18
Addon Developer

Default

Quote:
Originally Posted by Donamy View Post
 Questions, Does the animations include scaling and translation ?

Aslo, can you adjust the time scale in the animation groups ?
please try the module because everything is there. you can do pretty much whatever you want.

---------- Post added at 20:48 ---------- Previous post was at 19:46 ----------

A couple of notes more that I will add in the doc:
- Remember to press the various "SET" buttons when you change your values otherwise they won't be applied.
- For touchdown points, in the SET1 window there is the button "Just Some Default Points Please..." which clears the set and create a set of 4 points which should work with the current mass of the vessel. Anyway they won't be applied right away, they will just be put in the list, and in any case once you are done with the list you have to press "APPLY" to actually apply the list of TD Points. You can easily check visually this with the "Show this SET" and "Show Current Points" options. Current Points means the TD Points that the vessel has in that moment.
fred18 is offline   Reply With Quote
Old 03-10-2019, 08:10 PM   #95
crisbeta
Orbinaut
Default

Minimum config for the moment is:

Code:
ClassName = VesselBuilder1
Module = VesselBuilder1
 
TDP_SECONDSET_ENABLED = FALSE
TDP_CHANGEOVER_ANIM = -1
I suspect that are not defined default value for those parameters.

I recommend to use [ALT] instead of [CTRL] (camera is controlled by this configuration)
[CTRL]+[RIGHT ARROW]/[LEFT ARROW] = If in Grapple Mode -> choose next/previous attachment

I also tested variable ISP - it works as expected.

Great work!

Last edited by crisbeta; 03-10-2019 at 08:21 PM.
crisbeta is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 08:22 PM   #96
fred18
Addon Developer

Default

Quote:
Originally Posted by crisbeta View Post
 Minimum config for the moment is:

Code:
ClassName = VesselBuilder1
Module = VesselBuilder1
 
TDP_SECONDSET_ENABLED = FALSE
TDP_CHANGEOVER_ANIM = -1
I suspect that are not defined default value for those parameters.

I recommend to use [ALT] instead of [CTRL] (camera is controlled by this configuration)
[CTRL]+[RIGHT ARROW]/[LEFT ARROW] = If in Grapple Mode -> choose next/previous attachment

I also tested variable ISP - it works as expected.

Great work!
Ah yes those parameters get written also if not needed, I will take them out. And well received the suggestion on the keys, thanks that's exactly the reviews I am looking for!
fred18 is offline   Reply With Quote
Old 03-10-2019, 09:03 PM   #97
Kyle
Armchair Astronaut
 
Kyle's Avatar
Default

I get a CTD whenever I try to reload a scenario, here's my log:

Code:
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 2.55137e-007 sec
000000.000: Found 0 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: Module ProjectApolloConfigurator.dll  [Build 181118, API 160828]
000000.000: Module ProjectOutpostsConfig.dll  [Build 120604, API 100830]
000000.000: Module InterMFD56.dll ........ [Build 160829, API 160815]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiRegisterMFDMode
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module LunarTransferMFD.dll .. [Build 160829, API 160815]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module Rcontrol.dll .......... [Build 160828, API 160828]
000000.000: Module Framerate.dll ......... [Build 160828, API 160828]
000000.000: Module FlightData.dll ........ [Build 160828, API 160828]
000000.000: Module ExtMFD.dll ............ [Build 160828, API 160828]
000000.000: Module DX9ExtMFD.dll ......... [Build 150812, API 100830]
000000.000: Module Multistage2015_MFD.dll  [Build 170531, API 160828]
000000.000: Module PursuitMFD_2016.dll ... [Build 160917, API 160828]
000000.000: Module AeroBrakeMFD.dll ...... [Build ******, API 100830]
000000.000: Module DscovrMFD.dll ......... [Build 150205, API 100830]
000000.000: Module CRT.dll ............... [Build ******, API 060425]
000000.000: Module LoadMFD2.dll .......... [Build 161223, API 161124]
000000.000: Module CamShake.dll .......... [Build 100811, API 100606]
000000.000: ---------------------------------------------------------------
BaseDir    : C:\Orbiter 2016\
ConfigDir  : C:\Orbiter 2016\Config\
MeshDir    : C:\Orbiter 2016\Meshes\
TextureDir : C:\Orbiter 2016\Textures\
HightexDir : C:\Orbiter 2016\Textures2\
ScenarioDir: C:\Orbiter 2016\Scenarios\
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 190225, API 160828]
000000.000: Module ProjectApolloMFD.dll .. [Build 181118, API 160828]
000000.000: Module CamControl.dll ........ [Build ******, API 050206]
000000.000: Module RPOP.dll .............. [Build 111124, API 100830]
000000.000: Module VirtualNumPad.dll ..... [Build ******, API 060425]
000000.000: Module LaunchMFD.dll ......... [Build 180706, API 160828]
000000.000: Module transx.dll ............ [Build 160216, API 160214]
000000.000: Module CustomMFD.dll ......... [Build 160828, API 160828]
000000.000: Module uap.dll ............... [Build 110613, API 100830]
000000.000: Module RV_Orientation.dll .... [Build 180811, API 160828]
000000.000: Module OrbiterSound.dll ...... [Build 121120, API 100830]
000000.000: Module Damage.dll ............ [Build 130104, API 111029]
000000.000: Module LuaMFD.dll ............ [Build 160828, API 160828]
000000.000: 
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
            D3D9: 3D-Adapter.............. : AMD Radeon (TM) R9 380 Series
            D3D9: MaxTextureWidth......... : 16384
            D3D9: MaxTextureHeight........ : 16384
            D3D9: MaxTextureRepeat........ : 8192
            D3D9: VolTexAddressCaps....... : 0x3F
            D3D9: NumSimultaneousRTs...... : 4
            D3D9: VertexDeclCaps.......... : 0x3FF
            D3D9: MiscCaps................ : 0x3FCCF2
            D3D9: XNA Math Support........ : Yes
            D3D9: Vertex Texture.......... : Yes
            D3D9: Shadow Mapping.......... : Yes
            D3D9: D3DFMT_A16B16G16R16F.... : Yes
            D3D9: D3DFMT_A32B32G32R32F.... : Yes
            D3D9: D3DFMT_D32F_LOCKABLE.... : Yes
            D3D9: D3DFMT_A2R10G10B10...... : Yes
            D3D9: D3DFMT_L8............... : Yes
            D3D9: D3DDTCAPS_DEC3N......... : Yes
            D3D9: D3DDTCAPS_FLOAT16_2..... : Yes
            D3D9: D3DDTCAPS_FLOAT16_4..... : Yes
            D3D9: Runs under WINE......... : No
            D3D9: Available Texture Memory : 4080 MB
000000.000: D3D9: [3DDevice Initialized]
000000.000: D3D9: [Loading Constellations]
000000.000: D3D9: [D3D9Client Initialized]
000000.000: Module Sun.dll ............... [Build 160828, API 160828]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 160828, API 160828]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 160828, API 160828]
000000.000: Module VenusAtm2006.dll ...... [Build 160828, API 160828]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 160828, API 160828]
000000.000: Module EarthAtmJ71G.dll ...... [Build 160828, API 160828]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 160828, API 160828]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 160828, API 160828]
000000.000: Module MarsAtm2006.dll ....... [Build 160828, API 160828]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 160828, API 160828]
000000.000: Module Jupiter.dll ........... [Build 160828, API 160828]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 160828, API 160828]
000000.000: Module Europa.dll ............ [Build 160828, API 160828]
000000.000: Module Ganymede.dll .......... [Build 160828, API 160828]
000000.000: Module Callisto.dll .......... [Build 160828, API 160828]
000000.000: Module Satsat.dll ............ [Build 160828, API 160828]
000000.000: Module Saturn.dll ............ [Build 160828, API 160828]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 160828, API 160828]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 160828, API 160828]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 160828, API 160828]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 160828, API 160828]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 160828, API 160828]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 160828, API 160828]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 160828, API 160828]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 160828, API 160828]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 160828, API 160828]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module VesselBuilder1.dll .... [Build 190310, API 160828]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::CreateVariableDragElement
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
Kyle is offline   Reply With Quote
Old 03-10-2019, 09:10 PM   #98
fred18
Addon Developer

Default

Quote:
Originally Posted by Kyle View Post
 I get a CTD whenever I try to reload a scenario, here's my log:
In the config\vessels\vesselbuilder1\logs folder there shall be the log file of the vessel you were trying to load, could you post that?
fred18 is offline   Reply With Quote
Old 03-10-2019, 09:24 PM   #99
Kyle
Armchair Astronaut
 
Kyle's Avatar
Default

Quote:
Originally Posted by fred18 View Post
 In the config\vessels\vesselbuilder1\logs folder there shall be the log file of the vessel you were trying to load, could you post that?
I figured it out, I was incorrectly defining the default parameters of my vessel and getting a CTD as a result. Fixed now, works fine.
Kyle is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 09:50 PM   #100
Donamy
Beta Tester


Default

I'm trying to load a mesh called "DM_1capsule". Is this an invalid name ?
Donamy is offline   Reply With Quote
Old 03-10-2019, 09:53 PM   #101
Kyle
Armchair Astronaut
 
Kyle's Avatar
Default

Was inspired by Don's recent SAL idea for this. FH/IDA using VesselBuilder. Cheap, efficient method to get to NASA's LOP-G.
Attached Thumbnails
0047.jpg   0048.jpg  
Kyle is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 10:05 PM   #102
crisbeta
Orbinaut
Default

Using ShuttlePB with default generated touchdown points => CTD (nothig relevant found in both logs Orbiter and VB).

After I defined correct touchdown points from sample ShuttlePB.cpp works ok.

Another recomandation:
- if it is possible, please keep the default order of the parameters (stiffness and damping are reversed)

Code:
typedef struct {
	VECTOR3 pos;      ///< collision point position (vessel frame)
	double stiffness; ///< suspension stiffness coefficient
	double damping;   ///< suspension damping coefficient
	double mu;        ///< isotropic/lateral friction coefficient
	double mu_lng;    ///< longitudinal friction coefficient (only used for first 3 points)
} TOUCHDOWNVTX;
Code:
TDP_1_0_POS = 0 -1.5 2
TDP_1_0_DAMPING = 1000
TDP_1_0_STIFFNESS = 20000
TDP_1_0_MU = 1.6
TDP_1_0_MULNG = 1
Excellent addon

---------- Post added at 10:05 PM ---------- Previous post was at 09:57 PM ----------

Quote:
Originally Posted by Donamy View Post
 I'm trying to load a mesh called "DM_1capsule". Is this an invalid name ?
I don't think it's a problem with the mesh name.

I loaded dragon2\dragon2_capsule, but you can change the mesh:
Code:
ClassName = VesselBuilder1
Module = VesselBuilder1
 
;CONFIGURATION FILE FOR DM
 
NOEDITOR = FALSE
 
Mass = 1000
Size = 10
Inertia = 20 20 10
CrossSections = 20 20 20
GravityGradientDamping = 0
RotResistance = 0.01 0.01 0.01
 
;<-------------------------MESHES DEFINITIONS------------------------->
 
MESH_0_NAME = dragon2\dragon2_capsule
MESH_0_POS = 0 0 0
MESH_0_DIR = 0 0 1
MESH_0_ROT = 0 1 0
MESH_0_VIS = 1
 
 
;<-------------------------DOCKS DEFINITIONS------------------------->
 
 
;<-------------------------ATTACHMENTS DEFINITIONS------------------------->
 
 
;<-------------------------ANIMATIONS DEFINITIONS------------------------->
 
;<-------------------------PROPELLANT DEFINITIONS------------------------->
 
 
;<-------------------------EXHAUST TEXTURES DEFINITIONS------------------------->
 
 
;<-------------------------PARTICLES DEFINITIONS------------------------->
 
 
;<-------------------------THRUSTERS DEFINITIONS------------------------->
 
;<-------------------------THRUSTER GROUPS DEFINITIONS------------------------->
 
THGROUP_MAIN = FALSE
THGROUP_MAIN_THRUSTERS = -1
THGROUP_RETRO = FALSE
THGROUP_RETRO_THRUSTERS = -1
THGROUP_HOVER = FALSE
THGROUP_HOVER_THRUSTERS = -1
THGROUP_ATT_PITCHUP = FALSE
THGROUP_ATT_PITCHUP_THRUSTERS = -1
THGROUP_ATT_PITCHDOWN = FALSE
THGROUP_ATT_PITCHDOWN_THRUSTERS = -1
THGROUP_ATT_YAWLEFT = FALSE
THGROUP_ATT_YAWLEFT_THRUSTERS = -1
THGROUP_ATT_YAWRIGHT = FALSE
THGROUP_ATT_YAWRIGHT_THRUSTERS = -1
THGROUP_ATT_BANKLEFT = FALSE
THGROUP_ATT_BANKLEFT_THRUSTERS = -1
THGROUP_ATT_BANKRIGHT = FALSE
THGROUP_ATT_BANKRIGHT_THRUSTERS = -1
THGROUP_ATT_RIGHT = FALSE
THGROUP_ATT_RIGHT_THRUSTERS = -1
THGROUP_ATT_LEFT = FALSE
THGROUP_ATT_LEFT_THRUSTERS = -1
THGROUP_ATT_UP = FALSE
THGROUP_ATT_UP_THRUSTERS = -1
THGROUP_ATT_DOWN = FALSE
THGROUP_ATT_DOWN_THRUSTERS = -1
THGROUP_ATT_FORWARD = FALSE
THGROUP_ATT_FORWARD_THRUSTERS = -1
THGROUP_ATT_BACK = FALSE
THGROUP_ATT_BACK_THRUSTERS = -1
 
;<-------------------------TOUCHDOWNPOINTS DEFINITIONS------------------------->
 
TDP_SECONDSET_ENABLED = FALSE
TDP_CHANGEOVER_ANIM = -1
 
;<-------------------------AIRFOILS DEFINITIONS------------------------->
 
 
;<-------------------------CONTROL SURFACES DEFINITIONS------------------------->
 
 
;<-------------------------CAMERA DEFINITIONS------------------------->
 
 
;<-------------------------VIRTUAL COCKPIT DEFINITIONS------------------------->
 
VC_HUD = FALSE
 
;<-------------------------LIGHTS: BEACONS DEFINITIONS------------------------->
 
 
;<-------------------------LIGHTS: LIGHT EMITTERS DEFINITIONS------------------------->
 
 
;<-------------------------VARIABLE DRAG ITEMS DEFINITIONS------------------------->
crisbeta is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 10:28 PM   #103
fred18
Addon Developer

Default

Quote:
Originally Posted by Kyle View Post
 I figured it out, I was incorrectly defining the default parameters of my vessel and getting a CTD as a result. Fixed now, works fine.
That's wonderful news. If you could anyway give me the values you were pluggin in it would be useful: I want to introduce safety checks where possible in the final version trying to avoid CTDs on startup, even if due to users mistakes.

Quote:
Originally Posted by Donamy View Post
 I'm trying to load a mesh called "DM_1capsule". Is this an invalid name ?
Should work, I remember to have made a test with that mesh as well. If you can't find the correct procedure it is this one:
- open your vessel's control dialog
- go to meshes in the left tree menu
- click ADD MESH button in the window
- go to the newly added mesh definition in the left tree menu, click load mesh button in the main window, choose your file and click open, and that should be it.

Quote:
Originally Posted by Kyle View Post
 Was inspired by Don's recent SAL idea for this. FH/IDA using VesselBuilder. Cheap, efficient method to get to NASA's LOP-G.
So that's the first picture of a vessel created with VB1!

Quote:
Originally Posted by crisbeta View Post
 Using ShuttlePB with default generated touchdown points => CTD (nothig relevant found in both logs Orbiter and VB).

After I defined correct touchdown points from sample ShuttlePB.cpp works ok.
That's curious. Was it a tailsitter? I tested the default points quite accurately with te regular vessels, but just quickly with tail sitters, maybe there's something there.

Quote:
Originally Posted by crisbeta View Post
 Another recomandation:
- if it is possible, please keep the default order of the parameters (stiffness and damping are reversed)
oh yes, you're 200% right there! It was in my notes but I completely forgot!

Quote:
Originally Posted by crisbeta View Post
 Excellent addon
Thanks!
fred18 is offline   Reply With Quote
Thanked by:
Old 03-10-2019, 11:12 PM   #104
Donamy
Beta Tester


Default

I had to add my own DM_1capsule.cfg in config/vessels. I wasn't being created. I don't think.
Donamy is offline   Reply With Quote
Old 03-10-2019, 11:28 PM   #105
Donamy
Beta Tester


Default

Was able to attach the trunk to the capsule. Still figuring out the attachment sequence.

Too much SC3 burned in my brain.

Can you attach payloads, that can be jettisoned, like SC3 ? Or do you need to attach them by attachment points ? e.g. chute doors, chutes and such
Attached Thumbnails
DM_1 VB.jpg  
Donamy is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Development


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 04:14 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 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.