Grasshopper

algorithmic modeling for Rhino

Excuse me if this has been asked and answered before...  If I have one or more concurrent items, if I highlight a component in GH and look to see the preview in the Rhino window, the highlighted component can be obscured by the non-highlighted one.

It seems that "downstream" components take precedence in draw order, so the problem happens in trying to see some intermediate result...

Shouldn't it be that the highlighted component always gets drawn last (therefore on top?)  Or is that too hard to implement...?

In the attached, clicking the list item component everything highlights correctly as it's downstream from the circle component, but when clicking the circle component the result is partially obscured by the list item.

--Mitch

Views: 599

Attachments:

Replies to This Discussion

Hi Mitch,

ideally all meshes are drawn back to front. This would however involve first collecting all preview stuff and then sorting it along the view-vector. Rhino does this for objects inside the document, but then they're already all in one place.

The draw order of the GH preview is the same as the order in which the components appear in the GH document. You can move components to the back and F5 to draw them first, but I realise this is not a good solution.

An intermediate solution for a future release will be to sort the components back to front using their total clipping boxes. It will not be as fine grained a sorting as per mesh, but it may still be an improvement over the current approach.

I probably won't work on this for GH1, GH2 will be a Rhino6 project which may have a different approach to display.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service