SoMLSamplerCubeMap

InventorModule
genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def
keywords vertex, fragment, geometry, shader

Purpose

The module SoMLSamplerCubeMap reads six adjacent slices of an ML image dataset to provide them to an OpenGL shading language cubemap sampler (samplerCube). Also writes the SoMLImageElement Open Inventor traversal state element.

Input Fields

image

name: image, type: Image

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Border Color: Vector4 Start Z: Integer
Enable Border: Bool Tex Gen Mode: Enum
Mag Filter: Enum Use 16Bit Floats: Bool
Min Filter: Enum Wrap S: Enum
Name: String Wrap T: Enum
needsTextureCoordinates: Bool  
Start T: Integer  
Start U: Integer  

Visible Fields

Name

name: name, type: String

Enable Border

name: enableBorder, type: Bool, default: FALSE

Border Color

name: borderColor, type: Vector4, default: 0 0 0 0

Min Filter

name: minFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Mag Filter

name: magFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Wrap S

name: wrapS, type: Enum, default: REPEAT

Values:

Title Name
Repeat REPEAT
Clamp CLAMP
Clamp To Edge CLAMP_TO_EDGE
Clamp To Border CLAMP_TO_BORDER
Mirrored Repeat MIRRORED_REPEAT

Use 16Bit Floats

name: use16BitFloat, type: Bool, default: TRUE

Start T

name: startT, type: Integer, default: 0

Start U

name: startU, type: Integer, default: 0

Wrap T

name: wrapT, type: Enum, default: REPEAT

Values:

Title Name
Repeat REPEAT
Clamp CLAMP
Clamp To Edge CLAMP_TO_EDGE
Clamp To Border CLAMP_TO_BORDER
Mirrored Repeat MIRRORED_REPEAT

Tex Gen Mode

name: texGenMode, type: Enum, default: REFLECTION_MAP

Values:

Title Name
Normal Map NORMAL_MAP
Reflection Map REFLECTION_MAP

Start Z

name: startZ, type: Integer, default: 0

Hidden Fields

needsTextureCoordinates

name: needsTextureCoordinates, type: Bool, default: TRUE