Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
0.8.3:volumerendering [2022/04/08 09:53] – [Procedural Data] admin0.8.3:volumerendering [2022/04/08 10:06] (current) – [Gamut Mapping] admin
Line 337: Line 337:
   GorillaViewport1.Invalidate();   GorillaViewport1.Invalidate();
 </file> </file>
 +
 +===== Gamut Mapping =====
 +
 +Gamut is a colored texture to define how 3D values will be colored. 
 +Since 0.8.3.2265 this feature is available.
 +
 +Here an example of a simple gradient gamut texture:
 +
 +{{:0.8.3:gamut.jpg?nolink|}}
 +
 +
 +TGorillaVolumetricMesh allows to configure the coloring method by some properties:
 +
 +^Property^Description^
 +|Gamut|Texture used for mapping the 3D value during Raytracing|
 +|GamutMode|Defines when and how the value-color mapping happens. Here different modes are available: GamutNone, GamutByValue, GamutByValueMultiply, GamutBySum, GamutBySumMultiply|
 +|GamutFactor|A factor applied to the absolute 3D value before mapping onto the gamut texture (default value is 1.0)|
 +
 +=== Modes ===
 +
 +The available gamut modes allow to control the output of color mapping. 
 +
 +^Mode^Description^
 +|GamutNone|Gamut mapping is disabled|
 +|GamutByValue|Gamut mapping will be applied to each 3D value on the casted ray.|
 +|GamutByValueMultiply|Gamut mapping will be applied to each 3D value on the casted ray and afterwards multiplied with the previously computed color value.|
 +|GamutBySum|Gamut mapping will be applied to the final casted ray value.|
 +|GamutBySumMultiply|Gamut mapping will be applied to the final casted ray value and afterwards multiplied with the previously computed color value.|
  
 Next step: [[particles|Particles]] Next step: [[particles|Particles]]