Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

troika-three-utils

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-three-utils - npm Package Versions

1235

0.26.0

Diff

Changelog

Source

0.26.0 (2020-05-24)

Bug Fixes

  • troika-3d-text: #46 fix error on script load when document not present (1b005ec)

Features

  • examples: add example showing a resizable flexbox layout (8f4d50d)
  • troika-3d-text: experimental colorRanges feature (c4971c3)
  • troika-worker-utils: add main thread fallback when web workers are not allowed (c754d0b)
lojjic
published 0.25.0 •

Changelog

Source

0.25.0 (2020-05-19)

Bug Fixes

  • troika-3d: fix error in InstancingManager on uniforms with default value of 0 (8d2cc83)
  • troika-3d: fix errors due to excessively deep BoundingSphereOctrees (a4b5797), closes #42
  • troika-3d-text: avoid error if something tries to set textMaterial.shadowSide (c09a3c1)

Features

  • troika-3d-text: add events fired on text sync start and completion (3e7d4e0)
  • troika-3d-text: add original input parameters to textRenderInfo object (e1ef963)
  • troika-3d-text: publicly expose getCaretAtPoint and getSelectionRects functions (669b256)

Performance Improvements

  • troika-3d-text: improve speed of glyph SDF generation by ~15-20% (3718997)
lojjic
published 0.24.0 •

Changelog

Source

0.24.0 (2020-04-27)

Bug Fixes

  • troika-3d: default Plane and Circle primitives' side and shadowSide to DoubleSide (7704b0a)
  • troika-3d-text: change GlyphSegmentsQuadtree to not use class (7e4db6c)
  • troika-three-utils: allow use of the timeUniform within glsl functions (7354b9e)

Features

  • troika-3d-text: add preloadFont utility (acedd3c), closes #39
  • troika-3d-text: add enhanced anchorX and anchorY config properties (b58f7b9), closes #38
  • troika-3d-text: add some useful font metrics to textRenderInfo result (c7b14b8)

Performance Improvements

  • troika-3d-text: major speed/memory improvement in text layout (1b65b33)
  • troika-3d-text: micro optimizations in text layout (c786397)
  • troika-3d-text: optimize rendering of very long clipped text blocks (c66fbec)
lojjic
published 0.23.0 •

Changelog

Source

0.23.0 (2020-04-16)

Bug Fixes

  • troika-3d-text: selection range rects now honor clipRect, and are instanced (ba86004)
  • troika-3d-ui: allow canceling drag-scroll behavior with e.preventDefault() (eca5f15)
  • troika-3d-ui: prevent sync of text nodes before flex layout finishes (4769cac)
  • troika-three-utils: fragmentColorTransform is now inserted prior to postprocessing chunks (97cd9ac), closes #20

Features

  • troika-3d-ui: add onAfterFlexLayoutApplied hook for FlexNodes (912f95c)
  • troika-3d-ui: allow overriding DatSelect dropdown styles/config (bf78e79)
  • troika-worker-modules: improve rehydration of functions in worker (8f63090), closes #31

Performance Improvements

  • troika-3d-ui: make bg/border layers instanced, and move clipping to vertex shader (f7526f4)
lojjic
published 0.22.0 •

Changelog

Source

0.22.0 (2020-04-02)

Bug Fixes

  • examples: fix transparency of globe (8886bc1)
  • examples: make bezier material doublesided (163b3e0)
  • troika-3d-text: letterSpacing no longer applied after newlines (61cb4f8), closes #33
  • troika-xr: fix TargetRay transparency by rendering last w/o depth testing (045ec27)

Features

  • troika-3d-text: add 'orientation' parameter for defining default layout plane (f2c0c76), closes #34

Performance Improvements

  • troika-3d-text: move clipping logic from fragment to vertex shader (1accf78)
  • troika-xr: avoid full update pass every frame in WristMountedUI (4a4cd16)
  • troika-xr: avoid setting grip material colors every frame (d3f1246)
lojjic
published 0.21.0 •

Changelog

Source

0.21.0 (2020-03-27)

Features

  • examples: beziers: add instanceable version of the beziers, and add point light option (0739f4d)
  • troika-3d: instancing now supports custom derived materials (bad5e02)
  • troika-3d: reduce instancing batch size to 128 (dc4bd8a)
  • troika-3d: update ThreeJS support up to r115 (531ff6a)
  • troika-three-utils: added new options for createDerivedMaterial (d67bb4a)
  • troika-three-utils: derived shadow material uniforms are now synced automatically (7843f23)
lojjic
published 0.20.0 •

Changelog

Source

0.20.0 (2020-03-16)

Bug Fixes

  • troika-3d-ui: fix scrollbars sometimes appearing inappropriately (010be47)
  • troika-3d-ui: update children when first exiting clip rect (294f341)

Features

  • troika-3d-ui: allow dat-gui items to declare their own onUpdate (a707fd5)
  • troika-3d-ui: enable shadow casting by UI block bg/border layers (d2c056c)
  • troika-worker-utils: export function for stringifying functions (977634b)

Performance Improvements

  • skip updating children of inactive wrist-mounted ui (c1b93f1)
lojjic
published 0.19.0 •

Changelog

Source

0.19.0 (2020-02-28)

Bug Fixes

  • troika-xr: disable buggy experimental clickOnPoke feature (46cff53)

Features

  • examples: example configurators are standardized and work in XR (cec6f63)
  • troika-xr: improved default target ray appearance (3798d9e)
lojjic
published 0.18.0 •

Changelog

Source

0.18.0 (2020-02-21)

Bug Fixes

  • the PlaneFacade's geometry now faces up (cb1bb1b)

Features

  • Add a set of facades for common primitive meshes, using shared geometries and with setters for builtin material properties. (d4b309b)
  • Add memoize function in utils (16efb01)
  • troika-3d: allow passing a Vector3 instance to getCameraPosition (f686483)
lojjic
published 0.17.1 •

Changelog

Source

0.18.0 (2020-02-21)

Bug Fixes

  • the PlaneFacade's geometry now faces up (cb1bb1b)

Features

  • Add a set of facades for common primitive meshes, using shared geometries and with setters for builtin material properties. (d4b309b)
  • Add memoize function in utils (16efb01)
  • troika-3d: allow passing a Vector3 instance to getCameraPosition (f686483)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc