from outline points to 2D-filled NURBS shape


    May 22 2016 | 11:49 pm
    Hi All,
    I know - more or less - how to draw closed 2D-shape outline from Bezier-like strokes with jit.gl.sketch, but I don’t know how to fill the shape. Is there a way to build 2D shapes with jit.gl.nurbs from outline coordinates ?
    thanks
    Pry

    • May 23 2016 | 12:05 pm
      I think this is a non-trivial problem to solve in Max, because holes can be caused by the sequence order of the points. But I can't tell offhand if that is the cause with your particular abstraction due to the shape complexity.
      If that is the cause, the easiest solution is to start with a grid and distort it, rather than drawing the nurbs object directly. that way you can apply clipping to the amount each point is allowed to move so that the points do not move outside the grid pattern.
    • May 23 2016 | 9:27 pm
      Thank you for your answer Ernest, indeed it sounds like a simple question, but this is a non-trivial problem. Maybe Jitter isn't the right software to do this kind of things. Too bad.
    • May 23 2016 | 9:57 pm
      Well it is not too difficult to set restraints on distorting a grid. If you clip it so the grid cannot fold across the center line, it should work. Generally it is better to use the control matrix to modify an existing shape, rather than to input the shape directly.