Coder Social home page Coder Social logo

demo's Introduction

Project status

Project is deprecated, please follow new one improved: https://github.com/reinterpretcat/utymap

Description

In short, ASM is an engine for building real city environment dynamically using OSM data. It includes:

  • rendering of different models (e.g. buildings, roads, parks, rivers, POI, etc.) using OSM data for given location on the fly by terrain tiling approach.
  • easy customization of rendered models using mapcss file and custom behaviours.
  • modification of city environment (terrain craters, corrupt buildings, etc..).
  • non-flat terrain with Data Elevation Model (SRTM) files.
  • fast 2D overview mode for large area.
  • multiplayer (by Unity Network API).
  • filling environment with people, cars, animals... (not started)

The engine can be used to build different 3D-games (like car simulations or GTA 2/3 ) or some map tools (target is mobile devices). Web demo build can be found here. More info will be published at github pages.

Demo scenes

Demo project contains the following scenes in Assets\Scenes folder:
  • SimpleMap2D scene loads 2D map of large area with low detail terrain and allows you to skip the certain objects (e.g. buildings, trees) using MapCSS rules for different zoom levels. You can also pan/zoom map.
  • SimpleMap3D scene loads one tile with all details (full detail terrain, buildings, trees) and adjusted tiles with low level of details. You can walk and interact with environment: modify facade of building, make craters. Tiles will be loaded/unloaded automatically.
  • GpsTracking scene demonstrates how to work with Location Services (e.g. GPS). Nmea file is used as GPS signal source to simulate movement.
  • Customization scene demonstrates how to add custom objects to the map or/and extend their behaviour.
  • GuiEditor scene demonstrates several features: map editor (create new map object such as buildings, barriers, trees; adjust terrain height), current address resolution (detects where you are), dynamic switch between 2D/3D maps (2D map shows larger area). You may find video which shows this scene above.

Note

This repository contains demo application which is built using ActionStreetMap framework (ASM) for Unity Editor platform (with UNITY_EDITOR compilation symbols). For other platforms, you need different binaries which are not committed yet.

Screenshots

Contacts

In case of any questions, don't hesitate to ask me.

demo's People

Contributors

reinterpretcat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo's Issues

Unreal Engine 4 Support for ActionStreetMap

Hey,
I am not sure really where to put this.
Just thought I would ask are there any plans for supporting Unreal Engine 4?

If you have any doubts about the port over to unreal engine 4 please let me know.

Also I might be able to help with 3D Art assets.

  • Benjamin

Missing asset db

I'm sorry to open an issue rather than offering a solution:
I you export this project for the first time, Unity drops:
"Rebuilding Library because the asset database could not be found!"
Removing Assets/UnityVS/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll because the asset does not exist
Removing Assets/UnityVS/Editor/SyntaxTree.VisualStudio.Unity.Messaging.dll because the asset does not exist
Removing Assets/UnityVS/Editor/UnityVS.VersionSpecific.dll because the asset does not exist

Implement simple editor

Should provide the way to create new simple objects on current tile (buildings, trees, barriers)

Offline maps, please help!

There, I look through the source code. I found that the project loads offline map from demo/Assets/Resources/

There are many files. How I can get another specific place work with demo code? What I mean is that I want to use a place in U.S. for example. How I can replace the default files with my files. Also how I can generate these files for my location?

Thanks!!

Migrate to new map data schema

Pbf, osm.xml and O5m aren't designed to process bounding box queries. So, need to use some different format (index) to allow faster processing and text search

2x2 sections of tile rendering blank

I've come across an issue where 2x2 sections of tile fail to load (or rather, they load but display only the default grey concrete). It hasn't always happened in the same spots but if you'd like to try reproducing it, I used coordinates (41.193736, -73.323373) with tile size 180. As soon as you spawn, turn 180ΒΊ and walk forward to follow the road to your left. You should notice the problem as you approach a large grassy area (a 2x2 section of concrete will suddenly interrupt the road and the road will continue on the other side).

I thought it might have something to do with OSM only returning features that fit within the bounding box (and thus depending on how the player moved, blank tiles might be generated and not updated as the player got closer) and this made even more sense when I walked away from an area that failed to render (triggering its destruction) and returned to find that it displayed the road properly upon re-creation. But I also had the road underneath the spawn point fail to load, so I think the issue may lie somewhere else.

Add simple menu

Should display base information like

  • map files
  • current position
  • tile size

TBD

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.