A WebGL sculpting stuff.
JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 26 commits ahead, 40 commits behind stephomi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
lib
src
standalone
tools
.gitignore
.jsbeautifyrc
.jshintrc
LICENSE
README.md
main.js
package.json
rollup.config.js
sculptgl.sublime-project
todo.md
yarn.lock

README.md

SculptGL (VR) - WebGL sculpting

A fork of sculptgl adapted for webVR

s01

This is under development, but usable.

try it out here

You need a browser that supports webVR (https://webvr.rocks/).

works with HTC Vive and Oculus touch

No visual user interface, see controlls below, and use the html UI for other operations.

Vive controls

Right Controller: cursor projects to mesh

  • right trigger - sculpt
  • right pad click - toggle invert
  • right grip - move mesh
  • right steam button - redo

Left Controller:

  • left trigger - quick smooth tool
  • left pad click - cycle tool (tool displayed with cursor color)
  • left grip - scale mesh when combined with right grip
  • left steam button - undo

Oculus controls

Right Controller: cursor projects to mesh

  • X - undo
  • right trigger - sculpt
  • right grip - move mesh
  • right stick click - toggle invert

Left Controller:

  • A - redo
  • left stick click - cycle tool
  • left trigger - quick smooth tool
  • left grip - scale mesh when combined with right grip

Tools

  • red - brush
  • green - inflate
  • blue - flatten
  • yellow - pinch
  • cyan - crease
  • black - move

Dev

Install nodejs.

Then use rollup :

npm install -g rollup # if not already done
npm install
npm run dev # and visit app/index.html

Credits

Environments

The raw environments can be found here (check the licenses !) :

http://www.hdrlabs.com/sibl/archive.html

http://hdrmaps.com/freebies