Latest WIP freezes when opening scene with many instances

I just updated to the latest Rhino WIP and tried opening a scene I had just previously opened in the WIP, which contains many instances (65k) of the same object (its just a cube).

Whereas in the previous WIP, this would open in a few seconds, the latest WIP has been frozen for many minutes now. It finally opened after about 5 minutes.

So definitely a major regression there.

Here is the file in a zip, because its just over 20MB.
2023-05-02_13-14-05_bait.zip (4.6 MB)

Meanwhile is there an easy way to downgrade the WIP? I would hate to have to uninstall and reinstall all plugins, etc.

ps: actually I am not sure if the BlockManager just takes that long to open or if it is not opening at all, but I try to open it and it just does nothing.

I also tested again with Rhino 7 and the file opens there near instantly.

I thought you were supposed to make working with instances better, not worse! Render performance in the viewport is still horrendous, seeing they are all instances of a simple cube. How can we have this number of instances rendered with lighting and shadows at over 100 fps in 4K, but in your viewport I can render the same instances in wireframe mode at half the size and still only get something like 5-10fps!?

What’s also very strange is that if I export the 65k instances as a V-Ray Scene (.vrscene) file and then place it in Rhino again, I can now see all 65k instances and even use Ghosted shading in the viewport and now the viewport is super fast.

So how is V-Ray rendering its meshes differently than you are rendering them and how come they manage to make it that much faster?

Hi Armin,

I just opened your file in the latest WIP in a couple of seconds, so looks like it could be something specific to your system…

Regards
Jeremy

Strange. I literally had the file open in the previous Rhino WIP. When closing it said a new version is available, so I did the update. Then opened the same file again and it just does nothing for several minutes.

Did a restart, but same behavior.

So it must be related to the new version in some way.

I’m on 8.0.23115.4305, 2023-04-25. I don’t have V-Ray - maybe disable the plug-in temporarily and see if that makes a difference?

I have disabled V-Ray, D5 Render and Bongo, but still getting the same behavior:

image

It takes around 4 minutes to open the scene that takes around 3 seconds to open in Rhino 7 or previous WIP.

I see there were some block related changes made in the latest WIP.

Where can I download the previous WIP version again?

You may still have it in your %userprofile%\Appdata\local\McNeel\McNeelUpdate\DownloadCache\ folders

Is there some way to see a log of Rhino, so I can see why it’s taking so long to open? I just tried again after a restart and it takes around 5 minutes to open the file.

Thank you @jeremy5 . Luckily the previous version was still there. I uninstalled the WIP and installed 8.0.23108.14305, 2023-04-18.

Now the file opens in just a few seconds again.

You might want to take a look at what changed in the latest version, I remember seeing 2 things around blocks that were changed.

I just tried it again with the file and even though the second to last WIP opens the file a lot quicker again, I have to say the viewport performance is considerably worse in WIP than in Rhino 7.

You can see a recording here: Dropbox - Desktop 2023.05.03 - 12.06.06.01.mp4 - Simplify your life

The PC is a fairly recent gaming PC with i9-11900K, 32GB Ram and a RTX3070 graphics card.

I think and know that a good PC should be able to render 65k instanced cubes very fast. The software that created the file I am loading displays them and transforms them, changes their material and swaps geometries in realtime at >30fps. So it’s definitely possible.

So I am a bit worried that Rhino 8 has loads of cool stuff like Shrinkwrap, which we use a lot, but is not really an improvement on the viewport rendering speed, which we felt is one of Rhino’s big shortcomings.

Hopefully things get ironed out and actually improve over 7 by the time 8 comes out.