GINO Graphics Suite - GINO v9.0
gEnqMaterial
Syntax
[C/C++:]
void gEnqMaterial (int mat, GMATSTY *rep);
[F90:]
subroutine gEnqMaterial (mat, rep) integer, intent(in) :: mat type (GMATSTY), intent(out) :: rep
Arguments
mat
Material table index (1-256)
rep.ambient
Ambient reflection coefficient ( 0.0 - 1.0)
rep.diffuse
Diffuse reflection coefficient ( 0.0 - 1.0)
rep.specular
Specular reflection coefficient ( 0.0 - 1.0)
rep.shine
Specular concentration (shininess) (%)
rep.trans
Translucence (filtering) ( 0.0 - 1.0)
Description
The routine gEnqMaterial() returns the material coefficients and values of an entry in the material table. These values are set using the routine gDefineMaterial().
See Also
gEnqMaterial Usage gDefineMaterial