VRayEdgesTex

This page provides information on the Edge Map.

Overview

VRayEdgesTex achieves an effect similar to the wireframe materials in 3ds Max. Since it is a texture rather than a material, it can create some interesting effects that are not possible with standard 3ds Max materials.

When used as a bump map, this texture can produce a "round corners" effect for mesh objects, giving corners and edges a rounded bevel as shown in the examples at the end of the page.

UI Path: ||Material Editor window|| > Material/Map Browser > Maps...

||Material Editor window|| > Material/Map Browser > Maps > V-Ray > VRayEdgesTex


images/download/attachments/60098192/Max2020_VRay5_Textures_UIpath.gif

images/download/attachments/60098192/VRayEdgesTex.png

Parameters

Color Edges

Color – Specifies the color of the edges.

Hidden edges – When enabled, all edges of triangles are rendered including diagonal edges across polygons, which are normally invisible. When disabled, only edges marked as "visible" are rendered. For more information, see the Hidden Edges example below.

Show subtriangles – When enabled, edges generated by displacement mapping or render time subdivision are visible.

World width – Specifies the width of the edges in world units.

Pixel width – Specifies the width of the edges in pixels.

images/download/attachments/60098192/Max2020_VRay5_VRayEdgeTex_parameters.png

Example: Hidden Edges

OFFON

images/download/attachments/60098192/VRayEdgesTex.png

images/download/attachments/60098192/VRayEdgesTexHidden.png

Rounded corners

Radius – Specifies the radius for rounded corners when the texture is used as a bump map. This value is always expressed in world units. For more information, see the Radius example below.

Consider same object only – When enabled, rounded corners are produced only along edges that belong to the same object to which the map has been applied. When disabled, rounded corners are produced along edges formed when the object intersects other objects in the scene. For more information, see the Consider Same Object Only example below.

Corners – Specifies the types of corners to which rounded edges will be applied. For more information, see the Corners example below.

Convex & concave – The effect is applied to both convex and concave edges.
Convex only – The effect is applied only to convex edges.
Concave only – The effect is applied only to concave edges.


Example: Radius


This example shows the effect of the rounded edges based on the radius when VRayEdgesTex is used as a bump map. The cube is 50 units in each dimension. The radius is set to a value of 1 in the first image, and to a value of 3 in the second image.

13

images/download/attachments/60098192/image2015-12-14_15_40_22.png

images/download/attachments/60098192/image2015-12-14_15_41_17.png

Example: Consider Same Object Only


In this example, the cube and the cylinders are separate objects in the 3ds Max scene. VRayEdgesTex is used as a bump map on all objects.

When the Consider same object only is enabled the rounded corners effect is applied to each object individually. When the Consider same object only option is disabled the rounded corners effect is applied between the different objects.

enableddisabled

images/download/attachments/60098192/image2015-12-14_15_47_8.png

images/download/attachments/60098192/image2015-12-14_15_47_51.png

Example: Corners

images/download/attachments/60098192/image2015-12-14_15_53_38.png Corners = Convex & concave

images/download/attachments/60098192/image2015-12-14_15_54_21.png Corners = Convex only

images/download/attachments/60098192/image2015-12-14_15_54_49.png Corners = Concave only

Width/radius multiplier

Multiplier map – Texture multiplier for the width/radius. It can be used to map variating width/radius for the geometry from zero (black) up to the width/radius value (white).

Multiplier value – Weight of the multiplier map. For more information, see the Multiplier example below.


Example: Multiplier

The following example of multiplier values shows a cube with a mapped VRayEdgesTex applied to the bump slot of a VRayMtl.


images/download/attachments/60098192/ParametersSet.png


images/download/attachments/60098192/0.jpg

Multiplier Value = 0

images/download/attachments/60098192/50.png

Multiplier Value = 50

images/download/attachments/60098192/100.png

Multiplier Value = 100

Notes

  • When applied to displaced or subdivided objects, VRayEdgesTex normally shows the edges of the original mesh, as shown on this displaced teapot:

images/download/attachments/60098192/VRayEdges_3.png

  • VRayEdgesTex cannot simulate toon-style outlines on objects. Instead, use VRayToon render effect to add outlines.

  • Currently, when used as a bump map in glossy materials with the Blinn or Ward shaders, VRayEdgesTex can create dark edges. To avoid this, use the GGX shader instead:

images/download/attachments/60098192/VRayEdges_4.png
Blinn shader

images/download/attachments/60098192/VRayEdges_5.png
Phong shader