gbiobob / ed3d-galaxy-map Goto Github PK
View Code? Open in Web Editor NEWElite: Dangerous 3D map visualiser API (build with WebGL)
Home Page: https://wiki.ed-board.net/en/map/
License: MIT License
Elite: Dangerous 3D map visualiser API (build with WebGL)
Home Page: https://wiki.ed-board.net/en/map/
License: MIT License
It would be great if we could have a progress bar, or even a spinning wheel and a loading message, while loading a huge JSON. That edsm.json I make every night takes even a good browser on a good connection a while to load it. (Delay only noticeable on first visit to the page each day.)
So the problem is when you zoom in without clicking on a system, scrolling the map becomes unbearingly slow (scale modificator or something?) and the systems as well as the ring around a hovered star. I can never zoom to the level which you can achieve by clicking on a star.
Happens if you tilt the view to look sideways and the til it back to normal.
Weirdly enough, when this state is reached, the left mouse button rotates the camera's view and not the galaxy. It seems the focal position is almost near the camera. Any idea?
Changes to the scale size:
'scaleSize' : 64,
have no effect in
system.class.js
I've tried playing around with it a bit on my machine and I've had no luck trying to get it to have any impact on the final output at all. Looking at where it is used, I get the impression that it's being applied to a property that may require an x, y, and z scale instead?
Lots of global vars and functions right now, making it difficult to truly "refresh" or "destroy" (a la angular directive).
I will start working on a PR to move the code into an IIFE.
For a small project, I customized the galaxy image "textures/heightmap7.jpg" to fit my needs.
Everything went quiet fine, but I find the "fog" or "particles" generated in a distance somewhat annoying.
Is there a (simple) way to omit the generation of these particles?
thanks in advance
Grimmer Schnitter
Hi biobob, first off thanks for this, it looks and works really well. However there appears to be either an issue with the display or an issue with frontiers galaxy generation.
If you check the map of known neutron stars on my site http://www.spansh.co.uk/map.html then you will note that barring one or two very close to the bubble, there appears to be almost no neutron stars (discovered) along the 0 axis (What I will call Z) heading between Sol/Sag A/Colonia. There is another less obvious (because there are less Neutron stars) gap on the X axis.
Now, it may simply be that people haven't discovered them there and that they are there, however given the amount of stars displayed either side there it seems unlikely.
As such I "think" you may have a perspective/rendering issue around the 0 axis markers pushing stars a little too far away from them. If not then it could genuinely be an issue with Frontiers stellar forge but I thought I'd look at the most obvious option first.
(Seperately I'm having a few small issues dropping this into a non full screen modal but I'm sure I can work that out on my own, it would however be really useful if I could specify the height/width in pixels on the initialise call, I may see if I can submit a pull request later this week that add's that if you're interested).
EDIT: I am being informed by someone who is able to get in game that it might actually be that there are no neutron stars on that axis and the problem may lie within frontiers "stellar forge", as such I have added a post to see if I can get feedback from the devs https://forums.frontier.co.uk/showthread.php/320436-Possible-issue-with-the-stellar-forge?p=4985341#post4985341
Scale appears determined by distanceFromTarget (line 697 ed3dmap.js). However, it is possible to manually move the camera and zoom in with the mouse wheel, thus zooming in on an area very far from the target. The result of this is that the user can zoom in on an area and all stars will disappear because they are so far from the target they become minimum size.
Once the map is loaded and running, is it possible to insert a new object on the map?
It would be nice if there was an option to display system names by default instead of having to click
More technically: where would you add code to make that one work? Maybe I give it a look
Would you mind setting them up for easier consumption into other projects?
Add a way to load a custom sprite for stars
Ref URL: http://gerdofal.net/ed/ed3dmap/plotedsm.php
I am very impressed with how well this is handling the massive number of stars we now have due to the recent patch. But I've noticed a problem. When categories are deselected on the HUD, the stars are not completely removed. A white glow is left behind. (This white glow is actually there all the time, makes it hard to see the colors sometimes.)
Is it possible to vary the size/colour of individual stars from the json?
Hi there,
I'm interested in forking / basing off your project. Can you put down a licence file so that I can know what I should be doing when considering whether I have to keep it open source, release contributions, etc?
Thanks!
The camera resets to the start when categories are clicked. You can see what I mean here:
http://gerdofal.net/ed/ed3dmap/plotedsm.php
Manually move the camera, then click a category, the camera will move back to a reset position.
Pages fail to load after update to newest version. Error is:
Uncaught TypeError: THREE.Spherical is not a constructor
A few suggestions from some of the Canonn users of our map here: https://map.canonn.technology/beta
As an example of nested Categories:
Is it possible to trigger a reload of the map data from JSON without taking the map off the screen? Just adding the new points? And maybe taking away points, or re-categorizing points, that aren't needed any more?
Hi there,
There is a consistent typo with "cusor" instead of "cursor" - "r" is missing:
# grep -ir cusor js/components/
js/components/action.class.js: this.addCusorOnHover(sel.x, sel.y, sel.z);
js/components/action.class.js: this.addCusorOnSelect(goX, goY, goZ);
js/components/action.class.js: 'addCusorOnSelect' : function (x, y, z) {
js/components/action.class.js: 'addCusorOnHover' : function (x, y, z) {
Be able to make cluster for far view when there is an huge amount of stars.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.