SoShaderPipelineToneShading

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShaderPipeline
definition SoShaderPipeline.def

Purpose

The SoShaderPipelineToneShading implements tone shading. It can either replace the light model, so that each light applies tone shading, or it can apply tone shading based on the given angles.

Parameter Fields

Field Index

Altitude: Float Warm Color: Color
Azimuth: Float  
Cool Color: Color  
Diffuse Cool: Float  
Diffuse Warm: Float  
Enabled: Bool  
Replace Light Model: Bool  
Replace Lighting: Bool  

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enable tone shading.

Warm Color

name: warmColor, type: Color, default: 0.600000023841858 0.600000023841858 0

Warm color.

Cool Color

name: coolColor, type: Color, default: 0 0 0.600000023841858

Cool color.

Diffuse Warm

name: diffuseWarm, type: Float, default: 0.44999999, minimum: 0, maximum: 1

Diffuse light applied to warm color.

Diffuse Cool

name: diffuseCool, type: Float, default: 0.44999999, minimum: 0, maximum: 1

Diffuse light applied to cool color.

Altitude

name: lightPolarRho, type: Float, default: 90, minimum: -180, maximum: 180

Polar coordinate of light.

Azimuth

name: lightPolarPhi, type: Float, default: 120, minimum: -180, maximum: 180

Polar coordinate of light.

Replace Lighting

name: replaceLighting, type: Bool, default: TRUE

If enabled, the default lighting is replaced by tone shading. If disabled, the tone shading is added.

Replace Light Model

name: replaceLightModel, type: Bool, default: TRUE

If enabled, all lights use tone shading as their light model.