Cinema - MXS Reference

The function of the MXS Reference object is to allow you to link a Maxwell MXS file into your scene at export time.

Path

This is simply the path to an MXS file. The geometry may be scaled and positioned as usual via the Coord. tab. When an MXS file is loaded, it may be opened in Maxwell Studio by clicking the Studio-icon button.

Display

These parameters determine how the reference geometry will be represented in the C4D viewport. Depending on the nature of the geometry, it may be desirable to use bounding boxes (one is created for each mesh in the MXS), or points, which are taken from the mesh vertices contained in the MXS file or use the detail parameter to control how many points are drawn:

Source MXS
Detail: 10%
Detail: 100%

 

Object ID

You can set three different Object ID styles in the case o the MXS References:

  • Container Id: all the objects in the reference will have the same solid color in the Object Id channel. It will be the one specified in the Maxwell Object Properties tag.

  • Content Id: each object in the reference will show the original Object Id color of each object in the reference.

  • Recolor: Maxwell will generate new random colors for each object in the reference (but these color will be persistent between renders).

 

Notes

Objects contained in MXS files are always defined in terms of a meter scale. In C4D, however, an arbitrary scale factor may be in effect. For example, consider an MXS file which contains a one-meter cube, centered at 0,0,0 in space: it has vertices at +/- 0.5 in each quadrant. If this MXS is referenced while C4D's units are set to meters, these coordinates will mean +/- 0.5 meters in C4D, just as they do in the MXS file. If, on the other hand, C4D's units are set to millimeters, these coordinates will have a different meaning: the cube will appear to be 1 millimeter in size. In order to represent the cube at its natural size, as defined in the MXS file, one would need to scale the MXS Reference 1000x using the scale values in the MXS Reference object's Coords tab.

To help with this, the plugin queries the current units setting whenever an MXS Reference object is created, and pre-sets its scale values to make it appear at the correct size in the context of the current C4D unit system. If the C4D units are subsequently changed, the MXS reference will naturally maintain its current size with respect to the other objects contained in the scene. When the document is exported, depending on the Scale Units setting in the exporting Scene Object, the size of all MXS references will be scaled as necessary, in order to obtain a WYSIWYG result.