Giter Club home page Giter Club logo

threefab's Introduction

ThreeFab

ThreeFab is a tool that allows designers and developers to quickly fabricate and manipulate a three.js scene. This is currently an alpha build as a proof of concept. You will need a WebGL capable browser.

For those not familiar with Three.js

[TRY IT OUT][2] [2]: http://blackjk3.github.com/threefab/

Controls

Keyboard controls

  • S - Zoom in and out on scene (Zoom also works with mouse wheel)
  • D - Pan around scene
  • X - Delete selected object
  • SPACE - Start stop animation preview

Viewport

To move the camera click and drag anywhere in the viewport.

Targeting objects

Double click a mesh object to target. The viewport controls will then rotate according to the registration point of the targeted object. Clicking the "center" button in the "Controls" panel will re-target the viewport controls to the center of the scene.

Positioning objects

To position an object you can use the manipulator tool or use the individual position attributes in the transforms panel.

Transforms

The transforms are setup in blocks of three coordinates (x,y,z). The first block is for position, second is for rotation, third is for scale. Note: Rotation is currently in radians.

Outliner

The outliner contains all the children that can be manuipulated in the scene. To change the selected object you can either click on that object in the viewport or use the drop down provided in the outliner.

Textures

To add a texture first select a model and drag and drop the image on to the viewport.

Exporter

To generate and export the current three.js code click the generate button in the top right. Note: You will need to update the paths for any textured materials and JSON models. Threefab will put a placeholer url that will need to be modified.

Animation

To preview an animation the model must have morph targets set up. The animation timeline will then allow you to play, pause, and scrub through the keyframes. To test use the animated models that come with three.js. (Ex. horse.js, parrot.js, flamingo.js, stork.js)

Screenshots

Screenshot Screenshot 2

threefab's People

Contributors

blackjk3 avatar jterrace avatar

Watchers

James Cloos avatar David Lau avatar

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.