Construction of cubic Bezier Patch and Surface

Construction of cubic Bezier Patch and Surface
3K Downloads
Updated 27 Feb 2025

View License

The archive contains several files related to the construction and visualization of Bézier surfaces. The main.m script serves as a test program to generate a Bézier surface with 32 patches.
The bezierpatchinterp.m function evaluates a cubic Bézier patch using 16 control points and returns interpolated points.
The plotbezierpatch3D.m and plotbeziersurface3D.m functions plot individual Bézier patches and complete Bézier surfaces, respectively.
Additionally, teapot.mat provides control points for a 3D teapot model composed of 32 patches, each defined by 16 control points in three-dimensional space.
Lastly, BezierCurveSurface.pdf offers a brief overview of Bézier curves and surfaces.

Cite As

Dr. Murtaza Ali Khan (2025). Construction of cubic Bezier Patch and Surface (https://www.mathworks.com/matlabcentral/fileexchange/37876-construction-of-cubic-bezier-patch-and-surface), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.2

Better documentation

1.0.0.0