Git Product home page Git Product logo

7map's People

Contributors

bsodium avatar dependabot[bot] avatar faislx avatar kingussopp avatar mmzhk21 avatar seba1204 avatar selmaoujid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

7map's Issues

Calling method on Node causes ConcurrentModificationError (💲 4)

When calling the show() or hide() methods on a Node, a ConcurrentModificationError is thrown, due to the children ArrayList being itterated on by the engine while it is modified by the Node itself.

To Reproduce
Steps to reproduce the behavior:

  1. Schedule a task which hides or shows an object at runtime
  2. Observe

Expected behavior
Obviously no Error being raised

Desktop:

  • OS: Windows

Create optimized class for object rendering (💲 6)

Create java classes to store objects that are quickly displayable.
This objects will be serialized in JSON and store in the database. Then they will be call by our programm to by diplayed in runtime.

These objects must comply with the following guidelines:

  • Ne pas être trop "lourds"
  • Contenir des éléments permettant des les trouver lors de recherches utilisateur
  • Contenir des éléments permettant de les repérer dans l'espace facielement
  • Etre le plus décomposé possible (en vertex)

Create a test data set (💲 3)

  • Créer un fichier *.geojson de test assez "simple", mais avec un maximum de cas différents
  • Créer un fichier settings.json
  • Mettre à disposition des fichiers de tests plus gros

Personnal event handler (💲 7)

Dans le but de faciliter et rendre plus propre la programmation des évènements liés aux interractions utilisateurs, il serait sympa de se faire notre propre handler.
Voilà comment à quoi il pourrait ressembler :

window.onEvent(Event.MOVE, (dx, dy) -> { });
window.onEvent(Event.ZOOM, (delta) -> { });

Les évènements Event.MOVE et Event.ZOOM peuvent par exemple être en dur dans un enum, ou plus dynamiquement dans une HashMap. On pourrait imaginer pourvoir faire évoluer l'API avec d'autres évènements comme Event.GetFocus, Event.LostFocus, ... à moins qu'il y ait d'autres endroits plus pertinents pour ça.

Il faudrait aussi que le callback renvoit des paramètres pertinents en fonction de l'évènement, quitte à créer un objet de retour exprès (comme vu en TD).

repetitive build call on Node on edge case reparent (💲 2)

Describe the bug
undefined behavior (crash/graphical bug)

To Reproduce
Steps to reproduce the behavior:
if you reparent a node to the scene root, then reparent it to null, and reparent it again to the sceneRoot, the buildChildren() gets called twice causing an undefined behavior.

Expected behavior
obviously nothing

Setup data base (💲 8)

When all data is computed (etiher from Geojson files or from OSM XML files/API) we have to store it. And we'll have to get this data very quickly in runiing time. Do not forget that data will be modified by registered users.

Advancement :

  • create data base
  • make installer files for database for Windows and Linux
  • make tables to store and read data
  • create another database (online) to store useraccounts

Parse XML from OpenStreetMap (💲 8)

Actually all free maps are stored in the OSM XML format. So we have to handle it if we want to display some maps.

Advancement :

  • Create great Java strucutre to handle XML parsed data
  • Parse XML files
  • Convert data to our objects that we can easly handle
  • Implement OSM API

Create nice styles for most OSM objects (💲 6)

When we compute maps from OSM data, we have to convert a lot of differents objects (called map features). We have to handle the most important ones in order to have a nice display of maps.

Advancement :

  • Handle the 10 most important features
  • Handle the 20 most important features
  • Handle the 50 most important features

Create vertex from data (💲 9)

When data is loaded from database, we need to compute it in order to make it readable by the 3D engine.

Advancement :

  • Make simple vertex from Points
  • Make simple vertex from Segments
  • Make simple vertex from Polygons
  • Make complex vertex from convex Polygons or Multiple Polygons
  • Add some style based on data

Change Vector3f to Color (💲 1)

Change Vector3f to Color

This is the current Vertex constructor:

public Vertex(Vector3f position, Vector3f color, Vector2f textureCoord) {
        this.pos = position;
        this.color = color;
        this.textureCoord = textureCoord;
    }

I think, it could be a specific color class instead of a Vectof3f so people could create a Vertex with a color in Hex for example.
The class would take care of converting the color to the right format !

Parse geojson files (💲 10)

  • "Créer" un parser pour lire un fichier json, et générer les objets internes à 7map.
  • Prendre en compte le fichier de "customization des couleurs"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.