The latest Rhino WIP (May 16, 2017) contains a large rewrite of the block display code. You should see performance improvements in models that use many blocks (including nested blocks.)
This was a large rewrite so I won’t be surprised if there is a bug or two that still need to be squished. Please let me know if you have models that are not showing any performance improvements or don’t appear to be displaying blocks correctly.
just installed the new wip and opened a file with over 60 blocks which i was working with the last week. i really feel a huge improvement.
last week i was totally feed up with working on that file, display performance was just terribly lagging.
of course my “feeling” is not an accurate comparison - but i’m pretty happy this happened.
I had high hopes when I saw the title of the update, since we model large models exclusively made with blocks.
In opaque shades modes, the result is indeed amazing, but as soon as I use a shading mode with transparency, it’s back to snail-speed.
Even worse, it completely screws up the benefits of the previous update : the framerate is down to sub-V5 levels, and the switching between shaded and wireframe is stuttering.
I never use opaque shaded modes ; I find that a slight transparency helps a lot.
I have tested few of the current files I am currently working on in WIP.
Enclosed is the export of one block which was visible in the pre-last WIP but not visible in the latest WIP.
Actually, it becomes visible only when you select it -> please, pick in the middle of the rectangle area.
Similar behavior but maybe a bit different:
Blocks are present in the file - I can see this in Block preview and can count them in the Block Manager.
But when I try to select those - it says no objects to be selected.
See screenshots enclosed.
In the previous WIP it was ok.
I tested what Osuire said and I can confirm that as soon as I switch to ‘ghosted’ mode the viewport becomes extremely sluggish. I tried activating the new OpenGL tesselation feature, but also no improvement there, so I guess that there might be some bug still hidden somewhere.
Other than that I find the renderspeed of the viewport greatly improved when using blocks.
I noticed that ‘ghosted’ mode is not working with blocks, they are still displayed solid. After exploding them, they are rendered fine. Also ghosted mode is very slow right now with lots of blocks. (Work In Progress
There is a transparency bug as I mentioned in the initial post that needs to be fixed. https://mcneel.myjetbrains.com/youtrack/issue/RH-39146
I believe all of the transparent issues that you are seeing are related to this bug. Hopefully we will get this issue resolved soon.
Another issue I have noticed:
when being inside one block - all the other objects (outside block) are shown in gray (usual).
But now - when modifying one block - all other blocks in the drawing are shown with its current color and not gray.
I was trying to hide unnescessary circles on blocked acoustic panels (Approx 2000 on each panel) by packing all circles in a hidden layer. They keep being visible even if I hide the layer and display performance is a bit
better but not enough.
I did a quick test with two surfaces AND the split curve is shown in white:
(I guess this is what you see as well, that the surface edge and the curves aren’t identically optimized)
And here the curve is hidden:
And here it is shown and hidden again (point is that either the green or the red edge is showing):
As you can see the surface edges are drawn in the same manner, but the curve isn’t using the same optimization settings (if any).
Edit: This was odd, viewcapturetoclipboard seems to use a different draw order than the viewport it self… or something is messing up the paste here as I can’t capture the reversed draw order with viewcapturetoclipboards, so I used another tool:
I think the quality needs to be improved😀 Is there a couple curve in there as well as surface edges? Curves are not currently using GPU tessellation which is causing slight differences in depth biasing of the wires. Once curves are drawn using the same technique as surface edges, then the quality should improve