Mouse-controllable external camera?

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Mouse-controllable external camera?

Post by Poro »

Would it take much to allow external views to be controlled via the mouse, so that we can view our ships 'properly' from any angle and rotational speed we like?

I know this would mean effectively stopping control of the ship (and made compatible across keyboard, mouse, joystick), but then perhaps it could be a selectable option.

OXPs give great models and textures - it's a shame to only see them in combat or through editing the fixed external viewpoints.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Would be great if that was possible
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

View handling in Oolite is a mess. I have no intention of mucking about with it until after MNSR.
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

Are their any online resources we could look at to get a better idea of the problem? Maybe learn us some things that would be useful?
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Re: Mouse-controllable external camera?

Post by Screet »

Poro wrote:
I know this would mean effectively stopping control of the ship (and made compatible across keyboard, mouse, joystick), but then perhaps it could be a selectable option.
It doesn't have to prevent control of the ship:
If you have more than one input device, one could be used for controlling the ship and the other for controlling the view ;)

For example someone with a joystick might want to use the mouse to freely move the view - many joysticks even do include a mini-stick which does actually move the mouse. Those without such a stick would probably simply use their desktop mouse or people who fly with the mouse want to use the keyboard to adjust views.

However I'm afraid it would be an annoying task to write the code for such a feature, although it would help to take great screenshots there's little benefit to it otherwise.

Screet
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Post by Poro »

Screet wrote:
However I'm afraid it would be an annoying task to write the code for such a feature, although it would help to take great screenshots there's little benefit to it otherwise.
That's what worries me, it is something that would require effort for what is really a non-essential feature. But I wants it. :twisted:
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Mouse-controllable external camera?

Post by Diziet Sma »

Screet wrote:
although it would help to take great screenshots there's little benefit to it otherwise.
Whaddaya mean, taking great screenshots is a massively useful feature! :mrgreen:
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

It does also mean you can set a chase view. It's establishing aim point in relation to camera point I does give a serious sence of space.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

ClymAngus wrote:
Are their any online resources we could look at to get a better idea of the problem? Maybe learn us some things that would be useful?
Yes, you can get the source code here. ;-)
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Post by Poro »

Diziet Sma wrote:
Whaddaya mean, taking great screenshots is a massively useful feature! :mrgreen:
Yes I suppose it is useful, given the PM that I recently sent you :D
ClymAngus wrote:
It does also mean you can set a chase view. It's establishing aim point in relation to camera point I does give a serious sence of space.
That is what I'd really like - with the only caveat being that there should be a small amount of lag between ship rotation and camera follow-up. If you want to see what I mean, sent an external view (say front on) and then pitch up. I don't like the way the camera is clamed to the ship like that - I'd like it if the ship pitched for a half-second before the camera compensated.

But like I say - this isn't entirely needed for an enjoyable game.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Can't help but agreeing with the core of Ahruman & Screet's posts: it's potentially a major pain to code... However, like the new revised hud code from Y A C a while ago, if any of you feels strongly enough about it, the possibilities are indeed endless, and we should have no problems including such a patch in trunk if any of you guys provides it to the dev team! :D
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

I'll take a look at some core code scream like a girly then run away!

Another thought; it would be really useful for testing models/textures/lighting/bumpmaps in game too!
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

ClymAngus wrote:
I'll take a look at some core code scream like a girly then run away!

Another thought; it would be really useful for testing models/textures/lighting/bumpmaps in game too!
Ooohh...and a freely scriptable outside camera could provide great cinematic sequences for oxpers :D

Screet
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

Slow rotate in the y axis, camera start set at say +5000 in Z?
Drool!
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Post by Poro »

And you just know that the opening from Star Wars: A New Hope would be the first thing someone would post.

Hmmm, I wonder what ship choice they'd go for... ?
Last edited by Poro on Wed Jan 27, 2010 5:39 pm, edited 2 times in total.
Post Reply