Hi everybody,
I’m currently struggeling with one file, that just won’t open when I have the VRay Plugin enebled.
I need to render this file with VRay so theres no way I can just leave it disabled. Any ideas how to fix that?
Hi,
are you opening a .3dm ot a .3dmbak file ?
I tried both, none of them is working. By now I found a little workaround. I disable VRAY in a new file, then I open my broken file and activate it again inside that file. I have no idea why that works but it does…
Hi
that “workaround” is one terrible idea. In this case V-Ray will not receive OnBeginOpenDocument() from Rhino; won’t fill caches up; will not migrate your data if that is necessary… to name a few important steps. Basically you might get your scene seriously broken when save you the file
Can we just figure out what is wrong instead ? It is obvious that it is happening during document loading ( since skipping that step eliminates the problem )
Do you have files (textures, proxies, cosmos assets, etc) located on a network drive?
If so, have you made sure you have successfully logged in to that location prior opening the file?
Do you have a firewall blocked certain network ports? like 30305?
if not:
could you share the file ?
could you contact Chaos Support ? I’ll join the session and try to debug
or at least can you simplify the model to a point where it loads as fast as expected.
there is so many other things that could be done
Hi Nikolay
I am having literally the same issue. It happens from time to time and I’ve been using the same workaround method as Paul.
Here are a couple of other things I tested:
-
the issue happens randomly? Sometimes I can open the file with no problem, and the next time I open it, the issue occurs and I have to use the workaround.
-
I have tested the latest Vray on both Rhino 7 and 8, both having the same issue.
-
when this happens, I can open any file with no vray scene, but any file with any amount of vray scene in it, I can not open it.
Hi,
How often “randomly” means ?
Any luck solving the issue? I am having the same problem with my file.
4/5 times. I am having the same problem and the only time i was successful in opening the file with vray plugin enabled was when i re-downloaded the licensing server from chaos and opened the file directly after.
I have strong suspicion that this is the texture sampler. Currently all textures that are unsupported by Rhino are sampled by V-Ray into simple image files that Rhino can display.
Depending on the size and number of the textures it could take a lot of time, and that is a blocking operation. You could use the command _vrayTexturePreviewSettings _MatchBitmapResolution=_Off _BakeResolution=256
, to reduce the size of the images. This will make sampling relatively fast. You can run the command on a empty file, and then use File->Open to open your big scene (this settings persists for the Rhino session)
If your texture files are on a network location, that is slow or unreachable, you will still get into that problem though.
In the WIP version of V-Ray this operation is deferred to an working thread, so the main thread is not blocked.
Mind that I might be wrong about my suggestion
I see, appreciate your help! I’ll give it a go.