CG:Skeelogy
FEATURED
ARCHIVES
 
 
CURRENTLY VIEWING
SKULPT.JS
Open source Three.js GPU height field terrain sculpting library
DATE
TYPE
EFFORT
Jul 2013
Open Source
Individual
skulpt.js
@ open source > webgl / three.js
SECTION MENU

This is a JavaScript/GLSL height field terrain sculpting library for Three.js plane meshes.


Features

  • GPU-based sculpting for fast performances on high resolution meshes
  • Load custom greyscale height map as the base terrain
  • Different sculpt brushes: add, remove
  • Highlight on sculpt brush area to visually indicate sculpting location
  • Retrieve a proxy texture for creating a proxy mesh for CPU operations e.g. collision detection with a CPU-based rigid body system

Back To Top Back To Top


Examples

1) Terrain Load & Sculpt

[Live Demo]

  • Loading of greyscale height map
  • Terrain sculpting using the mouse cursor

 

2) Interaction With Dynamic Rigid Bodies

[Live Demo]

  • Fetching of proxy texture from the GPU to create a low-res terrain for collision detection with dynamic rigid bodies

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


LIKED THIS POST? SUBSCRIBE NOW!
Subscribe to my mailing list for updates (and goodies!) from me

 
SUBSCRIBE NOW
Subscribe to my mailing list for updates (and goodies!)
ABOUT ME
Skeel Lee Skeel Lee
skeel@skeelogy.com
Facebook Google+ Twitter Tumblr
YouTube Vimeo Flickr Pinterest
FX TD / R&D
Worked on VFX at MPC, Lucasfilm / ILM and Double Negative
LinkedIn IMDb GitHub Stack Overflow
I am a 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.