All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.28.1 (2020-06-17)
- troika-3d-text: don't dispose derived materials on base material switch (3d88475), closes #59
- troika-3d-text: set correct
object
in TextMesh raycast intersections (9f3eaa7), closes #62
0.28.0 (2020-06-09)
- troika-3d-text: fix cloning of TextMesh (13df49b), closes #60
- troika-3d-text: prevent double-derivation of text material (ef8cffa), closes #59
0.27.1 (2020-06-05)
- troika-3d-text: fix shader error when casting shadows from text (0c9277d)
0.27.0 (2020-06-02)
- troika-3d: add three.js r117 to supported version range (2761f39)
- troika-core: add
update
convenience method to all facades (7403be1) - troika-examples: flexbox example: globe pokes through bg, add scrollable lists (074c620)
0.26.1 (2020-05-26)
- troika-worker-modules: silence fallback warning in non-browser environments (3dedb8f)
0.26.0 (2020-05-24)
- 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)
0.25.0 (2020-05-19)
- 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)
- 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)
- troika-3d-text: improve speed of glyph SDF generation by ~15-20% (3718997)
0.24.1 (2020-05-04)
0.24.0 (2020-04-27)
- 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)
- troika-3d-text: add
preloadFont
utility (acedd3c), closes #39 - troika-3d-text: add enhanced
anchorX
andanchorY
config properties (b58f7b9), closes #38 - troika-3d-text: add some useful font metrics to textRenderInfo result (c7b14b8)
- 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)
0.23.0 (2020-04-16)
- 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
- troika-3d-ui: add onAfterFlexLayoutApplied hook for
FlexNode
s (912f95c) - troika-3d-ui: allow overriding DatSelect dropdown styles/config (bf78e79)
- troika-worker-modules: improve rehydration of functions in worker (8f63090), closes #31
- troika-3d-ui: make bg/border layers instanced, and move clipping to vertex shader (f7526f4)
0.22.0 (2020-04-02)
- 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)
- 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)
0.21.0 (2020-03-27)
- 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)
0.20.0 (2020-03-16)
- troika-3d-ui: fix scrollbars sometimes appearing inappropriately (010be47)
- troika-3d-ui: update children when first exiting clip rect (294f341)
- 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)
- skip updating children of inactive wrist-mounted ui (c1b93f1)
0.19.0 (2020-02-28)
- troika-xr: disable buggy experimental clickOnPoke feature (46cff53)
- examples: example configurators are standardized and work in XR (cec6f63)
- troika-xr: improved default target ray appearance (3798d9e)
0.19.0-alpha.0 (2020-02-22)
- honor MeshFacade.autoDispose* when geometry or material changes (f478a47)
- add a CircleFacade primitive (d73ae87)
- troika-3d-ui: add DatGuiFacade and supporting widgets (c463198)
- troika-xr: add WristMountedUI component (74f5b10)
0.18.0 (2020-02-21)
- the PlaneFacade's geometry now faces up (cb1bb1b)