CG:Skeelogy
FEATURED
ARCHIVES
 
 
CURRENTLY VIEWING
SK PARALLEL REDUCE.JS
Open source Three.js GPU parallel reduction library
DATE
TYPE
EFFORT
Sep 2013
Open Source
Individual
skparallelreduce.js
@ open source > webgl / three.js
SECTION MENU

This is a JavaScript / GLSL library for performing parallel reductions on the GPU in Three.js. It is useful if you need to do binary reduction operations, such as a sum, on the data of a GPU texture (e.g. THREE.DataTexture, THREE.WebGLRenderTarget etc), in parallel. The time complexity for the reductions is O(lg N).


Features

  • Supported parallel reduction operations: sum
  • Extract final reduced results out from GPU to CPU as floating-point values, if necessary

Back To Top Back To Top


Examples

Back To Top Back To Top


Source Codes

Please consider tipping me for my open source efforts

The source codes for this project can be found in GitHub:

Back To Top Back To Top


Documentation

Please refer to the docs for the full API. There are some short usage examples as well.

Back To Top Back To Top


Browser Support

Tested only in Google Chrome (recommended) and Mozilla FireFox

Back To Top Back To Top


License

Released under The MIT License (MIT)
Copyright (c) 2013 Skeel Lee

Back To Top Back To Top



 
ABOUT ME
Skeel Lee Skeel Lee
skeel@skeelogy.com
Facebook Google+ Twitter Tumblr
YouTube Vimeo Flickr Pinterest
Senior FX TD / R&D
Digital Domain 3.0 (Previously at Sony Pictures Imageworks, MPC, Industrial Light & Magic, Double Negative)
LinkedIn IMDb GitHub Stack Overflow
I am a Senior Technical Director with strong interests in both tech and art. My life evolves round VFX, photography, software engineering, tools programming and generally anything that looks / sounds cool.
I have done a variety of CG programming, including fluid sims, muscles, soft/rigid bodies, raytracing etc. These knowledge complement the visual works that I do as a TD in VFX.
I was interviewed by The Straits Times in May 2014 for my VFX work in X-Men: Days of Future Past.