MaterialX / glTF Texture Procedurals  0.0.1
Utilities for interoperability between MaterialX and glTF Texture Procedurals
Loading...
Searching...
No Matches
gltf_materialx_converter.converter Namespace Reference

Classes

class  glTFMaterialXConverter
 Class for converting to convert between glTF Texture Procedurals content and MaterialX. More...
 

Variables

str KHR_TEXTURE_PROCEDURALS = 'KHR_texture_procedurals'
 Extension name for KHR_texture_procedurals.
 
str EXT_TEXTURE_PROCEDURALS_MX_1_39 = 'EXT_texture_procedurals_mx_1_39'
 Extension name for EXT_texture_procedurals_mx_1_39.
 
str KHR_MATERIALX_UNLIT = 'KHR_materials_unlit'
 Extension name for KHR_materials_unlit.
 
str KHR_EXTENSIONS_BLOCK = 'extensions'
 The block for extensions.
 
str KHR_EXTENTIONSUSED_BLOCK = 'extensionsUsed'
 The block for used extensions.
 
str KHR_ASSET_BLOCK = 'asset'
 The block for asset information.
 
str KHR_MATERIALS_BLOCK = 'materials'
 The block for materials.
 
str KHR_TEXTURES_BLOCK = 'textures'
 The block for textures.
 
str KHR_IMAGES_BLOCK = 'images'
 The block for images.
 
str KHR_IMAGE_SOURCE = 'source'
 The block for image sources.
 
str KHR_IMAGE_URI = 'uri'
 The uri attribute for an image block.
 
str KHR_TEXTURE_PROCEDURALS_TYPE = 'type'
 The attribute for procedural texture type.
 
str KHR_TEXTURE_PROCEDURALS_VALUE = 'value'
 The attribute for procedural texture uniform values.
 
str KHR_TEXTURE_PROCEDURALS_TEXTURE = 'texture'
 The attribute for procedural texture uniform texture references.
 
str KHR_TEXTURE_PROCEDURALS_INPUTS_BLOCK = 'inputs'
 The block for procedural texture inputs.
 
str KHR_TEXTURE_PROCEDURALS_OUTPUTS_BLOCK = 'outputs'
 The block for procedural texture outputs.
 
str KHR_TEXTURE_PROCEDURALS_NODES_BLOCK = 'nodes'
 The block for procedural texture nodes.
 
str KHR_TEXTURE_PROCEDURALS_NODETYPE = 'nodetype'
 The attribute for procedural texture node type.
 
str KHR_TEXTURE_PROCEDURALS_NAME = 'name'
 The attribute for procedural texture name.
 
str KHR_TEXTURE_PROCEDURALS_INPUT = 'input'
 The attribute for procedural texture input.
 
str KHR_TEXTURE_PROCEDURALS_OUTPUT = 'output'
 The attribute for procedural texture output.
 
str KHR_TEXTURE_PROCEDURALS_NODE = 'node'
 The attribute for procedural texture node.
 
str KHR_TEXTURE_PROCEDURALS_INDEX = 'index'
 The attribute for procedural texture index.
 
str KHR_TEXTURE_PROCEDURALS_NODEGROUP = 'nodegroup'
 The attribute for procedural texture node group.
 
str KHR_TEXTURE_PROCEDURALS_PROCEDURALS_BLOCK = 'procedurals'
 The block for procedural textures.
 
str MTLX_DEFAULT_MATERIAL_NAME = 'MATERIAL_0'
 Default name for a MaterialX material for generation.
 
str MTLX_MATERIAL_PREFIX = 'MATERIAL_'
 Prefix for MaterialX material name for generation.
 
str MTLX_DEFAULT_SHADER_NAME = 'SHADER_0'
 Default name for a MaterialX shader for generation.
 
str MTLX_NODEGRAPH_NAME_ATTRIBUTE = 'nodegraph'
 Attribute for nodegraph references in MaterialX.
 
str MTLX_DEFAULT_NODE_NAME = 'NODE_0'
 Default name for a MaterialX graph nodes for generation.
 
str MTLX_DEFAULT_INPUT_NAME = 'INPUT_0'
 Default name for a MaterialX graph nodes for generation.
 
str MTLX_DEFAULT_OUTPUT_NAME = 'OUTPUT_0'
 Default name for a MaterialX graph nodes for generation.
 
str MTLX_DEFAULT_GRAPH_NAME = 'GRAPH_0'
 Default name for a MaterialX node graphs for generation.
 
str MTLX_INTERFACEINPUT_NAME_ATTRIBUTE = 'interfacename'
 Attribute for interface references in MaterialX.
 
str MTLX_NODE_NAME_ATTRIBUTE = 'nodename'
 Attribute for node references in MaterialX.
 
str MTLX_NODEDEF_NAME_ATTRIBUTE = 'nodedef'
 Attribute for nodegraph references in MaterialX.
 
str MTLX_OUTPUT_ATTRIBUTE = 'output'
 Attribute for outputs in MaterialX.
 
str MTLX_GLTF_PBR_CATEGORY = 'gltf_pbr'
 Category string for glTF PBR shading model in MaterialX.
 
str MTLX_UNLIT_CATEGORY_STRING = 'surface_unlit'
 Category string for unlit surface shading model in MaterialX.
 
str MULTI_OUTPUT_TYPE_STRING = 'multioutput'
 String identifier for multi-output types in MaterialX.
 

Variable Documentation

◆ EXT_TEXTURE_PROCEDURALS_MX_1_39

str gltf_materialx_converter.converter.EXT_TEXTURE_PROCEDURALS_MX_1_39 = 'EXT_texture_procedurals_mx_1_39'

Extension name for EXT_texture_procedurals_mx_1_39.

Definition at line 20 of file converter.py.

◆ KHR_ASSET_BLOCK

str gltf_materialx_converter.converter.KHR_ASSET_BLOCK = 'asset'

The block for asset information.

Definition at line 36 of file converter.py.

◆ KHR_EXTENSIONS_BLOCK

str gltf_materialx_converter.converter.KHR_EXTENSIONS_BLOCK = 'extensions'

The block for extensions.

Definition at line 28 of file converter.py.

◆ KHR_EXTENTIONSUSED_BLOCK

str gltf_materialx_converter.converter.KHR_EXTENTIONSUSED_BLOCK = 'extensionsUsed'

The block for used extensions.

Definition at line 32 of file converter.py.

◆ KHR_IMAGE_SOURCE

str gltf_materialx_converter.converter.KHR_IMAGE_SOURCE = 'source'

The block for image sources.

Definition at line 52 of file converter.py.

◆ KHR_IMAGE_URI

str gltf_materialx_converter.converter.KHR_IMAGE_URI = 'uri'

The uri attribute for an image block.

Definition at line 56 of file converter.py.

◆ KHR_IMAGES_BLOCK

str gltf_materialx_converter.converter.KHR_IMAGES_BLOCK = 'images'

The block for images.

Definition at line 48 of file converter.py.

◆ KHR_MATERIALS_BLOCK

str gltf_materialx_converter.converter.KHR_MATERIALS_BLOCK = 'materials'

The block for materials.

Definition at line 40 of file converter.py.

◆ KHR_MATERIALX_UNLIT

str gltf_materialx_converter.converter.KHR_MATERIALX_UNLIT = 'KHR_materials_unlit'

Extension name for KHR_materials_unlit.

Definition at line 24 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS = 'KHR_texture_procedurals'

Extension name for KHR_texture_procedurals.

Definition at line 16 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_INDEX

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_INDEX = 'index'

The attribute for procedural texture index.

Definition at line 104 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_INPUT

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_INPUT = 'input'

The attribute for procedural texture input.

Definition at line 92 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_INPUTS_BLOCK

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_INPUTS_BLOCK = 'inputs'

The block for procedural texture inputs.

Definition at line 72 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_NAME

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_NAME = 'name'

The attribute for procedural texture name.

Definition at line 88 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_NODE

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_NODE = 'node'

The attribute for procedural texture node.

Definition at line 100 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_NODEGROUP

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_NODEGROUP = 'nodegroup'

The attribute for procedural texture node group.

Definition at line 108 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_NODES_BLOCK

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_NODES_BLOCK = 'nodes'

The block for procedural texture nodes.

Definition at line 80 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_NODETYPE

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_NODETYPE = 'nodetype'

The attribute for procedural texture node type.

Definition at line 84 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_OUTPUT

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_OUTPUT = 'output'

The attribute for procedural texture output.

Definition at line 96 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_OUTPUTS_BLOCK

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_OUTPUTS_BLOCK = 'outputs'

The block for procedural texture outputs.

Definition at line 76 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_PROCEDURALS_BLOCK

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_PROCEDURALS_BLOCK = 'procedurals'

The block for procedural textures.

Definition at line 112 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_TEXTURE

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_TEXTURE = 'texture'

The attribute for procedural texture uniform texture references.

Definition at line 68 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_TYPE

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_TYPE = 'type'

The attribute for procedural texture type.

Definition at line 60 of file converter.py.

◆ KHR_TEXTURE_PROCEDURALS_VALUE

str gltf_materialx_converter.converter.KHR_TEXTURE_PROCEDURALS_VALUE = 'value'

The attribute for procedural texture uniform values.

Definition at line 64 of file converter.py.

◆ KHR_TEXTURES_BLOCK

str gltf_materialx_converter.converter.KHR_TEXTURES_BLOCK = 'textures'

The block for textures.

Definition at line 44 of file converter.py.

◆ MTLX_DEFAULT_GRAPH_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_GRAPH_NAME = 'GRAPH_0'

Default name for a MaterialX node graphs for generation.

Definition at line 144 of file converter.py.

◆ MTLX_DEFAULT_INPUT_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_INPUT_NAME = 'INPUT_0'

Default name for a MaterialX graph nodes for generation.

Definition at line 136 of file converter.py.

◆ MTLX_DEFAULT_MATERIAL_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_MATERIAL_NAME = 'MATERIAL_0'

Default name for a MaterialX material for generation.

Definition at line 116 of file converter.py.

◆ MTLX_DEFAULT_NODE_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_NODE_NAME = 'NODE_0'

Default name for a MaterialX graph nodes for generation.

Definition at line 132 of file converter.py.

◆ MTLX_DEFAULT_OUTPUT_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_OUTPUT_NAME = 'OUTPUT_0'

Default name for a MaterialX graph nodes for generation.

Definition at line 140 of file converter.py.

◆ MTLX_DEFAULT_SHADER_NAME

str gltf_materialx_converter.converter.MTLX_DEFAULT_SHADER_NAME = 'SHADER_0'

Default name for a MaterialX shader for generation.

Definition at line 124 of file converter.py.

◆ MTLX_GLTF_PBR_CATEGORY

str gltf_materialx_converter.converter.MTLX_GLTF_PBR_CATEGORY = 'gltf_pbr'

Category string for glTF PBR shading model in MaterialX.

Definition at line 164 of file converter.py.

◆ MTLX_INTERFACEINPUT_NAME_ATTRIBUTE

str gltf_materialx_converter.converter.MTLX_INTERFACEINPUT_NAME_ATTRIBUTE = 'interfacename'

Attribute for interface references in MaterialX.

Definition at line 148 of file converter.py.

◆ MTLX_MATERIAL_PREFIX

str gltf_materialx_converter.converter.MTLX_MATERIAL_PREFIX = 'MATERIAL_'

Prefix for MaterialX material name for generation.

Definition at line 120 of file converter.py.

◆ MTLX_NODE_NAME_ATTRIBUTE

str gltf_materialx_converter.converter.MTLX_NODE_NAME_ATTRIBUTE = 'nodename'

Attribute for node references in MaterialX.

Definition at line 152 of file converter.py.

◆ MTLX_NODEDEF_NAME_ATTRIBUTE

str gltf_materialx_converter.converter.MTLX_NODEDEF_NAME_ATTRIBUTE = 'nodedef'

Attribute for nodegraph references in MaterialX.

Definition at line 156 of file converter.py.

◆ MTLX_NODEGRAPH_NAME_ATTRIBUTE

str gltf_materialx_converter.converter.MTLX_NODEGRAPH_NAME_ATTRIBUTE = 'nodegraph'

Attribute for nodegraph references in MaterialX.

Definition at line 128 of file converter.py.

◆ MTLX_OUTPUT_ATTRIBUTE

str gltf_materialx_converter.converter.MTLX_OUTPUT_ATTRIBUTE = 'output'

Attribute for outputs in MaterialX.

Definition at line 160 of file converter.py.

◆ MTLX_UNLIT_CATEGORY_STRING

str gltf_materialx_converter.converter.MTLX_UNLIT_CATEGORY_STRING = 'surface_unlit'

Category string for unlit surface shading model in MaterialX.

Definition at line 168 of file converter.py.

◆ MULTI_OUTPUT_TYPE_STRING

str gltf_materialx_converter.converter.MULTI_OUTPUT_TYPE_STRING = 'multioutput'

String identifier for multi-output types in MaterialX.

Definition at line 172 of file converter.py.