Skip to content

v0.3.1

Compare
Choose a tag to compare
@shawn0326 shawn0326 released this 10 Dec 02:59
· 31 commits to dev since this release

变更日志

  • 特性:为 TextureBase 添加 userData 属性
  • 特性:为 DirectionalLightShadow.frustumEdgeFalloff 添加垂直淡出支持
  • 特性:为 Matrix3 添加 isIdentity 方法
  • 特性:为 Renderer 添加 asyncReadPixel 选项
  • 特性:为 MathUtils 添加 lerp 方法
  • 修复:解决 CylinderGeometry 中设置多个高度分段缺失三角形的问题
  • 修复:当一个盖子的半径为零时,移除 CylinderGeometry 中的共线三角形
  • 性能:在 DirectionalLightShadow 渲染期间启用相机剔除
  • 重构:同步阴影相机与光源的up方向
  • 重构:优化 getPointShadow 方法
  • 文档:为 Geometry.instanceCount 添加描述性注释
  • 特性(addons):添加数学类 OBB
  • 特性(addons):在 GLTFLoader 中添加对 KHR_animation_pointer 的支持
  • 特性(addons):在 GLTFLoader 中为纹理添加 mimeType 信息
  • 特性(addons):添加 GLTFExporter
  • 特性(addons):在 GLTFExporter 中添加对 GLTF_SEPARATE 格式的支持
  • 特性(addons):在 GLTFExporter 中添加实例化和光照扩展
  • 特性(addons):在 GLTFExporter 中添加 draco 选项
  • 特性(addons):添加 DRACOExporter
  • 特性(addons):引入新的 LightShadowAdapter
  • 特性(addons):添加 InstancedMaterial.js文件,整合所有实例化材质扩展
  • 特性(addons):引入 AttenuationMaterial,整合衰减材质扩展
  • 特性(addons):引入 LatheBuilder
  • 修复(addons):修正 HeatmapGeneratorIDWMapGeneratordispose 方法
  • 修复(addons):当相机在包围盒内时,修正 LightShadowAdapter 中的阴影盒计算
  • 修复(addons):修正 TransformControls 中相机处于极端位置时的轴平面位置计算错误
  • 重构(addons):将 LightShadowAdapter.bindBoxBox3 改为 OBB
  • 重构(addons):移除 TimerClock 中对 Date.now() 的兼容性回退
  • 特性(examples):添加 material_shader_volume_layered 示例
  • 特性(examples):在 geometry_geometries 中添加 TorusBuilder
  • 重构(examples):清理代码

Changelog

  • feat: add userData property to TextureBase
  • feat: add vertical fade support to DirectionalLightShadow.frustumEdgeFalloff
  • feat: add isIdentity method to Matrix3
  • feat: add asyncReadPixel option to Renderer
  • feat: add lerp method to MathUtils
  • fix: resolve missing triangles issue with multiple height segments in CylinderGeometry
  • fix: remove collinear triangles in CylinderGeometry when one cap radius is zero
  • perf: enable camera culling during DirectionalLightShadow rendering
  • refactor: synchronize shadow camera orientation with light source
  • refactor: optimize getPointShadow method
  • docs: add descriptive comment for Geometry.instanceCount
  • feat(addons): add OBB
  • feat(addons): add support for KHR_animation_pointer in GLTFLoader
  • feat(addons): add mimeType information to textures in GLTFLoader
  • feat(addons): add GLTFExporter
  • feat(addons): add support for GLTF_SEPARATE format in GLTFExporter
  • feat(addons): add instancing and light extensions to GLTFExporter
  • feat(addons): add draco option to GLTFExporter
  • feat(addons): add DRACOExporter
  • feat(addons): introduce LightShadowAdapter
  • feat(addons): add InstancedMaterial.js
  • feat(addons): introduce AttenuationMaterial
  • feat(addons): introduce LatheBuilder
  • fix(addons): correct dispose methods for HeatmapGenerator and IDWMapGenerator
  • fix(addons): correct shadow box calculation in LightShadowAdapter when camera is inside Box
  • fix(addons): correct axis plane position calculation bug in TransformControls when the camera is in extreme positions
  • refactor(addons): change LightShadowAdapter.bindBox from Box3 to OBB
  • refactor(addons): drop fallback to Date.now() in Timer and Clock
  • feat(examples): add material_shader_volume_layered example
  • feat(examples): add TorusBuilder in geometry_geometries
  • refactor(examples): cleanup

Full Changelog: v0.3.0...v0.3.1