Display Settings

Overview

The display menu contains options to control the way geometry appears in the viewports and how segments are generated at render time.

In this section:

 

Procedures

To display full resolution geometry in the viewports

Occasionally it is useful to display the full mesh in the viewports, this is most common when creating a new style where the final result needs to be easy to see without constant re-rendering, but also for some engines that don't support proxy displays.

If you are working on a small section of geometry for the purposes of creating or editing a style, adaptive display is often the best option. In this mode the full geometry is displayed unless the face-count exceeds the specified value. When this value is exceeded each segment is replaced by a simple box.

  1. Go to Display>Viewport and turn on Adaptive.
  2. Adjust the face count, remember that increasing the face count too much may slow down the viewports, depending on your system resources.
  3. Alternatively if you need full mesh display irrespective on face count, go to Display>Viewport and turn on Mesh.

To display geometry as a point cloud

Balustrade using Points-cloud mode

Point Cloud mode is an efficient way of displaying a good representation of the geometry while maintaining excellent viewport performance.

  1. Go to Display>Viewport and turn on Points-Cloud
  2. Adjust the Local Density percentage value to control the number of points for the selected RailClone object. It is also possible to control the relative density of all the RailClone objects in the scene using the Global Density value.
  3. Adjust the Shade slider to adjust the strength of the 3D shading effect. This is a global value and will affect all RailClone objects in the scene.

    The image on the left shows the scene with no point-cloud shading, the right hand image shows the same scene with this feature turned on.
  1. Turn on Use Object Colour to tint the points using the colour set from 3DS Max's Object Color dialog. If unselected the points are coloured using the diffuse colour of the object's material.

 

By default, Points-cloud mode uses DirectX to speed up display performance. If you experience problems in the viewports when using Points-Clouds, turn off the  Use DirextX Acceleration parameter.

 

To manually update RailClone objects

  1. Go to Display and turn off the Auto tick box.
  2. Every time you wish to update the RailClone object, press Build.

To enable/disable the Instancing Engine

When enabled, RailClone uses all the capabilities of the renderer to get the best results for complex scenes, automatically creating render instances and proxies according to the needs of the generated geometry. To enable/disable:

  1. Go to Display>Render and toggle on/off Use Instancing Engine.
  2. Be aware that some functionality is reduced when using these shaders, see the Rendering Best Practice section for more information. 

To increase or decrease the maximum number of segments created by the Plugin

  1. Go to Display>Limits
  2. Adjust the Segments value to increase or decrease the maximum number of segments created by the plugin
  3. Adjust the Faces value to increase or decrease the maximum triangle count created by the plugin. 

To debug a RailClone object when using V-Ray

Instanced segments are shown in blue color

  1. Go to Display>Debug Mode and turn on Show Up Instances
  2. The default material ID is set to 100, leave this as it is or if you prefer, set to another number.
  3. Apply a multi-sub material that includes a material set to the ID specified in the previous step.
  4. All instanced geometry will be allocated the ID specified above and will render with the associated material. 

 

Interface

Viewport

Defines the mode how RailClone draws the object on viewport:

  • Mesh. Displays full resolution geometry in the viewports
  • Boxes. Displays a simple bounding box around each segment
  • Adaptive. A combination of the previous two modes. If the face count is below the value specified the full geometry is displayed. If the face count exceeds the value specified, bounding boxes are used.
  • Points-Cloud. An ultra-fast view mode which lets you to see a 3D preview of the geometry in the viewport.
    • Global Density. Adjust the point density for all RailClone objects in the scene.
    • Local Density. Adjusts to point density for only the selected RailClone object.
    • Shade. This slider controls the strength of the 3D shading effect used on the points, move the shader to the left to reduce contrast and create a flat colour and to the right to increase the contrast.
    • Use Color Object. Color by object or from the material applied to the object (specifically from the diffuse color slot).
    • Use DirectX Acceleration. Turns on and off ability to use DirectX to speed up point cloud displat. This is on by default, but can be turned off if you encounter viewport errors such as random points.

Build

Set the update mode of RailClone to automatic or manual

  • Auto. Turns on/off auto update mode
  • Build. If automatic mode is off, this button rebuilds the RailClone object.
  • Disable Object. Turns off the RailClone object so that it neither renders nor appears in the viewport.

Render

  • Mesh.Render segments as full geometry
  • Boxes. Render segments as simple bounding boxes
  • Use Instancing Engine.This parameter defines the behaviour of RailClone when it creates the elements for rendering. When enabled automatically creates instances and proxies when using V-Ray or Mental Ray. If disabled creates a single mesh containing all the geometry. See Best Rendering Practices for more information about this mode and how to use it efficiently in your scenes.

Limits

Limits the maximum number of segments or mesh's faces created by the plugin. When this limit is reached, the plugin shows a warning message.

  • Segments. The maximum number of segments that can be created by RailClone. Default value is 50,000.
  • Faces. The maximum number of faces that can be created by RailClone. Default value is 5 million

 

 

The size of the instances and proxies when "Use Geometry Shader" in on, is not taken into account when calculating the maximum number of faces.

 

Debug

Lets you to identify visually on the render what pieces are created as instances. See Best Rendering Practices for more information about geometric shaders and instancing. Currenly the debug mode works only with VRay.

  • Show Up Instances. When enabled, the Material ID of the instanced segments is changed to the specified value.
  • V-Ray Mat.Id. Used to specify the material ID applied to instanced geometry.