0

i would like a python script to draw in 3D a triangle bezier patch

this is an old problem and there must be some old script available to do this somehwere!

Thanks for any help

Rickyblender
  • 31
  • 1
  • 3
  • Here is [javascript implementation](https://stackoverflow.com/a/54855502/860099) with theoretical explanation - this should help you to rewrite it to python. – Kamil Kiełczewski Feb 06 '20 at 09:36

1 Answers1

0

OpenGL RedBook, "Chapter 12 Evaluators and NURBS". C examples are here. But I really don't think you'll be able to use it on triangles, only on quads. If you want to go through the trouble of tesselating triangle, pick spline formula from wikipedia, and try to implement it yourself.

SigTerm
  • 26,089
  • 6
  • 66
  • 115