This page provides information on the Round edges attribute set that can be added to meshes.

 

Page Contents ×

Overview


Round edges is an Object Attribute that utilizes bump mapping to smooth out edges during render time. The attributes in this section can be applied to any polygonal mesh. Alternatively, the attribute can be added to a shading group, and it will affect all objects to which the shading group is connected.

 

 

 

UI Path


 

 ||Select mesh|| > Attribute Editor > Attributes menu > VRay > Round edges




Round Edges Attributes





Enable Round Edges – Enables the round edges effect which uses bump mapping to smooth out the edges of the geometry during render time.

Radius  – Specify a radius (in world units) for the round edges effect. Since the actual geometry is not being changed and only the normals of the faces are affected large values here may produce undesirable effects. For more information, please see the Rounded Corners example below.

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

Corners – Choose which edges are considered in the calculation. Possible options are:

Covex and Concave – Considers all edges.
Convex Only – Only applies Round Edges effect to edges with convex angles.
Concave Only 
Only applies Round Edges effect to edges with concave angles.  

For more information, please see the Corners parameter example below.


 Scripting

 Add to node:

vray addAttributesFromGroup "pSphereShape1" "vray_roundedges" 1;

Attributes:

vrayRoundEdges
vrayRoundEdgesRadius
vrayRoundEdgesConsiderSameObjectsOnly
vrayRoundEdgesCorners

 

 


 

Example: Rounded Corners


This example shows the effect of the rounded edges based on the Radius. The cube is 50 units in each dimension.


 

Radius is 1 unit

 

Radius is 3 units

 

 

 

 




Example: Consider Same Objects Only parameter


In this example, the cube and the cylinders are separate objects.

 

 

Consider Same Objects Only is On
The rounded corners effect is applied to each object individually

 

Consider Same Objects Only is Off
The rounded corners effect is applied between the different objects

 

 

 

 


 

Example: Corners parameter

 

 

 

Convex & concave corners

 

Convex corners only

 

Concave corners only