Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 2.74 KB

CHANGES.md

File metadata and controls

65 lines (53 loc) · 2.74 KB

Changes

0.0.11

  • Three: Update controls to r76
  • Time: Provide warmup option to wait N frames before starting clock (complements render warmup)
  • Time: Add time real time clock.
  • Size: Fix rounding bug with non-integer scales.
  • Loop: Add rate option for frame skipping.
  • Loop: Add force option to force rendering if loop is not running and changes occurred.
  • Loop: Add dirty event to trigger sparse updates on changes.
  • Bootstrap: Add .frame() option to trigger a single frame update.

0.0.10

  • Bootstrap: Can pass in CSS selector for { element: ... } option.
  • Size: handle retina/high-DPI displays to match Three.js changes.

0.0.9

  • New Extra/VR: render replacement for Oculus/Cardboard VR using the getVRDevices API and THREE.VRRenderer. Specify as render:vr or use the VR alias, see examples/vr.html.
  • New Extra/Fullscreen: Go fullscreen / VR with keypress or API.
  • New Extra/UI: Minimal UI controls for fullscreen / VR.
  • Extra/Controls: Pass VR state to controls.
  • Extra/Cursor: Hide cursor in VR mode.
  • Vendor/controls/VRControls: Apply VR state and fallback to DeviceOrientationControls / OrbitControls

0.0.8

  • New Core/Warmup: Hide canvas for first few frames to avoid stuttering while JS/GL warms up.
  • Core/Size: Rename capWidth/capHeight to maxRenderWidth/maxRenderHeight
  • Core/Renderer: Only apply render width/height to canvas-based renderers
  • Core/Renderer: Call setRenderSize on renderer if present (MultiRenderer)
  • Core/Bind: Moved before renderer
  • Core/Fallback: Simply fallback message into wrapper + message

0.0.7

  • New Extra/Cursor: Set mouse cursor contextually. Can auto-hide cursor with time out.
  • New Core/Fallback: Abort and display standard message when WebGL is unavailable.
  • Initialize three.Time.now on install.

0.0.6

  • Core: 'ready' event now always fires on hot install
  • Core/Time: Frame count/time frames and variable speed clock/step. Use speed option to control.
  • Core/Fill: Configurable options for behavior, add layout option to position overlays like stats correctly.
  • Extra/Stats: Insert into containing DOM element.

0.0.5

  • Make canvas display as block in 'fill'

0.0.4

  • Shorthand syntax foo:bar for aliases in plugin list
  • Make api mechanism reusable as THREE.Api
  • Hot-swap plugins with three.install/uninstall(name/plugins)

0.0.3

  • this.api({...}, three) now auto-passes three as argument to API methods.
  • Move bind and renderer into their own plugins
  • Make bind mechanism reusable as THREE.Binder
  • Diff changes made with $.api().set(), provide .changes as well as all passed .options values
  • Ad-hoc aliases to override plug-ins on init

0.0.2

  • Declarative event binding
  • .on/.off/.trigger naming, with fallback for DOM/THREE objects
  • controls plug-in / examples