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

@intelligentgraphics/openconfiguration

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intelligentgraphics/openconfiguration - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

39

dist/index.d.ts

@@ -14,2 +14,12 @@ declare namespace Cns {

/**
* Basic color value.
* Linear RGB (Not sRGB).
* Values in the range 0.0 to 1.0
*/
interface Color {
red: number;
green: number;
blue: number;
}
/**
* A Transformation of the UV Set for a Material

@@ -74,12 +84,2 @@ * Ordering R*S*T*V

/**
* Basic color value.
* Linear RGB (Not sRGB).
* Values in the range 0.0 to 1.0
*/
interface Color {
red: number;
green: number;
blue: number;
}
/**
* Texture map with additional color value. The relationship between both

@@ -95,2 +95,19 @@ * will be defined in the application context.

/**
* ColorMap with an optional alpha mode
*/
interface AlphaColorMap extends ColorMap {
/**
* An optional alpha mode. Legal values are:
*
* "Standard" (default) :
* The alpha channel is considered, if the transparency value is at least 0.1.
* If the Material has an alphamap, it is also considered.
*
* "RGBA" :
* The alpha channel is always used "as is".
* Alphamap and Transparency setting are ignored.
*/
alphaMode?: Nullable<"Standard" | "RGBA">;
}
/**
* Polymorphic deformation description. The algorithm is part of the description.

@@ -273,3 +290,3 @@ * NOTE. In this data structure, all attribute names start with upper case!

*/
diffuse?: Nullable<ColorMap>;
diffuse?: Nullable<AlphaColorMap>;
/**

@@ -276,0 +293,0 @@ * Specular map. Both color and map are supported. The color (white if

@@ -0,0 +0,0 @@ 'use strict';

{
"name": "@intelligentgraphics/openconfiguration",
"version": "1.3.4",
"description": "OpenConfiguration 1.3.4 (1.3.4.100)",
"version": "1.4.0",
"description": "OpenConfiguration 1.4.0 (1.4.0.100)",
"license": "./LICENSE",

@@ -19,3 +19,3 @@ "publishConfig": {

"scripts": {
"dist": "rollup -c",
"dist": "rollup -c rollup.config.mjs",
"docs": "typedoc src/index.ts --name OpenConfiguration --disableSources",

@@ -22,0 +22,0 @@ "prepublishOnly": "npm run dist && node _scripts/prepublish.js",

@@ -30,2 +30,6 @@ Overview of the OpenConfiguration Format

**OpenConfiguration 1.4.0**
- ig Material: alphaMode: Standard | RGBA
**OpenConfiguration 1.3.4**

@@ -32,0 +36,0 @@

@@ -186,2 +186,58 @@ {

"definitions": {
"AlphaColorMap": {
"description": "Texture map with additional color value and alpha mode. The relationship between both will be defined in the application context.",
"type": "object",
"required": [
"color"
],
"properties": {
"alphaMode": {
"anyOf": [
{
"$ref": "#/definitions/AlphaMode"
},
{
"type": "null"
}
]
},
"color": {
"description": "A color value.",
"allOf": [
{
"$ref": "#/definitions/Color"
}
]
},
"map": {
"anyOf": [
{
"$ref": "#/definitions/TextureMap"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AlphaMode": {
"oneOf": [
{
"description": "The alpha channel is considered, if the transparency value is at least 0.1. If the Material has an alphamap, it is also considered.",
"type": "string",
"enum": [
"Standard"
]
},
{
"description": "The alpha channel is always used \"as is\". Alphamap and Transparency setting are ignored.",
"type": "string",
"enum": [
"RGBA"
]
}
]
},
"AttachPoint": {

@@ -1020,7 +1076,23 @@ "description": "An attachment point for planning support and placement of children. All attributes are mandatory, except for Tags.\n\nTwo attachment points match: - if Key and Foreign match, if needed with wildcards in the Foreign key, - there's at least one matching Tag on both sides, in case at least one has tags, - the Types match to each other, such as L - R - both of them are enabled - the position offset in global space is less than 0.2 [m] - the rotation offset in global space is less than 45 deg\n\nIGXC Compatibility: the Rotation is changed to Quaternion, in IGXC it was Euler-based.",

"ProductKind": {
"type": "string",
"enum": [
"Product",
"Set",
"Placeholder"
"oneOf": [
{
"type": "string",
"enum": [
"Placeholder"
]
},
{
"description": "regular product",
"type": "string",
"enum": [
"Product"
]
},
{
"description": "a commercial container for multiple products",
"type": "string",
"enum": [
"Set"
]
}
]

@@ -1660,3 +1732,3 @@ },

{
"$ref": "#/definitions/ColorMap"
"$ref": "#/definitions/AlphaColorMap"
},

@@ -1663,0 +1735,0 @@ {

Sorry, the diff of this file is not supported yet

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