Code Monkey home page Code Monkey logo

ol3's People

Contributors

ahocevar avatar augustuskling avatar bartvde avatar bbinet avatar cedricmoullet avatar crschmidt avatar drprofesq avatar dwins avatar elemoine avatar fredj avatar gravitystorm avatar gregersrygg avatar jachym avatar jorix avatar klokan avatar madair avatar marcjansen avatar pagameba avatar probins avatar sbrunner avatar schuyler avatar sdikiy avatar superman32432432 avatar tmcw avatar tomhughes avatar tonio avatar tschaub avatar turbo87 avatar twpayne avatar zigliouk avatar

Watchers

 avatar  avatar  avatar

ol3's Issues

Separate code for geometric primitives

Right now all data preparation is in batchbuilder.js and there is one common shader for both lines and polygons.
It is desirable to have the code structured by the geometry that it implements using separat,e simplified shaders. It's getting rather crowded in batchbuilder.js (> 1000 LOC - unpleasant to edit, already) and we'd otherwise add even more code to it. Common subroutines should be factored out and be clearly identifiable as such.

Remove outline shading

Right now, wide lines can be shaded with an outline immediately before smoothing. It won't be used, so remove it to improve clarity.

Detect index range overflow and enforce vertex buffer rebinding

Vertex element indices are limited to 16 bit unsigned integers in WebGL. To overcome this limit, issue a CONFIGURE instruction to the control stream to rebind the vertex buffer with the offset of the first vertex in the last primitive and subtract the number of skipped vertices from the index range.

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.