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 09-07-2015, 07:39 PM   #76
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

been resizing the ranger and lander. Added the rond dock hatch as you would need it if you landed on a surface with gear up:




---------- Post added at 02:39 PM ---------- Previous post was at 11:55 AM ----------

Cockpit of the lander:


When looking at images from the film. The ranger has brown chairs, lander blue. Lander has windows above and below.

Also the cockpit has airlocks for the 2 main side doors.
gattispilot is offline   Reply With Quote
Old 09-10-2015, 10:59 AM   #77
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

On the lander. I am having an issue. Basically I have an attachment point/robotic arm set up. The chairs rotate in the X direction. The animation rotates the correct direction. The attachment point (eye of camera) moves. BUT it does NOT rotate.



Code:
	static UINT CHAIRGrp[2] = { 73,64};
	static MGROUP_ROTATE CHAIR(0, CHAIRGrp, 2, _V(-.888, 3.195, 4.982801), _V(0, 0, 1), (float)(360 * RAD));

	static UINT CHAIR1Grp[2] = { 74,65 };
	static MGROUP_ROTATE CHAIR1(0, CHAIR1Grp, 2, _V(.888, 3.195, 4.982801), _V(0, 0, 1), (float)(360 * RAD));




	static UINT CHAIRVCGrp[4] = { 0,1,2 };
	static MGROUP_ROTATE CHAIRVC(1, CHAIRVCGrp, 3, _V(-.888, 3.195, 4.982801), _V(0, 0, 1), (float)(360 * RAD));
	CHAIR_anim[0] = new MGROUP_ROTATE(LOCALVERTEXLIST, MAKEGROUPARRAY(arm0_tip), 3,	_V(-.888, 3.195, 4.982801), _V(0, 0, 1), (float)(360 * RAD)); // -447 .. +447
	anim_CHAIR = CreateAnimation(0.0);
	hAC_arm0 = AddAnimationComponent(anim_CHAIR, 0, 1, CHAIR_anim[0]);
	
	
	AddAnimationComponent(anim_CHAIR, 0, 1, &CHAIR);
	AddAnimationComponent(anim_CHAIR, 0, 1, &CHAIRVC);
	AddAnimationComponent(anim_CHAIR, 0, 1, &CHAIR1);
Code:
	//CAMERA ROTATION
	CAM_pos.x = (arm0_tip[0].x);
	CAM_pos.z = (arm0_tip[0].z);
	CAM_pos.y = (arm0_tip[0].y);


	xp0 = arm0_tip[1] - arm0_tip[0]; normalise(xp0);
	xr0 = arm0_tip[2] - arm0_tip[0]; normalise(xr0);
	SetAttachmentParams(rod, arm0_tip[0], xp0, xr0);

	if (oapiGetFocusObject() == this->GetHandle()) {


		if (CAM == 0)
		{
			SetCameraDefaultDirection((xp0, 0, xr0));

			SetCameraOffset((CAM_pos));
			oapiCameraSetCockpitDir(0, 0);
		}
	}
gattispilot is offline   Reply With Quote
Old 09-11-2015, 12:19 PM   #78
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

OK. I am confused. So here the chair is upside down. Shouldn't the view be upside down also?

gattispilot is offline   Reply With Quote
Old 09-14-2015, 12:19 PM   #79
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

On the lander, I am at a lost. The camera is set to follow the animation it does
but the rotation is off.

As I understand it. when the lander is landed +y is up z forward and -x left.

As the lander rotates 90 degrees now +y is the the right and x up and z forward.
As the lander rotates 180 degrees now +y is the the down and x right and z forward.

The dash animates fine but I think the camera should follow the dash so in the eyes of the camera the top of the dash is always the top even though you are upside down?
gattispilot is offline   Reply With Quote
Old 09-14-2015, 12:22 PM   #80
Urwumpe
Not funny anymore
 
Urwumpe's Avatar

Default

I would need to make a drawing now to understand this.
Urwumpe is offline   Reply With Quote
Old 09-14-2015, 12:43 PM   #81
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Confusing, isn't it.

As I see it and I might be wrong.

The desk rotates along the x axis to follow the rotation of the ship.

So if if the ship is level the desk is upright , the ship upside down the desk is upside down.

BUT shouldn't the camera view follow the orientation of the desk.

So right now even though the desk is upside down the camera view is right side up.
gattispilot is offline   Reply With Quote
Old 10-02-2015, 11:16 PM   #82
grid4dante
Orbinaut
Default

I don't claim to know much about this, but would it possible to reverse the whole system, make the rotating seat the vessel and rotate the hull around the vessel, as opposed to having the hull as the vessel and the seat be the rotating element? if it doesn't interfere with the operational areas of the hull, like landing gear, engine location, and / or docking points?
grid4dante is offline   Reply With Quote
Thanked by:
Old 10-12-2015, 12:40 PM   #83
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

On the lander and pods.


the main landing pod holds 2 smaller pods.




Those pods are large and the 2 smaller pods are large also. Not sure how they carried the cargo, though

Last edited by gattispilot; 10-12-2015 at 12:52 PM.
gattispilot is offline   Reply With Quote
Old 10-27-2015, 12:16 PM   #84
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Just to wet your appetite.
gattispilot is offline   Reply With Quote
Old 10-27-2015, 07:26 PM   #85
demi
Orbinaut
Default

beautifull !!! can't wait really ! are each of the landers and rangers undockable ?
demi is offline   Reply With Quote
Thanked by:
Old 10-27-2015, 07:33 PM   #86
Lisias
Space Traveller Wanna-be
 
Lisias's Avatar
Default

A candy for who is able to detect what image is from the movie, and what image is from Orbiter!! =P

Last edited by Lisias; 10-30-2015 at 05:21 PM.
Lisias is offline   Reply With Quote
Thanked by:
Old 10-28-2015, 12:23 PM   #87
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Quote:
Originally Posted by demi View Post
 beautifull !!! can't wait really ! are each of the landers and rangers undockable ?

Thanks.

Yes. Each ranger and lander will be undockable. The cargo pods are separate vessels so they can be unloaded from the Endurance and carried down to the surface.

And ummu capable
gattispilot is offline   Reply With Quote
Thanked by:
Old 10-28-2015, 01:40 PM   #88
demi
Orbinaut
Default

magic ! and is it heavy to play ? got the ship from stargate universe and it is a bit too much from my computer, i wonder if the endurance will be running well
demi is offline   Reply With Quote
Old 10-28-2015, 01:59 PM   #89
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

heavy if FPS?
gattispilot is offline   Reply With Quote
Old 10-28-2015, 10:58 PM   #90
demi
Orbinaut
Default

yes

---------- Post added at 10:58 PM ---------- Previous post was at 02:27 PM ----------

the rest of the simulator is running well, but for that particular ship the fps is pretty low. And as the endurance seems pretty complex and highly detailed i wonder if its gonna be the same.
demi 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 02:54 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.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.