star_mod_renderer
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -1,2 +0,2 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
@@ -3,0 +3,0 @@ class EditorControls extends THREE.EventDispatcher { |
@@ -1,2 +0,2 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
@@ -3,0 +3,0 @@ export const GRID_SIZE_MAP = { |
@@ -5,3 +5,3 @@ import { | ||
Vector4 | ||
} from 'star_mod_custom_three'; | ||
} from 'three'; | ||
import * as NURBSUtils from './NURBSUtils.js'; | ||
@@ -8,0 +8,0 @@ |
import { | ||
Vector3, | ||
Vector4 | ||
} from 'star_mod_custom_three'; | ||
} from 'three'; | ||
@@ -6,0 +6,0 @@ /** |
import { FBXLoader } from "./FBXLoader"; | ||
import { TGALoader } from "./TGALoader"; | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
const ClampToEdgeWrapping = 1001; | ||
@@ -5,0 +5,0 @@ const LinearFilter = 1006; |
@@ -6,3 +6,3 @@ /* eslint-disable no-fallthrough */ | ||
LinearMipmapLinearFilter | ||
} from 'star_mod_custom_three'; | ||
} from 'three'; | ||
@@ -9,0 +9,0 @@ class TGALoader extends DataTextureLoader { |
@@ -1,2 +0,2 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
import { | ||
@@ -120,3 +120,3 @@ getSceneCoordinateByModel, | ||
const material = new THREE.MeshStandardMaterial(); | ||
material.normalScale = new THREE.Vector2(1.2, 1.2); | ||
material.aoMapIntensity = 0; | ||
@@ -162,3 +162,2 @@ return material; | ||
updateModelMaterialParam(channel, param) { | ||
console.log('param is :', param); | ||
this.model.traverse((child) => { | ||
@@ -165,0 +164,0 @@ if (child.material) { |
@@ -1,2 +0,2 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
@@ -3,0 +3,0 @@ declare const SCENE_BACKGROUND_COLOR: string; |
{ | ||
"name": "star_mod_renderer", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "star mod project render auxiliary ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,6 +0,6 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
import { Signal } from './assets/signals.min.js'; | ||
import { EditorControls } from './assets/EditorControls.js'; | ||
import { TransformControls } from 'star_mod_custom_three/examples/jsm/controls/TransformControls.js'; | ||
import { ViewHelper } from 'star_mod_custom_three/examples/jsm/helpers/ViewHelper.js'; | ||
import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js'; | ||
import { ViewHelper } from 'three/examples/jsm/helpers/ViewHelper.js'; | ||
import { SCENE_BACKGROUND_COLOR, AMBIENT_LIGHT_COLOR, DIRECTION_LIGHT_COLOR, DIRECTION_LIGHT_INTENSITY, AMBIENT_LIGHT_INTENSITY } from './default.js'; | ||
@@ -174,3 +174,2 @@ | ||
} | ||
console.log('this.scene is :', this.scene); | ||
this.update(); | ||
@@ -200,2 +199,3 @@ } | ||
this.hemisphereLight.color.set(color); | ||
this.hemisphereLight.groundColor.set(color); | ||
} | ||
@@ -205,2 +205,3 @@ | ||
this.ambientLight.intensity = intensity; | ||
this.hemisphereLight.intensity = intensity; | ||
} | ||
@@ -207,0 +208,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import * as THREE from 'star_mod_custom_three'; | ||
import * as THREE from 'three'; | ||
import TgaLoader from "tga-js"; | ||
@@ -3,0 +3,0 @@ import { RenderBase } from './render.base'; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271035
23
7424