GithubHelp home page GithubHelp logo

blaze33 / map33.js Goto Github PK

View Code? Open in Web Editor NEW
420.0 11.0 39.0 4.48 MB

A JavaScript library to make 3D maps with three.js.

Home Page: https://map33.openbloc.com

License: MIT License

JavaScript 97.35% HTML 2.19% CSS 0.46%
threejs maps cartography 3d-graphics webgl tilesets

map33.js's People

Contributors

blaze33 avatar dependabot[bot] 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

map33.js's Issues

Use onBeforeCompile callback instead of its own ThreeJS Material

Currently you have registered your own Material with its Vertex and Fragment shader code which is mostly copied from ThreeJs' source code.
Because you make only small changes to the fragment shader, please consider using the onBeforeCompile callback, so that the the Mesh works on any ThreeJS shipped Material and is future proof...

See this article for an in-depth usage using onBeforeCompile.

If you want I can also try to provide a PR ... (if I find time next week)

Live demo fail

Hi,

I just got here casually and tried the Live Demo and I got this result

openbloc

I'm on Arch linux using Firefox

Factor for terrain height extravagation

Really useful library you made here.

May you also add a (artificial) factor for the terrain height extravagation, so that for instance when we have a higher zoom level the terrain morphology may be adjusted (via a uniform)

Resolution of Geometry

Currently the number of vertices of the Planebuffergeometry corresponds to the number of pixels in the raster tile heightmap. This has a bad impact on the performance, and this level of detail is generally not needed for the geometry.
There should be a factor as an option that sets a divison factor of this (like vertices number is half of the raster image pixel size)

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.