@rings-webgpu/core 1.0.34 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37773,6 +37773,7 @@ class LitMaterial extends Material {
37773
37773
 
37774
37774
  class OBJParser extends ParserBase {
37775
37775
  static format = ParserFormat.TEXT;
37776
+ static cloudImageProcessParam = "";
37776
37777
  textData = "";
37777
37778
  source_vertices;
37778
37779
  source_normals;
@@ -37939,7 +37940,7 @@ class OBJParser extends ParserBase {
37939
37940
  const texUrl = StringUtil.normalizePath(
37940
37941
  this.baseUrl + mat2.textures[i]
37941
37942
  );
37942
- promiseList.push(Engine3D.res.loadTexture(texUrl).catch(
37943
+ promiseList.push(Engine3D.res.loadTexture(texUrl + OBJParser.cloudImageProcessParam).catch(
37943
37944
  (error) => {
37944
37945
  console.error(`Failed to load texture: ${texUrl}`, error);
37945
37946
  return null;
@@ -38232,7 +38233,7 @@ class OBJParser extends ParserBase {
38232
38233
  const texturePath = StringUtil.normalizePath(
38233
38234
  this.baseUrl + matData.map_Kd
38234
38235
  );
38235
- const texture = Engine3D.res.getTexture(texturePath);
38236
+ const texture = Engine3D.res.getTexture(texturePath + OBJParser.cloudImageProcessParam);
38236
38237
  if (texture) {
38237
38238
  mat.baseMap = texture;
38238
38239
  }
@@ -42146,7 +42147,7 @@ class PostProcessingComponent extends ComponentBase {
42146
42147
  }
42147
42148
  }
42148
42149
 
42149
- const version = "1.0.33";
42150
+ const version = "1.0.35";
42150
42151
 
42151
42152
  class Engine3D {
42152
42153
  /**
@@ -61854,6 +61855,7 @@ class LASParser extends ParserBase {
61854
61855
 
61855
61856
  class PlyParser extends ParserBase {
61856
61857
  static format = ParserFormat.BIN;
61858
+ static cloudImageProcessParam = "";
61857
61859
  async parseBuffer(buffer) {
61858
61860
  const header = parsePlyHeader(buffer);
61859
61861
  switch (header.mode) {
@@ -61924,7 +61926,7 @@ class PlyParser extends ParserBase {
61924
61926
  const texturePath = StringUtil.normalizePath(
61925
61927
  this.baseUrl + plyData.textureFiles[texnum]
61926
61928
  );
61927
- promiseList.push(Engine3D.res.loadTexture(texturePath).then((texture) => {
61929
+ promiseList.push(Engine3D.res.loadTexture(texturePath + PlyParser.cloudImageProcessParam).then((texture) => {
61928
61930
  material.baseMap = texture;
61929
61931
  materials.set(texnum, material);
61930
61932
  }));