V-Ray 5 has an experimental option that allows converting scene objects with a V-Ray Displacement modifier to a V-Ray Proxy (.vrmesh) file. Once converted to V-Ray Proxy object, the geometry can be also imported to native 3ds Max mesh using the Import as mesh functionality.
- Select the desired object in the viewport.
Note: The object should have a V-Ray Displacement modifier in 3d mapping mode
- Open the 3ds Max MAXScript Listener from the Scripting menu
- Type and run the script below
$.VrayDisplacementMod.write_vrmesh="C:\\path\\to\\file.vrmesh"Note: replace the file path and the output file name in the string according to your needs.
- Start the V-Ray Rendering process to export the .vrmesh file at the pre-rendering stage.
- Additional steps and adjustments:
The resulting V-Ray Proxy file can be imported back in 3ds Max using the Drag and Drop functionality or the V-Ray Proxy Importer.
The Import as mesh option allows you to convert the proxy to an Editable mesh.
Note: You may need to set all the edges to be Visible from the Editable mesh modifier properties.
Currently, only V-Ray Displacement with 3D Mapping type can be converted with this script.
2D mapping and Subdivision will not work.