New navigation ability that should be really handy

The place to discuss creating, porting and modifying Celestia's source code.

Do you think the ability to turn around should be in Celestia?

Yes
3
100%
No
0
No votes
 
Total votes: 3

Topic author
MarcoMeijer
Posts: 1
Joined: 29.05.2007
With us: 17 years 5 months

New navigation ability that should be really handy

Post #1by MarcoMeijer » 29.05.2007, 17:36

It would be very handy if we could turn around the selected object. If you've ever used Google Earth, you know what I mean, because you can turn around the earth.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 29.05.2007, 17:52

I'm not sure what you mean by "turn around"

Any of the Shift-Arrow keys orbits Celestia's viewpoint around the body that currently is being "Followed". Is that what you mean?
Selden

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Post #3by buggs_moran » 29.05.2007, 18:25

Try this Marco

Either hold the right mouse button and drag mouse

-or-

Hold shift and press arrows
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #4by ElChristou » 29.05.2007, 18:26

Talking about this, a real cool feature would be a double quick pression on arrows (like a double click on mouse) to do an infinite loop around the selected object...

So, shift + continuous pression on arrow= turn around the object
Shift, two quick pressions= infinite loop

Pressing another arrow would stop the loop of course...

Possible?

(and to be really nice, the speed of the loop would be proportional to the size of the body...)
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #5by Cham » 29.05.2007, 19:07

This is already possible, since at least several weeks (probably older, but I never used that trick) :

shift-arrow let the user turn around the selected object. Command-shift arrow gives an infinite loop, but it's unreliable. Trying to turn in reverese sense is hard to do once the infinite loop is occuring.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #6by ElChristou » 29.05.2007, 19:33

Cham wrote:This is already possible, since at least several weeks (probably older, but I never used that trick) :

shift-arrow let the user turn around the selected object. Command-shift arrow gives an infinite loop, but it's unreliable. Trying to turn in reverese sense is hard to do once the infinite loop is occuring.


8O pff... after all this time there is still some unknown functions to me... 8O

Now this shortcut works but the loop is really too fast, and not easy to stop...
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #7by Cham » 29.05.2007, 19:37

ElChristou wrote:Now this shortcut works but the loop is really too fast, and not easy to stop...


Yes, the loop is too fast.

To stop it, it's easy : use the same arrow again, just once. No need to use shift of command.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #8by dirkpitt » 29.05.2007, 20:14

The behaviour Cham is seeing is probably not a feature, but a bug.. :oops:

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #9by ElChristou » 29.05.2007, 20:18

dirkpitt wrote:The behaviour Cham is seeing is probably not a feature, but a bug.. :oops:


what behavior? Cmd+Shift+arrow?
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #10by dirkpitt » 29.05.2007, 20:32

Yes. Apparently the act of releasing the keys is not detected when the key combo includes the Cmd key (probably exclusive to the OS X version). Celestia is thus tricked into thinking that you are continuously holding down Shift+Arrow, hence the infinite rotation. Need some time to think about this one.

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #11by ElChristou » 29.05.2007, 20:40

dirkpitt wrote:Yes. Apparently the act of releasing the keys is not detected when the key combo includes the Cmd key (probably exclusive to the OS X version). Celestia is thus tricked into thinking that you are continuously holding down Shift+Arrow, hence the infinite rotation. Need some time to think about this one.


Let's keep the bug and tune it a bit then!! :wink:
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #12by dirkpitt » 29.05.2007, 20:51

As tempting as not catching bugs would be... :P

I myself usually end up using the fast-forward ("L") key to spin an object. Tap "L" to set time rate to x100 or x1000 and Celestia spins the object in an infinite loop. Of course this only works for objects that already have a spin, like planets.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #13by Cham » 29.05.2007, 20:56

But this wont be usefull if you want to turn around a complete scene, not just a planet. If there are several moons, or spacecrafts, etc, it may be interesting to turn around all of them, and not just seeing one spinning.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #14by dirkpitt » 30.05.2007, 16:32

I fixed the bug in my unofficial Celestia builds. The infinite spin should be gone.

There is no "spin" feature. (yet?) Shift+Double tap of arrow keys sounds like an intuitive way to do it though. Also it's pretty common in 3D programs to map a "fling" gesture with the mouse (click-drag-release) to a spinning motion, what do you guys think?


Return to “Development”