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

This module contains the core functionality for MaterialX glTF ProceduralTexture graph conversion. More...

Go to the source code of this file.

Classes

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

Namespaces

namespace  gltf_materialx_converter
 
namespace  gltf_materialx_converter.converter
 

Variables

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

Detailed Description

This module contains the core functionality for MaterialX glTF ProceduralTexture graph conversion.

Definition in file converter.py.