Hello,
I am trying to draw surface with c++ plugin like a below image, but I could not find any function for this.

I am trying find a function like surf in MATLAB (surf) which gets three matrix as parameters.
Hello,
I am trying to draw surface with c++ plugin like a below image, but I could not find any function for this.

I am trying find a function like surf in MATLAB (surf) which gets three matrix as parameters.
Hi @omidk,
You can create this in Rhino by creating a mesh that has vertex colors. You can also draw an object with false colors dynamically using a display conduit.
https://github.com/mcneel/rhino-developer-samples/blob/6/cpp/SampleCommands/cmdSampleFalseColor.cpp
ā Dale
@dale thanks a lot.
Hi @dale,
Sorry, I have one more question. Is there any way to draw surface with point cloud? I want to pass a bunch of points, and rhino fits surface on them.
Thanks
Hi @omidk,
If you points are in a uniform grid, you can use NurbsSurface.CreateThroughPoints.
ā Dale