All Projects → kinectron → Three-Kinectron

kinectron / Three-Kinectron

Licence: other
A Three.js plugin for rendering Kinectron feeds

Programming Languages

javascript
184084 projects - #8 most used programming language
GLSL
2045 projects

Projects that are alternatives of or similar to Three-Kinectron

OpenDepthSensor
Open library to support Kinect V1 & V2 & Azure, RealSense and OpenNI-compatible sensors.
Stars: ✭ 61 (+117.86%)
Mutual labels:  kinect, kinect-v2
ARehab
ARehab is a free software for physical rehab, aided by augmented reality technologies and user tracking systems, such as Microsoft Kinect v2.
Stars: ✭ 20 (-28.57%)
Mutual labels:  kinect, kinect-v2
DepthKit-A-Frame
🎥 An A-Frame component for rendering DepthKit volumetric videos in WebVR
Stars: ✭ 34 (+21.43%)
Mutual labels:  threejs, kinect
Pillar Valley
👾A cross-platform video game built with Expo, three.js, and Firebase! 🎮🕹
Stars: ✭ 242 (+764.29%)
Mutual labels:  threejs
Gpu Physics.js
GPGPU physics for Three.js
Stars: ✭ 246 (+778.57%)
Mutual labels:  threejs
OpenISS
OpenISS -- a unified multimodal motion data delivery framework.
Stars: ✭ 22 (-21.43%)
Mutual labels:  kinect
cgajs
A javascript parser, processor and visualiser for the ESRI CGA Grammar language
Stars: ✭ 20 (-28.57%)
Mutual labels:  threejs
React Three A11y
♿️ Accessibility tools for React Three Fiber
Stars: ✭ 226 (+707.14%)
Mutual labels:  threejs
three-platformize
一个让 THREE 平台化的项目,目前已适配微信,淘宝,头条小程序,微信小游戏
Stars: ✭ 418 (+1392.86%)
Mutual labels:  threejs
three-fspy-camera-loader
Script for importing fSpy camera data into three.js.
Stars: ✭ 16 (-42.86%)
Mutual labels:  threejs
threeagent
ClojureScript library for building Three.js apps in a reagent-like fashion
Stars: ✭ 124 (+342.86%)
Mutual labels:  threejs
Px3d
Experimental pixel 3d engine
Stars: ✭ 252 (+800%)
Mutual labels:  threejs
a-blast
💥 Save the World From the Cutest Creatures in the Universe!
Stars: ✭ 116 (+314.29%)
Mutual labels:  threejs
Webvr Ui
WebVR-UI Javascript library making it easy to create a button for entering VR mode
Stars: ✭ 244 (+771.43%)
Mutual labels:  threejs
humke-4d-geometry
A web-based 4D Geometry viewer
Stars: ✭ 51 (+82.14%)
Mutual labels:  threejs
Webxr Emulator Extension
WebXR emulator extension
Stars: ✭ 231 (+725%)
Mutual labels:  threejs
three-csg-ts
CSG library for use with THREE.js
Stars: ✭ 312 (+1014.29%)
Mutual labels:  threejs
Kinect2Toolbox
Code for CVPR 2015 Paper Understanding Tools: Task-Oriented Object Modeling, Learning and Recognition.
Stars: ✭ 45 (+60.71%)
Mutual labels:  kinect
Rthreejs
Three.js widgets for R and shiny
Stars: ✭ 251 (+796.43%)
Mutual labels:  threejs
under-neon-lights
A snapshot of Under Neon Lights, an interactive WebVR Music Video.
Stars: ✭ 113 (+303.57%)
Mutual labels:  threejs

Kinectron for Three.js

A plugin for working with the Kinectron RGBD stream in Three.js

  1. Usage
  2. Contribute Kinectron

Usage

You can create geomtery from the Kinect's RGBD feed by simply:

const kinectGeo = THREE.KinectGeometry("mesh");

You can choose the rendering type by changing the first argument to "mesh" / "wire" / "points"

And then simply add it your Three.js scene:

scene.add(kinectGeo);

You would need to also bind the incoming Kinect image to the '''kinectGeo''' instance

function onNewKinectFrame(ktronImg) {
  kinectronGeo.kinectron.bind(ktronImg.src);
}

For further reference use the simple example

Class methods:

All class methods are available on the kinectron property of the THREE.KinectGeometry instance

const kinectGeo = THREE.KinectGeometry("mesh");
kinectGeo.kinectron.setDisplacement(30.0);
  • .setDisplacement(amount) - Increase or decrease the amount of displacement on the Z axis (Default value is 1.0).
  • .setBrightness(amount) - Increase or decrease the brightness of the texture (Default value is 0.0).
  • .setContrast(amount) - Increase or decrease the contrast of the texture (Default value is 1.0).
  • .setOpacity(opacity) - Increase or decrease the opacity of the texture (Default value is 1.0).
  • .setPointSize(opacity) - Increase or decrease the point size (Only when rendering points, "points").
  • .setLineWidth(width) - Increase or decrease the line width (Only when rendering wireframe, "wire").
  • .pause() - Pause the rendering of the Kinectron stream, keeps the last frame.
  • .play() - Resume the rendering of the Kinectron stream.
  • .bind(imageStream) - Bind a Kinectron image stream to the material, needs to be called everytime a new frame arrives.
  • .update() - Calling the update method in the render loop will update the time uniform in the shader.

Contribute

Fork/Clone the repository, make sure to use the --recursive flag when you clone to clone submodules too, and npm install all dependencies

Build system commands:

  • npm run start uses concurrently to run both an http-server and a watchify build opreation on every save to dist/kinectron.three.js.
  • npm run build builds a minified version of the plugin once and saves it to dist/kinectron.three.min.js

Written by juniorxsound based on DepthKit.js as a part XStory grant in ITP, NYU

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].