If I have large elements made in Grasshopper they will disappear when I zoom out in the Rhino doc (perspective viewport only, the rest works fine).
They start to appear if I select them on the GH canvas or if I zoom back in again.
Any Idea how to prevent this behaviour?
(Placing something as large as the GH objects helps also, but its not really a nice workaround)
When drawing selected previews, the camera transformation in the viewport is slightly bumped so that selected objects are always drawn slightly in front of other geometry in the same location. This may explain why there’s a difference between selected and unselected.
But it shouldn’t be happening either way, so it would be nice if you could upload a file that shows this effect.
So either 6.10 somehow fixed it, or there was something completely different off.
The GH file it self is old – it was made 2015 – but right now I can’t reproduce the effect.
You are right, didn’t do it for some time, since I had problems at one point with newer ones. But I updated now und it seems, it’s gone now (atleast the same file now behaves fine).
To David: Yes, if you put something into the Rhino file like a point etc. it’s fixed as well.
Yes it’s a problem with the OpenGL clipping planes. Before you can start drawing stuff in ogl you have to specify the nearest and furthest points you want to include. Normally Rhino collects the bounding boxes of all the things it’s going to draw. But when the Rhino document is empty it sometimes thinks that it doesn’t have to include grasshopper previews as well. “We’re not drawing anything, so no need to set everything up properly”…
Thank you for the technical explanation, David. Exactly something like this I had in mind, just didn’t expected this to be some OGL thing, but makes totally sense.
It was a bug a while ago, but got fixed in more recent versions. Since you’re running a recent version either someone put it back in again or it’s a different bug which manifests in the same way.