Skip to content

Releases: uinosoft/t3d.js

v0.2.6

22 May 03:55
Compare
Choose a tag to compare

变更日志

  • 特性:Matrix4新增lerpMatrices方法
  • 特性:支持顶点着色器中的自定义扩展语句
  • 特性:新增RenderTarget3D
  • 修复:修复聚光灯阴影bug
  • 性能:ShaderPostPass使用全屏三角面代替矩形面
  • 重构:为AnimationClip构造函数中的name参数添加默认值
  • 性能(addons):优化GLTFLoader中的正则性能
  • 重构(addons):优化DynamicFont
  • 重构(addons):新增PMREMGenerator并且废弃PMREM
  • 重构(addons):移除raycaster.setFromCamera方法中的相机类型参数
  • 特性(示例):新增webgl_clipculldistance示例
  • 特性(示例):新增clustered lighting示例
  • 重构(示例):替换material_texture_bumpmap中的AssimpJson模型为glTF
  • 重构(示例):替换camera_cameras示例为camera_projection
  • 重构(示例):移动延迟渲染示例到renderer分类

Changelog

  • feat: add lerpMatrices method to Matrix4
  • feat: add support for custom extensions in vertex shader
  • feat: add RenderTarget3D
  • fix: spot light shadow bug
  • perf: replace fullscreen quad with fullscreen triangle in ShaderPostPass
  • refactor: add remaining default constructor parameters to AnimationClip
  • perf(addons): optimize regular expression matching rules in GLTFLoader
  • refactor(addons): optimize DynamicFont
  • refactor(addons): add PMREMGenerator and deprecate PMREM
  • refactor(addons): remove camera type parameter from raycaster.setFromCamera method
  • feat(examples): add webgl_clipculldistance example
  • feat(examples): add clustered lighting example
  • refactor(examples): replace AssimpJson with glTF model in material_texture_bumpmap
  • refactor(examples): replace camera_cameras with camera_projection example
  • refactor(examples): move deferred rendering examples to renderer category

Full Changelog: v0.2.5...v0.2.6

v0.2.5

21 Mar 15:03
Compare
Choose a tag to compare

变更日志

  • 特性:新增RectAreaLight
  • 特性:shader报错信息添加shader名称
  • 特性:Vector2新增negatedot方法
  • 修复:修复RectAreaLight的更新bug
  • 修复:修复skeleton的更新bug
  • 特性(addons):为EdgesBuilder.getGeometryData新增strideoffset参数
  • 特性(addons):为SkyBox增加雾效过渡功能
  • 特性(addons):为SDFTextShader新增阴影和描边功能
  • 修复(addons):修复VirtualGroup计算pivot的bug
  • 特性(示例):新增text_bitmap_dynamic示例
  • 特性(示例):新增material_texture_lightmap示例
  • 特性(示例):新增text_sdf_dynamic示例
  • 重构(示例):美化material_shader_water_pbr示例

Changelog

  • feat: add RectAreaLight
  • feat: add name to the shader error log
  • feat: add negate and dot methods to Vector2
  • fix: rectify bug in RectAreaLight
  • fix: skeleton update bug
  • feat(addons): add stride and offset parameters to EdgesBuilder.getGeometryData
  • feat(addons): add fog support to SkyBox
  • feat(addons): add support for shadow and outline to SDFTextShader
  • fix(addons): VirtualGroup get pivot bug
  • feat(examples): add text_bitmap_dynamic example
  • feat(examples): add material_texture_lightmap example
  • feat(examples): add text_sdf_dynamic example
  • refactor(examples): beautify material_shader_water_pbr example

Full Changelog: v0.2.4...v0.2.5

v0.2.4

21 Feb 09:13
Compare
Choose a tag to compare

变更日志

  • 特性:支持整型数据类型的attribute
  • 特性:支持整型数据类型的Texture在shader中的采样
  • 重构:为renderer.readRenderTargetPixels添加统一的promise返回
  • 特性(addons):新增ViewControls
  • 特性(addons):ExtrudeShapeBuilder 支持沿曲线挤出
  • 修复(addons):修复InfiniteGridShader
  • 修复(addons):修复TransformControls的颜色空间
  • 特性(示例):新增曲线运动示例
  • 特性(示例):新增3D直方图示例
  • 重构(示例):在ik示例中使用TransformControls
  • 构建:新增 .vscode/extensions

Changelog

  • feat: support integer attributes
  • feat: support sampling of integer textures in shader
  • refactor: add promise return for renderer.readRenderTargetPixels
  • feat(addons): add ViewControls
  • feat(addons): supports extrusion along path for ExtrudeShapeBuilder (#22)
  • fix(addons): InfiniteGridShader
  • fix(addons): fix gizmo colors for TransformControls
  • feat(examples): add curve motion example
  • feat(examples): add histogram example
  • refactor(examples): use TransformControls in ik example
  • build: add .vscode/extensions

Full Changelog: v0.2.3...v0.2.4

v0.2.3

21 Dec 07:48
Compare
Choose a tag to compare

Changelog

  • feat: support webgl multi draw
  • feat: add MIN and MAX for BLEND_EQUATION
  • feat: add keyframe interpolants
  • refactor: add warning to WebGLRenderer if beginRender is not called before renderRenderableItem
  • feat(examples): add planar shadow example
  • feat(examples): add webgl_mesh_batch example
  • feat(examples): add geometry images example
  • feat(examples): add ground projected skybox example
  • feat(examples): add bitmap text example
  • feat(examples): add oit example
  • refactor(examples): moved camera controls examples to controls category
  • refactor(examples): update transform controls example
  • feat(addons): add ColorGradient
  • feat(addons): add TransformControls
  • feat(addons): add SceneUtils
  • feat(addons): add snapping for transform controls
  • feat(addons): add InstancedBasicMaterial
  • fix(addons): fix bug in octree.addElement
  • fix(addons): fix picking for TransformControls
  • refactor(addons): avoid duplicate assignments in Pathfinding
  • refactor(addons): make octree more versatile
  • refactor(addons): optimize SkeletonHelper
  • fix(docs): add return type

v0.2.0

15 Aug 07:57
Compare
Choose a tag to compare

[Breaking Changes]

  • WebGLRenderPass -> WebGLRenderer.
  • WebGLRenderer: add beginRender() and endRender() methods. If you are using renderScene() method, they are already called internally.
  • WebGLRenderer: rename renderer.gl to renderer.context.
  • Refactor WebGLProperties to PropertyMap. The key value of webgl resource obtained from the object is changed to _gl{id}$.

[Other Changes]

  • Material: add forceUpdateUniforms property.
  • FileLoader: optimize progress event.
  • WebGLRenderPass: export the init method to handle contextlost.
  • WebGLRenderPass: add shaderCompileOptions.
  • Examples: Add unrealbloom example.
  • Remove long-deprecated code.
  • GLTFLoader: Remove the unique processing of node names.