GINO Graphics Suite - GINO v9.0  

gDrawBezierSurface

Syntax

[C/C++:]
void gDrawBezierSurface(int nx, int ny, GPOINT3 *mesh,  ...);
[F90:]
subroutine gDrawBezierSurface(nx, ny, mesh, gUComp, gVComp)

integer, intent(in) :: nx,ny
type (GPOINT3), intent(in) :: mesh(nx,ny)

integer, optional, intent(in) :: gUComp, gVComp

Arguments

nx, ny
Number of points in mesh

mesh
Two dimensions array of 3D mesh points

Optional Args

gUComp ,gVComp
Optional object complexity (default 10 x 10)

Description

The routine gDrawBezierSurface() draws a surface based on an interpolation of the supplied mesh.

The arguments gUComp and gVComp define the object's complexity in its U and V axes respectively. These values determine the number of divisions (facets) in either direction and therefore the object's smoothness.

The facets are drawn in the current facet colour/material according to the current lighting/shading environment and subject to the current modelling/viewing transformations.

See Also

gDrawBezierSurface Usage
gDrawFacet