Git Product home page Git Product logo

forge-pointcloud-animation's Introduction

forge-pointcloud-animation

animation point-clouds for simulation data

this demo shows how to update the position and color each point, per frame, used for simulation demo.

forge-points-anim

Smoother Animation:

Simulation's require smooth animation of points. In order to achieve maximum frame-rate in ForgeViewer, you need to switch off FX (like SAO, Line-Edges, ground-shadow and background-environment).

Click the "smooth animation" button to see the speed up change, or watch this 60fps video:

See the function activate_butterySmoothAnimation() to see the changes:

function activate_butterySmoothAnimation() {
    // reduce heavy fragment shader stuff
    viewer.setQualityLevel(false, true); // turn off ambient occlusion fragment shader
    viewer.impl.toggleEnvMapBackground(false); // reduce the effort on your fragment shader.

    // reduce draw calls
    viewer.impl.toggleGroundShadow(false); // turn off that ground shadow render pass
    viewer.setDisplayEdges(false); // don't render edge lines in AEC buildings.  this is a big one.

    // Switch to perspective (seems faster), and zoom in a little
    viewer.impl.camera.toPerspective();
    viewer.setFOV(50);
    viewer.fitToView([5536, 7012]);
}

The point-cloud uses a sprite (particle.png) and taints the color: points

forge-pointcloud-animation's People

Contributors

wallabyway avatar

Stargazers

 avatar uco_physics avatar  avatar Eason Kang avatar

Watchers

 avatar James Cloos avatar  avatar

forge-pointcloud-animation's Issues

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.