pboyer / verb

Open-source, cross-platform NURBS
http://www.verbnurbs.com
MIT License
741 stars 106 forks source link

Increase the subdivision count without increasing the number of points #55

Closed hoomanaskari closed 3 years ago

hoomanaskari commented 3 years ago

Hi,

Not sure if this great repo is still maintained, but I am gonna ask any ways.

Wondering if there is any way to increase the subdivision count (number of triangles) without increasing the number of control points for byKnotsControlPointsWeights and byCorners? This is particularly useful when using verb.geom.NurbsSurface.byCorners

when I use it with 4 corners, most of the times I can see the surface (texture) being triangulated. I am working in 2D only.

Thanks in advance.

hoomanaskari commented 3 years ago

Never mind, found my answer here: https://github.com/pboyer/verb/issues/20