©BBB3viz

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Table of Contents

This page provides information on VRayDecal.

 

Overview


The VRayDecal provides an easy way to project one material on top of another regardless of the target UV set. The projected material is placed in an adjustable VRayDecal gizmo that controls its size, placement and projection limits in the Viewport.

Multiple VRayDecals can be stacked on top of each other and their overlapping is controlled by the parameters in each VRayDecal object or by their positions in the scene.

The VRayDecal’s effect is visible at render time only.

The material is projected only on the surfaces within the gizmo.

Since V-Ray 6 for 3ds Max, VRayDecal works with user defined properties, i.e. when using a VRayUserScalar or VRayUserColor textures, the user defined properties are read from the VRayDecal rather than from its object.

UI Path: ||V-Ray Toolbar|| > V-Ray Decal button

||V-Ray Toolbar|| > V-Ray Decal button


||V-Ray menu|| > Create > Geometry > V-Ray Decal


||Create menu|| > V-Ray > V-Ray Decal



||Command panel|| > Create tab > Geometry > V-Ray category > VRayDecal button

 

 

Workflow


  1. Create a VRayDecal gizmo and place it in the viewport on top of the surface you want to project the new material on.
  2. Create a material from the Material Editor or just pick a ready made material from Chaos Cosmos and assign it to the VRayDecal.
  3. Adjust the size and angle of the VRayDecal.

 

 

Parameters


Enabled – Enables the use of VRayDecal. See the VRayDecal example below.

Preview – When enabled, a preview of the material assigned to the VRayDecal is shown in viewport.

Width – Specifies the width of the VRayDecal gizmo.

Length Specifies the length of the VRayDecal gizmo.

Fit aspect ratio to bitmap – Оpens a browser window where a bitmap image can be selected and used to resize the VRayDecal based on that bitmap aspect ratio.

Fit aspect ratio to material – Resizes the VRayDecal to match the aspect ratio of the first eligible texture (bitmap) in the assigned material. Note that procedural textures are ignored.

Projection depth – Specifies the depth of the volume in which the image is projected.

Projection offset % – Specifies the offset of the VRayDecal gizmo in percentages. This parameter can take values below 0 and above 100.

Normal angle Specifies the angle to which the decal is applied onto the surface below.

Fade out – Enables the use of a fade out angle. See the Fade Out Angle example below.

Fade out angleSpecifies the angle which creates a fadeout gradient starting from the Normal angle. Values closer to the Normal angle produce a sharper gradient. The maximum fade out angle is 180 and it can't take values less than the Normal angle. See the Fade Out Angle example below.

Order Specifies a layering order when multiple VRayDecal gizmos are present. The decal with the larger Order value is set on top of the other ones. In case of equal Order values, the bounding boxes of the decals are taken into account for positioning.

Mask Masks the projected material based on a texture.

When a mask is used in a combination with a displacement included into the Material, the Mask must be applied into the dedicated slot in the VRayDecal Parameters instead of using the Opacity map slot in the Material.

Back side Enables the visibility of the projected image on the back side of the face. This option is useful for objects without an actual thickness where the back side of the polygons is exposed to the viewer.

Use only decal displacement – When enabled, the original surface displacement is not taken into account. See the Use Only Decal Displacement example and the Decal Displacement example below.

Use decal user properties – When enabled, uses the VRayDecal user defined properties.

Use only decal bump – When enabled, the original surface bump isn't taken into account.

Surface bump % – Specifies the percentage of the surface bump that affects the VRayDecal.

Bend – Specifies the bend angle for the VRayDecal in degrees when placed on a curved surface.

Show bend center – Enables a visual representation of the bend center in the viewport.

Exclude Specifies a list of objects that are not affected by the VRayDecal.

 

 


 

Example: VRayDecal

 

This example shows the effect of several decals applied onto a caravan object.

 

 

off
on

 

 


 

Example: Fade Out Angle

 

The Normal angle is set to 40 degrees. The first image shows the decal effect without a Fade out angle. The second render has Fade out angle enabled and set to 120 degrees. Note how the effect is enclosed between the Normal and Fade out angles.

 

 

off
on

 

 


 

Example: Decal Displacement

 

This example shows the effect of decal displacement.

 

off
on

 

 


 

Example: Use Only Decal Displacement

 

This example shows the effect of decal displacement. Use only decal displacement is turned on in the second image.

 

 

off
on

 

 


 

Example: Use Cylindrical Projection

 

The video show you how to project decals on cylinder-like objects and blending surface details.

 

 

Notes


  • Decal presets are available in the Chaos Cosmos Browser for V-Ray 6.