
After the V-Ray proxy is imported, its parameters are accessible in the V-Ray Proxy Manager.īefore you can import a mesh through a proxy object, you need to save (export) the mesh to file first. The proxy import process creates a VRayProxy node, which references geometry from a file on disk. Therefore, if you plan on doing modifications to the mesh, you should keep it in a Cinema 4D file (which may be different from the file that gets rendered in the end). vrmesh file (this can be done in principle, but with some limitations). There is no way to recover the original mesh from a. You can't change the mesh, or animate it in any way other than animating the position/orientation of the proxy object.

No further modifications to the mesh are expected. It is important to note that the mesh is in a "ready-to-render" format.

The file also contains a simplified version of the mesh used for preview purposes in the viewports. In addition, the mesh is preprocessed and subdivided into chunks for easier access. In short, everything that is needed to render the mesh is included in the file. This file contains all geometric information for a mesh such as vertices and face topology as well as texture channels, face material IDs, smoothing groups, and normals. #Python tag gives doc and op (except op is the tag)ĬharAmount = 18 #number of characters to replace at the beginning.Meshes are exported to a special. *yes I know my header file has too much but it won’t hurtįrom c4d import bitmaps, documents, gui, modules, plugins, storage, symbols as sy, utils Just learning python so it may take me a minute to figure out or someoneelse can add to it. If there are a zillion of these objects then I can add more to the script to go thru the whole OM, check for type and do it automatically. This current script needs you to select the Vray proxy object then hit ‘execute’ on the script manager.

Then replace the replace variable with what you want to replace it with. Replace the charAmount number with the amount of characters you will replace at the beginning. In the Python Script Manager paste the following code after the hash marks. This one doesn’t sort thru and check for the type but in the need for having something now, here is what I have:
