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

fozmo-3d-preview

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fozmo-3d-preview - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

26

lib/Fozmo3DPreview.d.ts
import { ENV } from './framework/defines/HHGameTypes';
/**
* 色调映射枚举值
*/
export declare enum EToneMapping {
None = "None",
Linear = "Linear",
Reinhard = "Reinhard",
Cineon = "Cineon",
ACESFilmic = "ACESFilmic",
AgX = "AgX",
Neutral = "Neutral",
Custom = "Custom"
}
/**
* 渲染参数配置
*/
export interface RenderParam {
/**
* 曝光值
* @default 1.0
*/
exposure: number;
}
/**
* 启动参数配置
*/
export interface LaunchConfig {

@@ -3,0 +29,0 @@ /**

import { SpaceManager } from './manager/SpaceManager';
import { LaunchSpace } from './root';
/**
* 色调映射枚举值
*/
export var EToneMapping;
(function (EToneMapping) {
EToneMapping["None"] = "None";
EToneMapping["Linear"] = "Linear";
EToneMapping["Reinhard"] = "Reinhard";
EToneMapping["Cineon"] = "Cineon";
EToneMapping["ACESFilmic"] = "ACESFilmic";
EToneMapping["AgX"] = "AgX";
EToneMapping["Neutral"] = "Neutral";
EToneMapping["Custom"] = "Custom";
})(EToneMapping || (EToneMapping = {}));
export class Fozmo3DPreview {

@@ -4,0 +18,0 @@ /**

8

lib/scenes/MainScene.js

@@ -77,3 +77,3 @@ import { EEncryptExt, ENormalExt, ResLoaderManager } from './../manager/ResLoaderManager';

bloomExposure: 1,
HDR: '蓝天',
HDR: 'https://f.fozmoly.com/WebAssets/HDR/T_HDR_01.HDR',
// HemisphereLight

@@ -108,5 +108,5 @@ HLEnable: true,

'Presetpro-Cinematic.3dl': null,
NeutralLUT: null,
'NeutralLUT': null,
'B&WLUT': null,
NightLUT: null,
'NightLUT': null,
};

@@ -133,3 +133,3 @@ export class MainScene extends BaseScene {

/* tslint:disable:no-string-literal */
await this.loadHDR(CSkyPresets['蓝天']);
await this.loadHDR(params.HDR);
await this.loadModel(url);

@@ -136,0 +136,0 @@ const orbitControls = new CameraControls(this.camera, this.renderer.domElement);

{
"name": "fozmo-3d-preview",
"version": "1.0.03",
"version": "1.0.04",
"description": "风之末 作品预览",

@@ -38,3 +38,2 @@ "main": "lib/Fozmo3DPreview.js",

"@types/uuid": "^9.0.8",
"dat.gui": "^0.7.9",
"prettier": "^3.3.2",

@@ -53,4 +52,5 @@ "tslint": "^6.1.3",

"troika-three-text": "^0.49.1",
"dat.gui": "^0.7.9",
"uuid": "^9.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