Giter VIP home page Giter VIP logo

3d-web-parser's People

Contributors

andeplane avatar buggambit avatar davidlky avatar dependabot-preview[bot] avatar dependabot[bot] avatar dragly avatar frxstrem avatar larsmoa avatar nsunderland-cognite avatar robin-hoodie avatar verkhovskaya 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  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

3d-web-parser's Issues

Change default color to gray

Several of our models in production have nodes without color. @dragly fixed this by assigning them a color, but this makes i.e. Ivar Aasen look funny:

Screenshot 2019-04-09 at 11 14 13

We should set gray as default color or figure out why the previous version of the viewer colors it gray.

Generalize get/set functions on PrimitiveGroup

As @Verkhovskaya mentioned, the way the different groups are created now is way more code than is requred. Instead of having setColor(color: THREE.Color) etc, we can have generic
set(type, value) and each group defines a list of types (the parent class PrimitiveGroup will start the list by having

this.types = {
  nodeId: new Float64Array(this.count);
  treeIndex: new Float32Array(this.count);
  color: new Float32Array(3 * this.count);
}

whereas the CircleGroup will have in its constructor
this.types['normal'] = new Float32Array(3 * this.count)

or something.

Add resize function on PrimitiveGroup

After a group is full / a new one is created, we may want to resize the current group so its capacity is exactly its count to minimize memory usage. This will require some extra copying which hopefully isn't much slower.

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.