The display menu contains options to control the way geometry appears in the viewports and how segments are generated at render time.
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.
- Go to Display>Viewport and turn on Adaptive.
- Adjust the face count, remember that increasing the face count too much may slow down the viewports, depending on your system resources.
- 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.
- Go to Display>Viewport and turn on Points-Cloud
- 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.
- 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.
- 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.
To instance geometry in the viewports
Quick Mesh mode allows you to instance geometry in the viewports. The display can be similar to Mesh mode but with the added benefit of improved memory management and the ability to display significantly higher poly counts.
- Go to Display>Viewport and turn on Quick Mesh
In order for Quick Mesh mode to work, the active renderer must also support native instancing with RailClone. Several features are not visible in the viewport such as the Material operator, UVW Segment Mapping modes, UVW XForm operator etc.
The more geometry that is actually instanced in your style, the more you will benefit from Quick Mesh mode. Geometry that is sliced, deformed or mirrored isn’t instanced in Quick Mesh mode (or the render). To force instancing, you can disable Slice and Bend on a segment-by-segment basis from the node’s settings.
To manually update RailClone objects
- Go to Display and turn off the Auto tick box.
- 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:
- Go to Display>Render and toggle on/off Use Instancing Engine.
- 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
- Go to Display>Limits
- Adjust the Segments value to increase or decrease the maximum number of segments created by the plugin
- 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
- Go to Display>Debug Mode and turn on Show Up Instances
- The default material ID is set to 100, leave this as it is or if you prefer, set to another number.
- Apply a multi-sub material that includes a material set to the ID specified in the previous step.
- All instanced geometry will be allocated the ID specified above and will render with the associated material.
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.
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.
- 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 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
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.