Referenced MXS files

Maxwell Render can render referenced MXS files, if you don't want your geometry to be embedded in the scene. This allows you to replace repetitive or complex static geometry in your main scene by a reference to an MXS file (containing the object(s) and materials), and Maxwell will take the geometry from that external file at render time, before voxelization, dramatically reducing the main scene export time and the size of the scene file (saving space in disk and band width on transfers for network rendering). 

The referenced object(s) must be an MXS file, and only the geometry and materials and its hierarchy will be taken from it. The cameras, environment and scene settings will be taken from the parent scene. The reference MXS file can contain any number of objects and materials, it can in fact be a completely different scene.

 

One limitation is, you cannot have an MXS Reference inside another MXS Reference. If you intend to use an MXS as a reference, please make sure it contains no referenced MXS file(s) inside it.

Working with referenced MXS files

Allows you to maintain independence between your objects and the scenes that contain them, which is extremely useful in a collaborative production environment. Using them instead of regular objects allows you to: 

  • Use the exact same object in different scenes (as the same object is invoked at render time from the same MXS file) and keep them synchronized with the latest updates

  • Perform changes in the referenced MXS that will be automatically updated in all the scenes that use it (without needing to change the parent scene)

  • Reduce your export time (and scene file size) as the geometry doesn't need to be exported for each frame of an animation

 

A unique palm object stored as an external MXS file is referenced and instanced in the scene several times to generate a forest with a very small file size

 

Just replacing the referenced MXS file by a new one with the same name, automatically replaces the object when it is invoked at render time

Most of the plug-ins and Maxwell Studio allows you to load MXS references directly in your scenes, displaying them as a point cloud to get an idea of it's size and shape. Materials already applied to the objects inside the MXS will be kept or you can override the material by applying another one to the reference. 

Keep in mind that references inside other references can not be found by the engine. Only first generation references (files on disk directly linked into the scene) will be renderable. 

 

Another smart usage of referenced geometry

If you are creating a fly-through sequence with the camera traveling across your scene, you could reference the whole geometry to a MXS file, and move the camera around. As the geometry doesn't need to be exported (being an external link), the exportation of each frame will be really fast, and the MXS file for each frame of the animation will be very small. This is very suitable for Network rendering as only a small MXS file per frame needs to be transferred to all the nodes, and the main MXS reference scene which contains all the geometry will be sent only once to each node.