Hi.
I’m working on a small q3a bsp import plugin for blender. BSP contains normal meshes and bezier biquadratic patches, so I would like to use built-in nurbs surfaces for that instead of my own tessellation code. The import of static meshes was piece of cake, but I didn’t find any documentation for nurbs surface. I tried to create new object of “surf” type and link it to scene but it caused blender crash. Next I tried to add some curve data to this object but I didn’t find out what type of curve or what should I to add. Can somebody post a sample of nurbs surface creation from some control point array please?
Thank you
Petr Skramovsky.
You need to deal with CurNurb(s), SurfNurb(s), etc. so take a look here…
Regards,