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 lighting 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

If checked, tone shading is enabled.

Warm Color

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

Sets the warm color.

Cool Color

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

Sets the cool color.

Diffuse Warm

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

Sets the diffuse light applied to the warm color.

Diffuse Cool

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

Sets the diffuse light applied to the cool color.

Altitude

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

Sets the polar coordinate of the light.

Azimuth

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

Sets the polar coordinate of the light.

Replace Lighting

name: replaceLighting, type: Bool, default: TRUE

If checked, the default lighting is replaced by tone shading.

Otherwise, the tone shading is added.

Replace Light Model

name: replaceLightModel, type: Bool, default: TRUE

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