Skip to content

v9.0.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Mar 20:22
· 3 commits to beta since this release

9.0.0-beta.4 (2022-03-29)

Bug Fixes

  • Bounds: use controls TS shape (3500899)
  • ComputedAttribute: use new attach API (7ffe820)
  • Trail: correctly type ref w/meshline (bc198cf)
  • PointMaterial type (#838) (301d7e7)
  • Trail with no children (#812) (425bee5)
  • added missing cleanup to TransformControls #746 (#749) (03af70a)
  • all shaders, tonemapping and encoding (cc972ae)
  • allow cloud self host (de09f01)
  • allow inject for mesh clones (15e069c)
  • allow lightformers to have children, for material re-use (0827ec1)
  • allow lightformers to have children, for material re-use (4e4129f)
  • allow material to receive tonemapped prop (1faa707)
  • allow select to filter (177de31)
  • apparently premgenerator is not needed in threejs any longer (21515a2)
  • better type inference for useHelper hook (#776) (fba84aa)
  • bounds needs to observe the canvas for resize (f0f3506)
  • bounds should first carry out auto-measure as a layout effect (793f95c)
  • change env api slightly, renderprops are not necessary (e531621)
  • changes import of MeshSurfaceSampler to 'three-stdlib' without sub-package (#833) (874d530)
  • changes import of MeshSurfaceSampler to three-stdlib (#831) (ff687d7)
  • clone children were broken (0f0a2df)
  • clone needs a ref (f54e4a7)
  • clone root elements, not just groups (8ea0930)
  • clone should also spread over first element if it's not a group (908de6e)
  • clone shouldn't wrap contents into an extra group (104ecdc)
  • clone spread was broken (928c539)
  • clones should be able to take multiple objects (bafe0ab)
  • contactshadows was missing a second pass (44fc820)
  • controls (7b7b0b5)
  • controls shouldn't dispose on callback changes (5eff8d8)
  • cubemaps should be linear (says mrdoob) (aa2e7f4)
  • curve modifier was broken (30e24b3)
  • env should be halffloattype (0ac46cf)
  • env side effects, add map (d970999)
  • env-portal should not pre-define files and presets (ecd101b)
  • envmap shouldn't dispose of its texture (a4966df)
  • events.target should either be a node or undefined (693fa27)
  • fine grained deep cloning (65d6947)
  • fixed scale typing to allow array (#824) (f1c5fb5)
  • flickering fbo's (0cd4869)
  • forgot trackball (aaba150)
  • gizmo fix usecamera (9aca27c)
  • gizmo side effects, bounds lacking invalidate (711207e)
  • gradienttexture was missing the encoding (d236c6b)
  • initial bounds were incorrect (002b2e3)
  • instance perf issue, neglecting draw range (fecbf34)
  • keep overrideMaterial while using ContactShadows (#782) (233937c)
  • merge (888a1d3)
  • plc uses connect, will center events by default (dfacf94)
  • points and instances waste a lot of time checking for nothing (37f25ac)
  • points was broken, didn't accept colors and attenuation (7fcc7b5)
  • remove debug logs (3b5b8ab)
  • roundedbox was missing steps (b56e777)
  • syntax error in README.md PresentationControls example (#792) (af38bb4)
  • text fouc, use suspend-react instead of use-asset (#770) (1948110)
  • transform has to attach to events.connected (6e0e3c4)
  • troika dispose the texture when resizing it so it gets reallocated on the GPU (#788) (5c76727)
  • update dependencies to support r137 RGBFormat deletion (#741) (cdaf6ee)
  • update Stage.tsx types (#765) (7afaaf8), closes #536
  • WebGLMultisampleRenderTarget removed in Three r138 (#798) (764c17e)
  • Environment: cubeMap mapping (#829) (fcae0c7)
  • updates meshline (#811) (77ac252)
  • use npm instead of three/examples (#737) (9714d8e)
  • use pmndrs market links for env assets (866b7c0)
  • core: cleanup RGBFormat/sRGB decode usage, bump three peer dep to r137 (#757) (9e30790)
  • core: remove usage of RGBFormat (#742) (a263a79)

Features

  • add reflectorOffset to MeshReflectorMaterial (#722) (1de1854)
  • adds Trail and useTrail (#808) (596879b)
  • adds Sampler & ComputedAttribute (#826) (1be0b7d)
  • allow environments to nest (d1faa13)
  • bump troika text 0.45.0 (#767) (c7d48e0)
  • bump troika to use gpu-accelerated sdf generator (#787) (0d08dc9)
  • clone (16b57f1)
  • env maps can be live (frames) (839bec2)
  • environment can render custom children, and text suspense is fixed (5692b70)
  • lightformer (64fb608)
  • makes useHelper togglable by passing first prop as false (#761) (211bbe4)
  • support multiple css classes on Stats component (#790) (95a1b88)
  • update three-stdlib to v2.7.2 (#726) (4d74461)
  • useboxprojectedenv (3c23551)