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.37 to 1.0.38

0

assets/EditorControls.js

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

49

default.js
import * as THREE from 'star_mod_custom_three';
export const RENDER_MODE_EDIT = 'edit';
export const RENDER_MODE_PREVIEW = 'preview';
export const MODEL_RANK_MAIN = 'main';
export const MODEL_RANK_SUPPORT = 'support';
export const MODEL_RANK_COMBINATION = 'combination';
export const RENDER_PLATFORM_PC = 'pc';
export const RENDER_PLATFORM_MOBILE = 'mobile'
export const GRID_SIZE_MAP = {

@@ -63,8 +73,8 @@ '1': {

domesticPath: {
nx: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621848-dark-s_nx.jpg',
ny: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621866-dark-s_ny.jpg',
nz: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621875-dark-s_nz.jpg',
px: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621887-dark-s_px.jpg',
py: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621896-dark-s_py.jpg',
pz: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621905-dark-s_pz.jpg'
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'
},

@@ -83,8 +93,8 @@ abroadPath: {

domesticPath: {
nx: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621848-dark-s_nx.jpg',
ny: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621866-dark-s_ny.jpg',
nz: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621875-dark-s_nz.jpg',
px: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621887-dark-s_px.jpg',
py: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621896-dark-s_py.jpg',
pz: 'https://westar-cdn-source-1258344700.cos.ap-nanjing.myqcloud.com/mod/modPicture/366054930261217241/1671621905-dark-s_pz.jpg'
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'
},

@@ -100,17 +110,2 @@ abroadPath: {

},
// dreamland: {
// name: 'dreamland',
// domesticPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829260_20230615-164749.jpg',
// abroadPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829260_20230615-164749.jpg'
// },
// sky: {
// name: 'sky',
// domesticPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829171_20230615-164800.jpg',
// abroadPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829171_20230615-164800.jpg'
// },
// dusk: {
// name: 'dusk',
// domesticPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829290_20230615-164803.jpg',
// abroadPath: 'https://mod-img.westar.qq.com/mod/modOfficial/1686829290_20230615-164803.jpg'
// }
}

@@ -117,0 +112,0 @@

export * from './diff';
export * from './loader';
{
"name": "star_mod_renderer",
"version": "1.0.37",
"version": "1.0.38",
"description": "star mod project render auxiliary ",

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

@@ -177,8 +177,3 @@ import * as THREE from "star_mod_custom_three";

setSceneEnvironment(environment) {
console.log('environment is :', environment);
if (environment) {
// const crt = new THREE.WebGLCubeRenderTarget(environment.image.height);
// crt.fromEquirectangularTexture(this.renderer, environment);
// this.scene.background = crt.texture;
// this.scene.environment = crt.texture;
this.scene.background = environment;

@@ -185,0 +180,0 @@ this.scene.environment = environment;

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