Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
vvizNpr_frag.h File Reference

Go to the source code of this file.

Functions

vec4 VVizApplyNpr (inout VVizVoxelInfo voxelInfoFront, in VVizVoxelInfo voxelInfoBack, vec4 fragColor)
 This function applies various non-photorealistic rendering algorithms on the given color (edge detection, jittering, etc...).
 
vec4 VVizApplyNpr (in VVizDataSetId dataset, inout VVizVoxelInfo voxelInfoFront, in VVizVoxelInfo voxelInfoBack, vec4 fragColor)
 This function applies various non-photorealistic rendering algorithms on the given color (edge detection, jittering, etc...).
 
vec4 VVizApplyNpr (inout VVizVoxelInfo voxelInfo, vec4 fragColor, vec3 viewVec, vec3 grad, float gradNorm, vec3 normal)
 
vec4 VVizApplyNpr (in VVizDataSetId dataset, inout VVizVoxelInfo voxelInfo, vec4 fragColor, vec3 viewVec, vec3 grad, float gradNorm, vec3 normal)
 

Function Documentation

◆ VVizApplyNpr() [1/4]

vec4 VVizApplyNpr ( in VVizDataSetId  dataset,
inout VVizVoxelInfo  voxelInfo,
vec4  fragColor,
vec3  viewVec,
vec3  grad,
float  gradNorm,
vec3  normal 
)

◆ VVizApplyNpr() [2/4]

vec4 VVizApplyNpr ( in VVizDataSetId  dataset,
inout VVizVoxelInfo  voxelInfoFront,
in VVizVoxelInfo  voxelInfoBack,
vec4  fragColor 
)

This function applies various non-photorealistic rendering algorithms on the given color (edge detection, jittering, etc...).

◆ VVizApplyNpr() [3/4]

vec4 VVizApplyNpr ( inout VVizVoxelInfo  voxelInfo,
vec4  fragColor,
vec3  viewVec,
vec3  grad,
float  gradNorm,
vec3  normal 
)

◆ VVizApplyNpr() [4/4]

vec4 VVizApplyNpr ( inout VVizVoxelInfo  voxelInfoFront,
in VVizVoxelInfo  voxelInfoBack,
vec4  fragColor 
)

This function applies various non-photorealistic rendering algorithms on the given color (edge detection, jittering, etc...).