@xeokit/xeokit-sdk 2.4.0-beta-1 → 2.4.0-beta-2
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.
- package/dist/xeokit-sdk.cjs.js +12 -12
- package/dist/xeokit-sdk.es.js +12 -12
- package/dist/xeokit-sdk.es5.js +20 -8
- package/dist/xeokit-sdk.min.cjs.js +2 -2
- package/dist/xeokit-sdk.min.es.js +2 -2
- package/dist/xeokit-sdk.min.es5.js +2 -2
- package/package.json +1 -1
- package/src/viewer/scene/model/SceneModel.js +11 -11
- package/src/viewer/scene/model/vbo/trianglesInstancing/TrianglesInstancingLayer.js +1 -1
package/package.json
CHANGED
|
@@ -2946,7 +2946,7 @@ export class SceneModel extends Component {
|
|
|
2946
2946
|
return dtxLayer;
|
|
2947
2947
|
}
|
|
2948
2948
|
}
|
|
2949
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesDataTextureLayer`);
|
|
2949
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesDataTextureLayer`);
|
|
2950
2950
|
dtxLayer = new TrianglesDataTextureLayer(this, {layerIndex: 0, origin}); // layerIndex is set in #finalize()
|
|
2951
2951
|
this._dtxLayers[layerId] = dtxLayer;
|
|
2952
2952
|
this.layerList.push(dtxLayer);
|
|
@@ -2969,7 +2969,7 @@ export class SceneModel extends Component {
|
|
|
2969
2969
|
while (!vboBatchingLayer) {
|
|
2970
2970
|
switch (cfg.primitive) {
|
|
2971
2971
|
case "triangles":
|
|
2972
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
2972
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
2973
2973
|
vboBatchingLayer = new TrianglesBatchingLayer({
|
|
2974
2974
|
model,
|
|
2975
2975
|
textureSet,
|
|
@@ -2984,7 +2984,7 @@ export class SceneModel extends Component {
|
|
|
2984
2984
|
});
|
|
2985
2985
|
break;
|
|
2986
2986
|
case "solid":
|
|
2987
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
2987
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
2988
2988
|
vboBatchingLayer = new TrianglesBatchingLayer({
|
|
2989
2989
|
model,
|
|
2990
2990
|
textureSet,
|
|
@@ -2999,7 +2999,7 @@ export class SceneModel extends Component {
|
|
|
2999
2999
|
});
|
|
3000
3000
|
break;
|
|
3001
3001
|
case "surface":
|
|
3002
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
3002
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesBatchingLayer`);
|
|
3003
3003
|
vboBatchingLayer = new TrianglesBatchingLayer({
|
|
3004
3004
|
model,
|
|
3005
3005
|
textureSet,
|
|
@@ -3014,7 +3014,7 @@ export class SceneModel extends Component {
|
|
|
3014
3014
|
});
|
|
3015
3015
|
break;
|
|
3016
3016
|
case "lines":
|
|
3017
|
-
console.info(`[SceneModel ${this.id}]: creating LinesBatchingLayer`);
|
|
3017
|
+
// console.info(`[SceneModel ${this.id}]: creating LinesBatchingLayer`);
|
|
3018
3018
|
vboBatchingLayer = new LinesBatchingLayer({
|
|
3019
3019
|
model,
|
|
3020
3020
|
layerIndex: 0, // This is set in #finalize()
|
|
@@ -3026,7 +3026,7 @@ export class SceneModel extends Component {
|
|
|
3026
3026
|
});
|
|
3027
3027
|
break;
|
|
3028
3028
|
case "points":
|
|
3029
|
-
console.info(`[SceneModel ${this.id}]: creating PointsBatchingLayer`);
|
|
3029
|
+
// console.info(`[SceneModel ${this.id}]: creating PointsBatchingLayer`);
|
|
3030
3030
|
vboBatchingLayer = new PointsBatchingLayer({
|
|
3031
3031
|
model,
|
|
3032
3032
|
layerIndex: 0, // This is set in #finalize()
|
|
@@ -3080,7 +3080,7 @@ export class SceneModel extends Component {
|
|
|
3080
3080
|
while (!vboInstancingLayer) {
|
|
3081
3081
|
switch (geometry.primitive) {
|
|
3082
3082
|
case "triangles":
|
|
3083
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3083
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3084
3084
|
vboInstancingLayer = new TrianglesInstancingLayer({
|
|
3085
3085
|
model,
|
|
3086
3086
|
textureSet,
|
|
@@ -3091,7 +3091,7 @@ export class SceneModel extends Component {
|
|
|
3091
3091
|
});
|
|
3092
3092
|
break;
|
|
3093
3093
|
case "solid":
|
|
3094
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3094
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3095
3095
|
vboInstancingLayer = new TrianglesInstancingLayer({
|
|
3096
3096
|
model,
|
|
3097
3097
|
textureSet,
|
|
@@ -3102,7 +3102,7 @@ export class SceneModel extends Component {
|
|
|
3102
3102
|
});
|
|
3103
3103
|
break;
|
|
3104
3104
|
case "surface":
|
|
3105
|
-
console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3105
|
+
// console.info(`[SceneModel ${this.id}]: creating TrianglesInstancingLayer`);
|
|
3106
3106
|
vboInstancingLayer = new TrianglesInstancingLayer({
|
|
3107
3107
|
model,
|
|
3108
3108
|
textureSet,
|
|
@@ -3113,7 +3113,7 @@ export class SceneModel extends Component {
|
|
|
3113
3113
|
});
|
|
3114
3114
|
break;
|
|
3115
3115
|
case "lines":
|
|
3116
|
-
console.info(`[SceneModel ${this.id}]: creating LinesInstancingLayer`);
|
|
3116
|
+
// console.info(`[SceneModel ${this.id}]: creating LinesInstancingLayer`);
|
|
3117
3117
|
vboInstancingLayer = new LinesInstancingLayer({
|
|
3118
3118
|
model,
|
|
3119
3119
|
textureSet,
|
|
@@ -3123,7 +3123,7 @@ export class SceneModel extends Component {
|
|
|
3123
3123
|
});
|
|
3124
3124
|
break;
|
|
3125
3125
|
case "points":
|
|
3126
|
-
console.info(`[SceneModel ${this.id}]: creating PointsInstancingLayer`);
|
|
3126
|
+
// console.info(`[SceneModel ${this.id}]: creating PointsInstancingLayer`);
|
|
3127
3127
|
vboInstancingLayer = new PointsInstancingLayer({
|
|
3128
3128
|
model,
|
|
3129
3129
|
textureSet,
|