bezier_surface_display


bezier_surface_display, a MATLAB code which gets the names of the node and rectangle files defining a Bezier surface, reads the information from the files, and displays the surface on the screen.

BEZIER_SURFACE_display was a "work in progress". I managed to read the data in and display a crude image, in which each Bezier patch is represented by a flat rectangle. Obviously, I would want to take the next step, which is to be able to sample the bicubic function and display a finer mesh of rectangles, in order to see the teapot in its glory!

Usage:

bezier_surface_display ( 'node_file', 'rectangle_file' )
where

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

bezier_surface_display is available in a MATLAB version.

Related Data and Programs:

ball_and_stick_display, a MATLAB code which demonstrates the creation of a 3D "ball and stick" image;

bezier_surface, a data directory which contains examples of Bezier surface files.

bezier_surface, a MATLAB code which reads, writes, and manipulates Bezier surface files.

bezier_surface_display_test

fem_basis_t3_display, a MATLAB code which displays a basis function associated with a linear triangle ("T3") mesh.

fem_basis_t6_display, a MATLAB code which reads a quadratic triangle mesh and displays any associated basis function.

mesh_display, a MATLAB code which reads data defining a polygonal mesh and displays it, with optional numbering.

obj_display, a MATLAB code which reads an OBJ file defining a 3D object and displays it within MATLAB.

polygonal_surface_display, a MATLAB code which reads two files defining a polygonal surface and displays it within MATLAB.

quad_surface_display, a MATLAB code which reads files defining a 3D quadrilateral mesh surface and displays it within MATLAB.

stla_display, a MATLAB code which reads an ASCII STL file and displays it.

tet_mesh_display, a MATLAB code which reads files defining a tet mesh and displays an image within MATLAB.

tri_surface_display, a MATLAB code which reads data defining a triangular mesh of a 3D surface and displays it.

triangulation_order1_display, a MATLAB code which reads files defining a piecewise constant triangulation of data, and displays a corresponding 3D surface.

Reference:

  1. Edward Angel,
    Interactive Computer Graphics, a Top-Down Approach with OpenGL,
    Addison-Wesley, 2000,
    ISBN: 0-201-38597-X,
    LC: T385.A514.

Source Code:


Last revised on 01 December 2018.