Code Monkey home page Code Monkey logo

voxel's People

Contributors

jdowner avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

voxel's Issues

Create examples directory

I want the App class to be a fairly generic controller that provides an interface to the renderer. So functions such as loading vertices should be handled by other classes, which may be extensions of the App class. These extensions should be examples that go in the examples directory.

Create shaders directory

Create a shaders directory and move the basic shaders there. This is mostly about ensuring that shader loading is explicit about where shaders are being loaded from (rather than assuming that shaders are in the same location that the app is invoked from). It may be that in the future the shaders will be example specific. However, for the initial version the shaders just need to be placed into their own directory.

Create Config class to pass to App

Create a Config class that can be passed to the App class to initialize it. The goal here is to provided a simple mechanism for extending the App class but also to make configuration data driven rather than hard coded.

Move file loading out of App

The App class is intended to act as a controller that provides an interface for communicating with the renderer and interacting with the scene. It is not intended to provided file loading and support for formats X, Y, and Z. Currently, the App class loads data from an HDF5 file. Move this functionality into an example that extends the App class.

bug: fix mouse movement

The current the version of mouse movement was a 5min hack to get something in place. The real solution needs to track the camera position correctly and map it to the (relative) mouse position from the initial click. This may require implementing slerp on the quaternion class.

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.