Releases: uinosoft/t3d.js
Releases · uinosoft/t3d.js
v0.2.6
变更日志
- 特性:
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 toMatrix4
- 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 deprecatePMREM
- 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
withcamera_projection
example - refactor(examples): move deferred rendering examples to
renderer
category
Full Changelog: v0.2.5...v0.2.6
v0.2.5
变更日志
- 特性:新增
RectAreaLight
- 特性:shader报错信息添加shader名称
- 特性:Vector2新增
negate
和dot
方法 - 修复:修复
RectAreaLight
的更新bug - 修复:修复skeleton的更新bug
- 特性(addons):为
EdgesBuilder.getGeometryData
新增stride
和offset
参数 - 特性(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
anddot
methods to Vector2 - fix: rectify bug in
RectAreaLight
- fix: skeleton update bug
- feat(addons): add
stride
andoffset
parameters toEdgesBuilder.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
变更日志
- 特性:支持整型数据类型的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
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
[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.