/sculptgl

A WebGL sculpting stuff.

Primary LanguageJavaScriptOtherNOASSERTION

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