Quantcast
Viewing all articles
Browse latest Browse all 8549

VisualAnalysisMode Draw-Methods vs UpdateVertexColors

@Tom_ wrote:

Dear Everybode, and mostly @stevebaer
I would love to write a custom CurvatureAnalysis Version.

There is a nice example how to inherit VisualAnalysisMode:

But from the Rhinocommon-Documentation - for me it is not clear what is the Relation between UpdateVertexColors compared to all the virtual Draw… methods like DrawBrepObject or DrawNurbsSurface.

And are the Draw… Methods nested ? therefore will DrawBrepObject call DrawNurbsSurface for every Brep-Face ?

If i want to false-color a brep, the documentation tells me for false color i must override UpdateVertexColor - do i get the curvature-Information from the also passed RhinoObject ?
At the same color the documentation tells that DrawNurbsSurface is a good place to " display object-related meshes" - and i thought all surfaces in the document are Breps

A bit lost where to start.
Thanks for a starting-Point - after understanding the example mentioned above.
best regards
tom

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8549

Trending Articles