VolumeViz/vvizComputeFragmentColor_frag.h File Reference

This file contains protoype method to redefine to replace FRAGMENT_COMPUTE_COLOR slot. More...

Go to the source code of this file.

Functions

vec4 VVizComputeFragmentColor (in VVizDataSetId dataset, in vec3 rayDir, inout VVizVoxelInfo voxelInfoFront, in VVizVoxelInfo voxelInfoBack, in int mask)

Detailed Description

This file contains protoype method to redefine to replace FRAGMENT_COMPUTE_COLOR slot.

Definition in file vvizComputeFragmentColor_frag.h.


Function Documentation

vec4 VVizComputeFragmentColor ( in VVizDataSetId  dataset,
in vec3  rayDir,
inout VVizVoxelInfo  voxelInfoFront,
in VVizVoxelInfo  voxelInfoBack,
in int  mask 
)

SoVolumeShader::FRAGMENT_COMPUTE_COLOR function.

Applications can replace this method to customize the SoVolumeShader::FRAGMENT_COMPUTE_COLOR shader stage.
Note: This version of the method is only used by the SoVolumeRender node.

Parameters:
dataset Dataset id
rayDir ray Direction in volume space.
voxelInfoFront Voxel info of front slice.
voxelInfoBack Voxel info of back slice
mask Current mask Id

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/