From 36877b49765ce6aa5ca788ad81e0268cb5f03f10 Mon Sep 17 00:00:00 2001 From: knoxHuang Date: Wed, 25 Dec 2024 17:19:48 +0800 Subject: [PATCH 1/3] Fix the issue of mismatched glTF texture minification filters with the Cocos Creator reference table --- versions/3.0/en/asset/model/glTF.md | 14 +++++++------- versions/3.0/zh/asset/model/glTF.md | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/versions/3.0/en/asset/model/glTF.md b/versions/3.0/en/asset/model/glTF.md index be4a8cc17e..b64393e518 100644 --- a/versions/3.0/en/asset/model/glTF.md +++ b/versions/3.0/en/asset/model/glTF.md @@ -138,13 +138,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.0/zh/asset/model/glTF.md b/versions/3.0/zh/asset/model/glTF.md index 19a673d54b..f232b785a5 100644 --- a/versions/3.0/zh/asset/model/glTF.md +++ b/versions/3.0/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: From 5c5ef1d5a99d1446c8692db5b6c84ec843364019 Mon Sep 17 00:00:00 2001 From: knoxHuang Date: Wed, 25 Dec 2024 17:38:32 +0800 Subject: [PATCH 2/3] refine docs --- versions/3.1/en/asset/model/glTF.md | 14 +++++++------- versions/3.1/zh/asset/model/glTF.md | 8 ++++---- versions/3.2/en/asset/model/glTF.md | 14 +++++++------- versions/3.2/zh/asset/model/glTF.md | 8 ++++---- versions/3.3/en/asset/model/glTF.md | 14 +++++++------- versions/3.3/zh/asset/model/glTF.md | 8 ++++---- versions/3.4/en/asset/model/glTF.md | 14 +++++++------- versions/3.4/zh/asset/model/glTF.md | 8 ++++---- versions/3.5/en/asset/model/glTF.md | 14 +++++++------- versions/3.5/zh/asset/model/glTF.md | 8 ++++---- versions/3.6/en/asset/model/glTF.md | 14 +++++++------- versions/3.6/zh/asset/model/glTF.md | 8 ++++---- versions/3.7/en/asset/model/glTF.md | 14 +++++++------- versions/3.7/zh/asset/model/glTF.md | 8 ++++---- 14 files changed, 77 insertions(+), 77 deletions(-) diff --git a/versions/3.1/en/asset/model/glTF.md b/versions/3.1/en/asset/model/glTF.md index be4a8cc17e..b64393e518 100644 --- a/versions/3.1/en/asset/model/glTF.md +++ b/versions/3.1/en/asset/model/glTF.md @@ -138,13 +138,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.1/zh/asset/model/glTF.md b/versions/3.1/zh/asset/model/glTF.md index 19a673d54b..f232b785a5 100644 --- a/versions/3.1/zh/asset/model/glTF.md +++ b/versions/3.1/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.2/en/asset/model/glTF.md b/versions/3.2/en/asset/model/glTF.md index be4a8cc17e..b64393e518 100644 --- a/versions/3.2/en/asset/model/glTF.md +++ b/versions/3.2/en/asset/model/glTF.md @@ -138,13 +138,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.2/zh/asset/model/glTF.md b/versions/3.2/zh/asset/model/glTF.md index 19a673d54b..f232b785a5 100644 --- a/versions/3.2/zh/asset/model/glTF.md +++ b/versions/3.2/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.3/en/asset/model/glTF.md b/versions/3.3/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.3/en/asset/model/glTF.md +++ b/versions/3.3/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.3/zh/asset/model/glTF.md b/versions/3.3/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.3/zh/asset/model/glTF.md +++ b/versions/3.3/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.4/en/asset/model/glTF.md b/versions/3.4/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.4/en/asset/model/glTF.md +++ b/versions/3.4/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.4/zh/asset/model/glTF.md b/versions/3.4/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.4/zh/asset/model/glTF.md +++ b/versions/3.4/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.5/en/asset/model/glTF.md b/versions/3.5/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.5/en/asset/model/glTF.md +++ b/versions/3.5/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.5/zh/asset/model/glTF.md b/versions/3.5/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.5/zh/asset/model/glTF.md +++ b/versions/3.5/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.6/en/asset/model/glTF.md b/versions/3.6/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.6/en/asset/model/glTF.md +++ b/versions/3.6/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.6/zh/asset/model/glTF.md b/versions/3.6/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.6/zh/asset/model/glTF.md +++ b/versions/3.6/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: diff --git a/versions/3.7/en/asset/model/glTF.md b/versions/3.7/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.7/en/asset/model/glTF.md +++ b/versions/3.7/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.7/zh/asset/model/glTF.md b/versions/3.7/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.7/zh/asset/model/glTF.md +++ b/versions/3.7/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: From 94b6424baec1c8bd5f1548700b4df84b0bad538a Mon Sep 17 00:00:00 2001 From: knoxHuang Date: Wed, 25 Dec 2024 17:39:27 +0800 Subject: [PATCH 3/3] refine docs --- versions/3.8/en/asset/model/glTF.md | 14 +++++++------- versions/3.8/zh/asset/model/glTF.md | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/versions/3.8/en/asset/model/glTF.md b/versions/3.8/en/asset/model/glTF.md index a80e880ad3..2a41a86212 100644 --- a/versions/3.8/en/asset/model/glTF.md +++ b/versions/3.8/en/asset/model/glTF.md @@ -136,13 +136,13 @@ The glTF texture magnification filter will be converted to the Cocos Creator tex The glTF Texture Minification Filter will be converted to Cocos Creator Texture Minification Filter and Cocos Creator Texture Mip Map Filter according to the texture relationships in the following table: | glTF Texture Minification Filter | Cocos Creator Texture Minification Filter | Cocos Creator Mip Map Filter | -|:------------------------ | :--------------------------- | :-------------------------------- | -| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | -| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +|:------------------------ | :---------------------------- | :----------------------------- | +| `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | +| `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF Texture Wrap mode will be converted to Cocos Creator Texture Wrap mode according to the texture in the following table: diff --git a/versions/3.8/zh/asset/model/glTF.md b/versions/3.8/zh/asset/model/glTF.md index be49c9cd22..9effd67b99 100644 --- a/versions/3.8/zh/asset/model/glTF.md +++ b/versions/3.8/zh/asset/model/glTF.md @@ -138,11 +138,11 @@ glTF 贴图缩小筛选器将按照下表中的映射关系转换为 Cocos Creat | glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器 | |:------------------------ | :--------------------------- | :-------------------------------- | | `NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | -| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | -| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR_MIPMAP_LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `LINEAR_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NEAREST` | +| `LINEAR` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.NONE` | | `NEAREST_MIPMAP_LINEAR` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.LINEAR` | -| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.LINEAR` | `TextureBase.Filter.LINEAR` | +| `NEAREST_MIPMAP_NEAREST` | `TextureBase.Filter.NEAREST` | `TextureBase.Filter.NEAREST` | glTF 贴图环绕模式将按照下表中的映射关系转换为 Cocos Creator 贴图环绕模式: