home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3DS Max Model 2
/
3dsModelCD2.iso
/
ALTEROS
/
setup.exe
/
#setuppath#
/
PLUGINS
/
GLC.X3D
/
CPP
/
USE_DEFMATERIAL
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-04-04
|
296 b
|
8 lines
//
// Define the reflective properties of the 3D Object faces.
//
GLfloat glfMaterialColor[] = { nSize, (1.0f - nCol), (1.0f - nSize), nCol };
glMaterialfv (GL_FRONT, GL_AMBIENT_AND_DIFFUSE, glfMaterialColor);
glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS,20);