x3d-image 2.4.1 → 2.4.3
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/README.md +1 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,17 +14,7 @@ You can run *x3d-image* without installing it using **npx**:
|
|
|
14
14
|
|
|
15
15
|
## Overview
|
|
16
16
|
|
|
17
|
-
*x3d-image* is a command-line tool, based on [X_ITE](https://create3000.github.io/x_ite/), that renders image files from X3D (Extensible 3D) and other 3D file formats. It allows users to convert 3D scenes into 2D images, supporting various input formats
|
|
18
|
-
|
|
19
|
-
Key Features:
|
|
20
|
-
|
|
21
|
-
* Run *x3d-image* with `npx x3d-image ...` directly from npm without installing it.
|
|
22
|
-
* Flexible Input and Output: Accepts multiple input files, either from local paths or URLs, and produces corresponding image outputs.
|
|
23
|
-
* Customizable Image Dimensions: Allows specification of image size with the -s WIDTHxHEIGHT option; the default size is 1280x720 pixels.
|
|
24
|
-
* Adjustable Quality Settings: For lossy formats like JPEG, users can set the desired quality level using the -q option, with values ranging between 0 and 1.
|
|
25
|
-
* Rendering Delay: Provides an option to delay rendering by a specified number of seconds using the -d option.
|
|
26
|
-
* View Adjustment: The -a option modifies the current view to ensure all objects fit within the view volume.
|
|
27
|
-
* Environmental Lighting: Users can add an EnvironmentLight node to the scene with the -e option, choosing from presets like "CANNON", "HELIPAD", or "FOOTPRINT" which is particularly useful when rendering glTF files with PhysicalMaterial nodes.
|
|
17
|
+
*x3d-image* is a command-line tool, based on [X_ITE](https://create3000.github.io/x_ite/), that renders image files from X3D (Extensible 3D) and other 3D file formats. It allows users to convert 3D scenes into 2D images, supporting various input formats. Output can be in PNG or JPEG formats.
|
|
28
18
|
|
|
29
19
|
## Options
|
|
30
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x3d-image",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"description": "Render image files from X3D",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"colors": "^1.4.0",
|
|
55
|
-
"electron": "^38.
|
|
56
|
-
"x_ite": "^12.0
|
|
55
|
+
"electron": "^38.1.2",
|
|
56
|
+
"x_ite": "^12.1.0",
|
|
57
57
|
"yargs": "^18.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|