Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

star_mod_renderer

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

star_mod_renderer - npm Package Compare versions

Comparing version 1.0.53 to 1.0.54

0

assets/EditorControls.js

@@ -0,0 +0,0 @@ import * as THREE from 'star_mod_custom_three';

36

default.js

@@ -54,8 +54,8 @@ import * as THREE from 'star_mod_custom_three';

domesticPath: {
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343648_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343609_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343665_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343675_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343685_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692343696_pz.png'
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697004_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697016_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697025_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697034_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697202_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697697134_pz.png'
},

@@ -74,8 +74,8 @@ abroadPath: {

domesticPath: {
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351217_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351223_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351245_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351256_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351269_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351281_pz.png'
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698087_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698140_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698133_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698123_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698117_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697698109_pz.png'
},

@@ -94,8 +94,8 @@ abroadPath: {

domesticPath: {
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351300_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351313_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351324_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351337_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351355_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1692351359_pz.png'
nx: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705026_nx.png',
ny: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705037_ny.png',
nz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705044_nz.png',
px: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705053_px.png',
py: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705060_py.png',
pz: 'https://mod-img.westar.qq.com/mod/modOfficial/1697705070_pz.png'
},

@@ -102,0 +102,0 @@ abroadPath: {

@@ -0,0 +0,0 @@ import { FBXLoader } from "./FBXLoader";

@@ -0,0 +0,0 @@ import { FBXLoader } from "./FBXLoader";

@@ -0,0 +0,0 @@ import * as THREE from 'star_mod_custom_three';

@@ -0,0 +0,0 @@ import * as THREE from 'star_mod_custom_three';

{
"name": "star_mod_renderer",
"version": "1.0.53",
"version": "1.0.54",
"description": "star mod project render auxiliary",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -241,9 +241,8 @@ /**

initSelectionBox() {
if (this.options.isShowSelectionBox) {
this.box = new THREE.Box3();
this.selectionBox = new THREE.Box3Helper(this.box);
this.selectionBox.material.depthTest = false;
this.selectionBox.material.transparent = true;
this.scene.add(this.selectionBox);
}
this.box = new THREE.Box3();
this.selectionBox = new THREE.Box3Helper(this.box);
this.selectionBox.material.depthTest = false;
this.selectionBox.material.transparent = true;
this.scene.add(this.selectionBox);
this.selectionBox.visible = this.isShowSelectionBox;
}

@@ -495,2 +494,5 @@

setPreviewData(previewData) {
if (!previewData) {
return;
}
if (previewData.cameraPosition) {

@@ -497,0 +499,0 @@ this.camera.position.set(

@@ -144,2 +144,15 @@ /**

// 设置独立模型展示
async setAloneModelRender(url) {
this.mainModels.forEach(item => {
this.removeModel(item.getModel());
});
this.mainModels = [];
const modelAuxiliary = new MainModelAuxiliary(url);
const modelOriginalData = await modelAuxiliary.loadModel();
const modelRender = new ModelProcessor(modelOriginalData);
this.mainModels.push(modelRender);
}
/**

@@ -146,0 +159,0 @@ * 1. 模型需要主动传入,因为有加密和非加密的情况,需要在外面获取后加载后传入

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc