Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed 3D Map enhancements #39

Closed
gregmalcolm opened this issue Dec 29, 2015 · 19 comments
Closed

Proposed 3D Map enhancements #39

gregmalcolm opened this issue Dec 29, 2015 · 19 comments

Comments

@gregmalcolm
Copy link
Contributor

There are number of little enhancements I'd love to work on for the 3D map. I thought I'd list them to see if there's is any objection. The plan is to hit each small item as a separate pull request so that there's the opportunity to reject or request change individually. Also if we end up working on the same area at once it's easier to just throw away the proposed change and say "oh well!".

3D Map:

  1. Autosave window size settings for map. So if I maximize it is always maximized.
  2. Default to zoomed out view showing whole map. I think the zoom level should be persisted as saved setting too. Update: think the zoom should depend on star spasity. Existing default Zoom is fine in populated space, less useful in deep space.
  3. Button to max zoom out and recenter the rotation.
  4. Keyboard controls: I'd like cursor keys and ASWD for translating the map up down left and right. + and - for zoom. DONE!
  5. Mouse drag: Should behave like ED map itself. Dragging the mouse will cause the camera to lock on the mouse pointer and stay locked on it as the mouse moves, rotating on the Z Axis.
  6. Right button should climb and descend the Z axis
  7. Bug: Center button sometimes stops working after some rotation. (Should also double check it doesn't break trilateration lines)
  8. Grid: Would be nice if there was a toggleable grid. Perhaps something in line with the in-game grid Looks like something along these lines is already in place. Although may still be fun to see if it can be improved on.
  9. Depth Perception: I want to experiment with lighting and star billboards (sprites) to give the sensation of some stars being further away than others. The sprites will need alpha information.
  10. Toggleable Text Labels: Would be nice if key POIs like Sol, Sagittarius A, Beagle Point and maybe one or two others had text labels to make it clearer what we're looking at. The current
    position should also be labelled. Maybe zooming in causes more labeling detail.
  11. Click on star to center on it and receive a little information about what it is.
  12. Mouse hover to show individual star labels one at a time.
  13. Make it so that when you access the 3D map it always goes to the same window. So you don't have multiple 3D maps floating around.
  14. 3D Map should center on the system selected before clicking on "3D Map". This should also be the default "Center" textbox entry - Thanks @iainross
  15. Would love the ability to enter grid coordinates jumping to those locations
  16. Default button is becoming less relevant. Banish it to the settings page at some point? - Thanks @iainross
  17. When re-centering from the map it would be cool if a line was drawn from your current system and maybe distance information were added?

Some of the items near the end of the list are moving from "quick change" to "challenging, may not happen". But listing them because why not?

@gregmalcolm gregmalcolm changed the title Small 3D Map enhancements Proposed 3D Map enhancements Dec 29, 2015
@finwen
Copy link
Contributor

finwen commented Dec 29, 2015

Great points. But we might need to change render engine to get everything
we wants,

I can give you write access to the repository to if you wants.

2015-12-29 17:03 GMT+01:00 Greg Malcolm notifications@github.com:

There are number of little enhancements I'd love to work on for the 3D
map. I thought I'd list them to see if there's is any objection. The plan
is to hit each small item as a separate pull request so that there's the
opportunity to reject or request change individually. Also if we end up
working on the same area at once it's easier to just throw away the
proposed change and say "oh well!".

3D Map:

  1. Autosave window size settings for map. So if I maximize it is always
    maximized.
  2. Default to zoomed out view showing whole map. I think the zoom level
    should be persisted as saved setting too.
  3. Button to max zoom out. For when you quickly want to see the whole map
  4. Scrollbar positioning should also be persisted.
  5. Keyboard controls: I'd like cursor keys and ASWD for translating the
    map up down left and right. + and - for zoom.
  6. Mouse drag: It would feel more natural to move the map around with left
    click than right. The movement speed should match the mouse pointer speed.
    The movement should be capped so the map doesn't leave the window altogether
  7. Mouse rotate: I'd move this to the right click. Clicking "Center"
    should reset the rotation.
  8. Bug: Center button sometimes stops working after some rotation
  9. Grid: Would be nice if there was a toggleable grid. Perhaps something
    in line with the in-game grid
  10. Alpha levels: Maybe assign different alpha values to stars nearer to
    the eye than others to give a sense of distance? Depends how the rendering
    works I guess.
  11. Toggleable Text Labels: Would be nice if key POIs like Sol,
    Sagittarius A, Beagle Point and maybe one or two others had text labels to
    make it clearer what we're looking at. The current
    position should also be labelled. Maybe zooming in causes more labeling
    detail.
  12. Click on star to center on it and receive a little information about
    what it is.
  13. Mouse hover to show individual star labels one at a time.

Some of the items near the end of the list are moving from "quick change"
to "challenging, may not happen". But listing them because why not?

Trilateration 3D Map:

  1. Fix bug where default rotation of map is wrong. I've noticed that I get
    a "side" view of the map and have to re-angle.


Reply to this email directly or view it on GitHub
#39.

@gregmalcolm
Copy link
Contributor Author

Thanks, sounds good! Although if you don't mind I'd still be inclined to put most of my changes through as Pull Requests just so it gets some peer review.

I just took a glance at how you're rendering the map. OpenGL right? Should be pretty powerful... :D

@finwen
Copy link
Contributor

finwen commented Dec 29, 2015

I add you to the group.

So you can make smaller changes directly.

And a branch for bigger test changes.

2015-12-29 17:20 GMT+01:00 Greg Malcolm notifications@github.com:

Thanks, sounds good! Although if you don't mind I'd still be inclined to
put most of my changes through as Pull Requests just so it gets some peer
review.

I just took a glance at how you're rendering the map. OpenGL right? Should
be pretty powerful... :D


Reply to this email directly or view it on GitHub
#39 (comment)
.

@finwen
Copy link
Contributor

finwen commented Dec 29, 2015

Yes openGL ashould be enough, Just unsure if the .net wrapper i am using
have some limitations...

Its pretty fast to draw all points now atleast.

2015-12-29 17:27 GMT+01:00 Robert Wahlström robert.l.wahlstrom@gmail.com:

I add you to the group.

So you can make smaller changes directly.

And a branch for bigger test changes.

2015-12-29 17:20 GMT+01:00 Greg Malcolm notifications@github.com:

Thanks, sounds good! Although if you don't mind I'd still be inclined to
put most of my changes through as Pull Requests just so it gets some peer
review.

I just took a glance at how you're rendering the map. OpenGL right?
Should be pretty powerful... :D


Reply to this email directly or view it on GitHub
#39 (comment)
.

@gregmalcolm
Copy link
Contributor Author

Ah. well we could always extend the wrapper if we have to if it's "open"... :D

@MarkJelic
Copy link
Contributor

I like all your suggestions.

The only real issue with the map is that it doesn't rotate and move around like the in-game one. It disorients me and makes my eyes "pop" to see the Galaxy "inverse" to what it should be, while I don't get that in game. (As in, the Thargoid bubble will be "towards me" and then when I rotate the map a little, it will suddenly "pop" and look like it is far from me. Hard to explain but it's a visual effect thing)

Mark
(CMDR Red_13)

Mark Jelic
iPhone: 0402 322 901

On 30 Dec 2015, at 3:03 AM, Greg Malcolm notifications@github.com wrote:

There are number of little enhancements I'd love to work on for the 3D map. I thought I'd list them to see if there's is any objection. The plan is to hit each small item as a separate pull request so that there's the opportunity to reject or request change individually. Also if we end up working on the same area at once it's easier to just throw away the proposed change and say "oh well!".

3D Map:

  1. Autosave window size settings for map. So if I maximize it is always maximized.
  2. Default to zoomed out view showing whole map. I think the zoom level should be persisted as saved setting too.
  3. Button to max zoom out. For when you quickly want to see the whole map
  4. Scrollbar positioning should also be persisted.
  5. Keyboard controls: I'd like cursor keys and ASWD for translating the map up down left and right. + and - for zoom.
  6. Mouse drag: It would feel more natural to move the map around with left click than right. The movement speed should match the mouse pointer speed. The movement should be capped so the map doesn't leave the window altogether
  7. Mouse rotate: I'd move this to the right click. Clicking "Center" should reset the rotation.
  8. Bug: Center button sometimes stops working after some rotation
  9. Grid: Would be nice if there was a toggleable grid. Perhaps something in line with the in-game grid
  10. Alpha levels: Maybe assign different alpha values to stars nearer to the eye than others to give a sense of distance? Depends how the rendering works I guess.
  11. Toggleable Text Labels: Would be nice if key POIs like Sol, Sagittarius A, Beagle Point and maybe one or two others had text labels to make it clearer what we're looking at. The current
    position should also be labelled. Maybe zooming in causes more labeling detail.
  12. Click on star to center on it and receive a little information about what it is.
  13. Mouse hover to show individual star labels one at a time.

Some of the items near the end of the list are moving from "quick change" to "challenging, may not happen". But listing them because why not?

Trilateration 3D Map:

  1. Fix bug where default rotation of map is wrong. I've noticed that I get a "side" view of the map and have to re-angle.


Reply to this email directly or view it on GitHub.

@gregmalcolm
Copy link
Contributor Author

Yep, that's exactly the kind of thing area I want to improve on. I'd like rotation and translation to mimic the game control style to some degree.

@finwen
Copy link
Contributor

finwen commented Dec 31, 2015

I just started experimenting in the grid. Need to adapt it too zoom level and decide a good standard color.

@gregmalcolm
Copy link
Contributor Author

I actually tweaked that a little in my latest PR. Apologies if my change has messed up what you're working on. It got pretty involved... :D

The color I switched it to was taken by doing a screen grab from Elite Dangerous. I also tweaked the background color a little the same way. Still looks kind of black, but less absolute black, which is a little less surprising to the eye.

@finwen
Copy link
Contributor

finwen commented Jan 1, 2016

Go ahead and work on it. I will concentrate my work in some other areas for
a while. Like the new prospecting module.

2016-01-01 7:02 GMT+01:00 Greg Malcolm notifications@github.com:

I actually tweaked that a little in my latest PR. Apologies if my change
has messed up what you're working on. It got pretty involved... :D


Reply to this email directly or view it on GitHub
#39 (comment)
.

@MarkJelic
Copy link
Contributor

Prospecting module would be very welcome! Only place to put that info now is in the Notes.

Btw, another thing I think would be interesting to track, for us explorers, is a checkbox indicating we were the first to discover that system or the first star or even just a planet. Check it on if you discovered it first. Leave it off, otherwise.

Mark

Mark Jelic
iPhone: 0402 322 901

On 1 Jan 2016, at 8:12 PM, Robert Wahlström notifications@github.com wrote:

Go ahead and work on it. I will concentrate my work in some other areas for
a while. Like the new prospecting module.

2016-01-01 7:02 GMT+01:00 Greg Malcolm notifications@github.com:

I actually tweaked that a little in my latest PR. Apologies if my change
has messed up what you're working on. It got pretty involved... :D


Reply to this email directly or view it on GitHub
#39 (comment)
.


Reply to this email directly or view it on GitHub.

@finwen
Copy link
Contributor

finwen commented Jan 1, 2016

Yes we should add a such button soon.

On the 3dMaps. Your new grid color looks good.
Now we need ato adapt grid density with zooming. Should not be to hard to
do.

2016-01-01 11:06 GMT+01:00 Mark notifications@github.com:

Prospecting module would be very welcome! Only place to put that info now
is in the Notes.

Btw, another thing I think would be interesting to track, for us
explorers, is a checkbox indicating we were the first to discover that
system or the first star or even just a planet. Check it on if you
discovered it first. Leave it off, otherwise.

Mark

Mark Jelic
iPhone: 0402 322 901

On 1 Jan 2016, at 8:12 PM, Robert Wahlström notifications@github.com
wrote:

Go ahead and work on it. I will concentrate my work in some other areas
for
a while. Like the new prospecting module.

2016-01-01 7:02 GMT+01:00 Greg Malcolm notifications@github.com:

I actually tweaked that a little in my latest PR. Apologies if my
change
has messed up what you're working on. It got pretty involved... :D


Reply to this email directly or view it on GitHub
<
#39 (comment)

.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#39 (comment)
.

@gregmalcolm
Copy link
Contributor Author

I was thinking it would be useful to see the exact cursor positions on
screen to supplement eyeballing the grid. I started on it in the status bar
but as I wasn't going to be done before pushing up code I went ahead and
hid the status bar for now.

Another thought for the Future: encapsulate map in a User Control. Then
we'd still be able to open an external window, but could also split screen
the main page when the user clicks on a known system to show where it is
immediately. Not actually planning on doing it anytime soon, but it's
something I've been something that I've been pondering.
On Jan 1, 2016 6:32 AM, "Robert Wahlström" notifications@github.com wrote:

Yes we should add a such button soon.

On the 3dMaps. Your new grid color looks good.
Now we need ato adapt grid density with zooming. Should not be to hard to
do.

2016-01-01 11:06 GMT+01:00 Mark notifications@github.com:

Prospecting module would be very welcome! Only place to put that info now
is in the Notes.

Btw, another thing I think would be interesting to track, for us
explorers, is a checkbox indicating we were the first to discover that
system or the first star or even just a planet. Check it on if you
discovered it first. Leave it off, otherwise.

Mark

Mark Jelic
iPhone: 0402 322 901

On 1 Jan 2016, at 8:12 PM, Robert Wahlström notifications@github.com
wrote:

Go ahead and work on it. I will concentrate my work in some other areas
for
a while. Like the new prospecting module.

2016-01-01 7:02 GMT+01:00 Greg Malcolm notifications@github.com:

I actually tweaked that a little in my latest PR. Apologies if my
change
has messed up what you're working on. It got pretty involved... :D


Reply to this email directly or view it on GitHub
<

#39 (comment)

.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
<
#39 (comment)

.


Reply to this email directly or view it on GitHub
#39 (comment)
.

@gregmalcolm
Copy link
Contributor Author

Just updated the list of things to do. I've changed quite a few to an updated opinion of what needs doing for quite a few of them.

@MarkJelic
Copy link
Contributor

As long as the 3D map works like the in-game on, as much as possible, I'll be happy. (In terms of using the mouse to rotate and translate and zoom in and out.)

@iainross
Copy link
Contributor

iainross commented Jan 5, 2016

re points 15 and 17 - I added the default centre because I want it it to open centred on the same place every time whatever I've got selected in the Travel History - just not Sol...

Noticed it opening on the selected system last night and thought there was a bug before I noticed it had been introduced deliberately.

So, rather than just "fixing" it back to the way I want it, I'm thinking I could add a setting that controls whether the map opens on the default centre system or the selected system (possibly extending 'selected system' so that if the grid selection doesn't have coordinates it looks for the nearest one - by number of jumps since we don't have coordinates so can't get an actual distance - in the the travel history that does have rather than it defaulting to Sol where the selected system has no coordinates) and a toggle on the map dialog to switch quickly between default centre and travel history selection. The new setting could go on the settings tab and the setting of the default centre moved there at the same time.

Anyone object to that?

@MarkJelic
Copy link
Contributor

What you're suggesting sounds fine to me.

Btw, I had a go at the latest build that's available to download and the 3D map is coming along very well!

I did have a problem when I tried to move the centre of the rotation by using the two button mouse drag or even just the right mouse button drag. It basically messed the location up and had to close and re-open to fix it.

Mark
iPhone: 0402 322 901

On 6 Jan 2016, at 1:40 AM, iainross notifications@github.com wrote:

re points 15 and 17 - I added the default centre because I want it it to open centred on the same place every time whatever I've got selected in the Travel History - just not Sol...

Noticed it opening on the selected system last night and thought there was a bug before I noticed it had been introduced deliberately.

So, rather than just "fixing" it back to the way I want it, I'm thinking I could add a setting that controls whether the map opens on the default centre system or the selected system (possibly extending 'selected system' so that if the grid selection doesn't have coordinates it looks for the nearest one - by number of jumps since we don't have coordinates so can't get an actual distance - in the the travel history that does have rather than it defaulting to Sol where the selected system has no coordinates) and a toggle on the map dialog to switch quickly between default centre and travel history selection. The new setting could go on the settings tab and the setting of the default centre moved there at the same time.

Anyone object to that?


Reply to this email directly or view it on GitHub.

@gregmalcolm
Copy link
Contributor Author

@iainross: Only just noticed your comment. It's good, thanks!

I've had some thoughts on default Zoom levels, but I'll break it off into another issue.

@robbyxp1
Copy link
Contributor

Closed. 3dmap has moved on a lot since this. Please open a new issue if you have any more comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants