Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

Mode – Switches between respective modes. See the Curvature Modes example below for more information.

Legacy – Does not distinguish if the mesh is curving outward (convex) or inward (concave) but instead takes into account only the amount of overall curvature.
Convex – Generates a grayscale based on the mesh's outward curve.
Concave – Generates a grayscale based on the mesh's inward curve.
Both – Generates a red-green gradient based on both the mesh's convex and concave. Red corresponds to the mesh's convex and green corresponds to the mesh's concave.

Subdivs – Controls the number of samples around each shaded point.

Sample spread – Controls the radius of the sampled region. See the Sample Spread example below for more information.

Radius – Factor determining the radius that the curvature traces. Can be used to match curvature between big and small objects.

Ignore bump Excludes Bump maps from VRayCurvature computations. See the Ignore Bump example below for more information.

Output min color – Specifies the minimum output color value for the most concave area (the dents in the mesh). Default value is 0 - completely black. See the Output Min and Max Color below for more information.

Output max color – Specifies the maximum output color value for the most convex area (the peaks in the mesh). Default value is 1 - white. See the Output Min and Max Color below for more information.

Output gain – Multiplies the output values. See the Output gain example below for more information.

Output lift – Uniformly lightens the output values.

Output gamma – Applies gamma correction to the output values.

Output pivot – Pivots the value to the gamma correction (output values equal to the pivot value are left unchanged).

Output clamp – Clamps the Output min color and Output max color values in [0,1] range (negative values are output as 0 and values above 1 are being output as 1).

Column
width5%
 
Column
width35%

...

UI Text Box
typeinfo

Both mode outputs a red and green color gradient instead of a black and white one. Using it as a blend amount for the VRayBlendMtl produces color blended materials. To avoid this, we use the Red and Green components of the VRayCurvature map separately to generate two monochromatic masks using Color Correction maps. This allows the generated red-green gradient to be used as a grayscale blend amount, like in all other Curvature modes. In this setup an additional (third) Dark Patina material is used, which appears in the most concave parts of the model. In addition, Output gama is set to 1.5 for more pleasant results. Click the expanding preview to see the Slate Material Editor setup.

UI Expand
titleSlate Material Editor setup for Both mode
Section
Column
width55%

Column
width5%

 

Column
width30%

 

Column
width10%

 



Anchor
spread
spread

Example: Sample Spread



A VRayBlendMtl material with white ceramic as the Base material and Gold as the Coat material is applied to the Shell. VRayCurvature is used for a Blend map.
The Mode of the VRayCurvature map is set as Concave and the Radius is set to 0.2 cm.

Section
Column
width25%

 

Column
width50%
Image slider
Panel
borderStylenone

Image Added

Sample Spread = 1

Panel
borderStylenone

Image Added

Sample Spread = 2.5

Panel
borderStylenone

Image Added

Sample Spread = 5

Panel
borderStylenone

Image Added

Sample Spread = 10

Column
width25%

 

 


Anchor
minmax
minmax

Example: Output Min and Max Color


 A VRayBlendMtl with white ceramic as the Base material and Gold as the Coat material is applied to the shell. VRayCurvature is used for a Blend map.

The Mode of the VRayCurvature map is set as Convex, Sample spread is set to 2, the Radius is set to 0.2 cm. 

Section
Column
width25%

 

Column
width50%
Image slider
Panel
borderStylenone

Image Added

Output Min = 0, Output Max = 0

Panel
borderStylenone

Image Added

Output Min = 0.5, Output Max = 0.5

Panel
borderStylenone

Image Added

Output Min = 0.5, Output Max = 0

Panel
borderStylenone

Image Added

Output Min = 0, Output Max = 0.5

Panel
borderStylenone

Image Added

Output Min = 0, Output Max = 1

Panel
borderStylenone

Image Added

Output Min = 0.5, Output Max = 1

Panel
borderStylenone

Image Added

Output Min = 1, Output Max = 0

Panel
borderStylenone

Image Added

Output Min = 1, Output Max = 1

Column
width25%

 

 

Anchor
gain
gain

Example: Output Gain

 

A VRayBlendMtl with white ceramic as the Base material and Gold as the Coat material is applied to the shell.
VRayCurvature is used for a Blend map. The Mode of the VRayCurvature Blend map is set to Convex.
Sample spread is set to 2, the Radius is set to 0.2 cm. Output min color is set to 0, Output max color is set to 0.5.

Section
Column
width25%
 
Column
width50%
Image slider
Panel
borderStylenone

Image Added

Output gain = 1

Panel
borderStylenone

Image Added

Output gain = 2

Panel
borderStylenone

Image Added

Output gain = 4

Panel
borderStylenone

Image Added

Output gain = 8

Column
width25%

 

 



Anchor
IgnoreBump
IgnoreBump

...