generative modeling for Rhino
Heya!
Does anyone know what the logic is behind the draw order of multiple custom preview components that have overlapping geometry?
I have 2 custom preview components in my def. One has solids as input, the other has PART of the wireframes of these solids as input.
The geometry of the second component gets hidden due to the other custom preview...
Thanks for looking in!
Tags:
Permalink Reply by Andrew Heumann on August 23, 2012 at 8:56pm Curves are showing through the solids, or completely obscuring them? Can you upload a screen shot?
In general there are some issues with custom display which cause curves to show through surfaces, polysurfaces, and meshes; as far as I know having one or multiple custom preview components doesn't make a difference.
Permalink Reply by Michael Pryor on August 23, 2012 at 9:35pm I also found some odd thing, with custom display on pipes, even with the curves turned off that where piped, a curve is displayed through geometry where a custom previewed pipe is behind the geometry. http://www.grasshopper3d.com/video/grasshopper-flowline-modeling
Permalink Reply by Andrew Heumann on August 24, 2012 at 12:38am This is the same phenomenon - it's the "edge" of the pipe surface being treated like a curve. (All Breps and surfaces in custom display render their edges in the same manner as curves, if I'm not mistaken.) If you mesh the pipe before previewing this effect can be avoided.
Permalink Reply by Michael Pryor on August 24, 2012 at 12:43am yea I know, the nurbs display as edge always annoyed me :)
Permalink Reply by Andrei Raducanu on August 24, 2012 at 12:45am the edges of the solids completely obscure the curves (if i turn off the custom preview of the solids, the curves appear)
© 2013 Created by Scott Davidson.
Powered by