Long Compiling Scene Geometry phase on vrscene from revit

Is there any workflow to speed up the “Compiling Scene Geometry” rendering phase in Max? Right now it takes 8 minutes before it finishes compiling. The same scene imported as FBX and rendered out is almost instantaneous. vrscene file is about 300mb, and has approx 70,000 objects.

If some of these objects are identical, using proxies would definitely speed up the process. Optimizing any displacement (with i.e. Edge length and subdivision) and Fur (with i.e. Lvl of detail and Knots) in the scene should help out as well.

Its a revit based project so i’m sure there are duplicate “families” not sure if those get converted some how to instanced geometry or not when exporting the vrscene. no displacement or fur.

Duplicated families do get exported as instances.

Send us the Revit file archive, FBX and .vrscene so we can take a look. Do that like so:
V-Ray > Settings > Paths & Sharing > check Export as Archive
V-Ray > Render > Export V-Ray Scene

It indeed looks like you have something creating a metric ton of *dynamic* geometry (i.e. created ad-hoc for the rendering phase).
What does the memory usage look like when the process goes on for 8 minutes?
It’s enough to have one stray displacement with bad settings somewhere (it could be a modifier, or a shader.) to force v-ray to subdivide a lot.
If the resolution is big, and edge length is in pixels, that could lead to enormous preparation times (as now displacement is calculated -by default- before the rendering phase starts. It’s quicker that way.).

In fact, the key part is that FBX (most certainly ignoring shaders and modifiers, along with any instancing) simply deals with plain geo, and duly flies when preparing the scene.

Feel free to send us the scenes, as Alex suggested, but you may be quicker out of the issue if you can find the stray setting on your side.

Thanks for the provided files. We’ve managed to reproduce the issue. I’ve logged it (internal bug-tracker id: VMAX-11540) for developer investigation. The issue seems to occur in 3ds Max only (works fine in Standalone), so it may be something the matter with the importer itself. I’ll write back whenever there’s more information.

Aleksandar, wondering if any progress had been made on this topic? Thanks!

@cnd7jones Not quite yet, I’m afraid.