Home
last modified time | relevance | path

Searched refs:GL_FRONT_AND_BACK (Results 1 – 25 of 2150) sorted by relevance

12345678910>>...86

/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/demos/
H A Dmorph3d.c375 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]); in draw_tetra()
380 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]); in draw_tetra()
386 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]); in draw_tetra()
391 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]); in draw_tetra()
406 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]); in draw_cube()
409 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]); in draw_cube()
412 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]); in draw_cube()
415 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]); in draw_cube()
418 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[4]); in draw_cube()
421 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[5]); in draw_cube()
[all …]
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/demos/
H A Dmorph3d.c375 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]); in draw_tetra()
380 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]); in draw_tetra()
386 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]); in draw_tetra()
391 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]); in draw_tetra()
406 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]); in draw_cube()
409 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]); in draw_cube()
412 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]); in draw_cube()
415 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]); in draw_cube()
418 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[4]); in draw_cube()
421 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[5]); in draw_cube()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gl-1.0/
H A Ddlist-materials.c70 glMaterialfv(GL_FRONT_AND_BACK, mat, red); in make_list()
75 glMaterialfv(GL_FRONT_AND_BACK, mat, red); in make_list()
79 glMaterialfv(GL_FRONT_AND_BACK, mat, red); in make_list()
84 glMaterialfv(GL_FRONT_AND_BACK, mat, red); in make_list()
88 glMaterialfv(GL_FRONT_AND_BACK, mat, green); in make_list()
93 glMaterialfv(GL_FRONT_AND_BACK, mat, green); in make_list()
114 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, black); in test_material()
115 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, black); in test_material()
116 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in test_material()
117 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in test_material()
/dports/x11/xlockmore/xlockmore-5.67/modes/glx/
H A Dmorph3d.c503 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[0]); in draw_tetra()
510 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[1]); in draw_tetra()
516 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[2]); in draw_tetra()
521 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[3]); in draw_tetra()
530 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[0]); in draw_cube()
535 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[1]); in draw_cube()
538 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[2]); in draw_cube()
541 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[3]); in draw_cube()
544 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[4]); in draw_cube()
809 glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, front_shininess); in pinit()
[all …]
H A Dmoebius.c254 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialGray5); in draw_moebius_ant()
256 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Material); in draw_moebius_ant()
449 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialWhite); in draw_moebius_strip()
451 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialRed); in draw_moebius_strip()
453 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialGray); in draw_moebius_strip()
466 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); in draw_moebius_strip()
482 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialRed); in draw_moebius_strip()
484 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialGray); in draw_moebius_strip()
490 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialRed); in draw_moebius_strip()
500 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in draw_moebius_strip()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/glx/
H A Dmorph3d.c323 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[0]); in draw_tetra()
330 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[1]); in draw_tetra()
336 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[2]); in draw_tetra()
341 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[3]); in draw_tetra()
350 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[0]); in draw_cube()
355 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[1]); in draw_cube()
358 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[2]); in draw_cube()
361 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[3]); in draw_cube()
364 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mp->MaterialColor[4]); in draw_cube()
634 glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, front_shininess); in pinit()
[all …]
H A Dbouncingcow.c296 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, color); in render_cow()
297 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, black); in render_cow()
298 glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, 128); in render_cow()
303 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, color); in render_cow()
304 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, black); in render_cow()
305 glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, 128); in render_cow()
310 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, color); in render_cow()
312 glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, 128); in render_cow()
320 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in render_cow()
329 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in render_cow()
[all …]
H A Dflyingtoasters.c468 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, color); in init_toasters()
469 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
470 glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, shiny); in init_toasters()
490 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, color); in init_toasters()
491 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
515 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
524 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
533 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
542 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
551 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, spec); in init_toasters()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/stlgeom/
H A Dvsstl.cpp93 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
227 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
277 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
346 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
397 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
401 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
466 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
491 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
692 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
696 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
[all …]
/dports/cad/netgen/netgen-6.2.2105/libsrc/stlgeom/
H A Dvsstl.cpp93 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
227 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
277 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
346 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
397 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
401 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
466 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
491 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
692 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
696 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/common_ogl/
H A Dogl_utils.cpp135 glMaterialfv( GL_FRONT_AND_BACK, GL_AMBIENT, &ambient.r ); in OglSetMaterial()
136 glMaterialfv( GL_FRONT_AND_BACK, GL_DIFFUSE, &diffuse.r ); in OglSetMaterial()
137 glMaterialfv( GL_FRONT_AND_BACK, GL_SPECULAR, &specular.r ); in OglSetMaterial()
138 glMaterialfv( GL_FRONT_AND_BACK, GL_EMISSION, &emissive.r ); in OglSetMaterial()
139 glMaterialf( GL_FRONT_AND_BACK, GL_SHININESS, shininess ); in OglSetMaterial()
152 glMaterialfv( GL_FRONT_AND_BACK, GL_AMBIENT, &ambient.r ); in OglSetDiffuseMaterial()
153 glMaterialfv( GL_FRONT_AND_BACK, GL_DIFFUSE, &diffuse.r ); in OglSetDiffuseMaterial()
154 glMaterialfv( GL_FRONT_AND_BACK, GL_SPECULAR, &specular.r ); in OglSetDiffuseMaterial()
155 glMaterialfv( GL_FRONT_AND_BACK, GL_EMISSION, &emissive.r ); in OglSetDiffuseMaterial()
156 glMaterialf( GL_FRONT_AND_BACK, GL_SHININESS, 0.0f ); in OglSetDiffuseMaterial()
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/visualization/
H A Dstlmeshing.cpp93 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
227 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
277 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
346 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
397 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
401 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
466 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
491 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
529 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
692 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
[all …]
/dports/cad/netgen/netgen-6.2.2105/libsrc/visualization/
H A Dstlmeshing.cpp93 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
227 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
277 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
346 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
397 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
401 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
466 glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); in DrawScene()
491 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
529 glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); in DrawScene()
692 glMaterialfv (GL_FRONT_AND_BACK, in DrawScene()
[all …]
/dports/graphics/fpc-opengl/fpc-3.2.2/packages/opengl/examples/
H A Dmorph3d.pp406 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]);
411 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]);
417 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]);
422 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]);
438 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]);
441 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]);
444 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]);
447 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]);
450 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[4]);
453 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[5]);
[all …]
/dports/lang/fpc-source/fpc-3.2.2/packages/opengl/examples/
H A Dmorph3d.pp406 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]);
411 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]);
417 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]);
422 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]);
438 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[0]);
441 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[1]);
444 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[2]);
447 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[3]);
450 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[4]);
453 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialColor[5]);
[all …]
/dports/science/gabedit/GabeditSrc251_300720/src/Display/
H A DTriangleDraw.c146 glMaterialdv(GL_FRONT_AND_BACK,GL_DIFFUSE,color1); in TriangleShowColorMap()
151 glMaterialdv(GL_FRONT_AND_BACK,GL_DIFFUSE,color2); in TriangleShowColorMap()
156 glMaterialdv(GL_FRONT_AND_BACK,GL_DIFFUSE,color3); in TriangleShowColorMap()
193 glMateriali(GL_FRONT_AND_BACK,GL_SHININESS,120); in IsoDrawMapped()
250 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in IsoGenOneList()
255 glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); in IsoGenOneList()
261 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in IsoGenOneList()
266 glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); in IsoGenOneList()
335 glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); in IsoGenOneList()
386 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in CubeDraw()
[all …]
H A DPlanesMappedDraw.c195 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in PlanDraw()
215 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in PlanDraw()
236 glMaterialdv(GL_FRONT_AND_BACK,GL_AMBIENT,Ambiant); in drawAllRectangles()
237 glMateriali(GL_FRONT_AND_BACK,GL_SHININESS,120); in drawAllRectangles()
239 glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); in drawAllRectangles()
299 glMaterialdv(GL_FRONT_AND_BACK,GL_DIFFUSE,Diffuse); in drawAllRectangles()
300 glMaterialdv(GL_FRONT_AND_BACK,GL_AMBIENT,Diffuse); in drawAllRectangles()
308 glMaterialdv(GL_FRONT_AND_BACK,GL_DIFFUSE,Diffuse); in drawAllRectangles()
335 glPolygonMode(GL_FRONT_AND_BACK,GL_LINE); in drawAllRectangles()
355 glMateriali(GL_FRONT_AND_BACK,GL_SHININESS,120); in PlanesMappedGenOneList()
[all …]
/dports/graphics/wdune/wdune-1.926/src/
H A DNodeMaterial.cpp128 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, ambientColor); in bind()
129 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, dc); in bind()
130 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, ec); in bind()
131 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 128.0f * in bind()
133 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, specularColor()->getValue()); in bind()
164 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, ambientColor); in unbind()
165 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuseColor()->getValue()); in unbind()
166 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, emissiveColor()->getValue()); in unbind()
167 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, shininess()->getValue()); in unbind()
168 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, specularColor()->getValue()); in unbind()
H A DRenderState.cpp186 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in drawTranslationHandles()
187 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in drawTranslationHandles()
235 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in draw6DHandles()
236 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in draw6DHandles()
284 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in draw6DlocalHandles()
285 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in draw6DlocalHandles()
333 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in drawRocketHandles()
334 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in drawRocketHandles()
382 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); in drawHoverHandles()
616 Util::myGlMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, color); in drawScaleHandle()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/base/gfx/opengl/
H A Dmeshx_opengl.cpp55 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, _materials[materialIndex]->_diffuse.data); in render()
56 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, _materials[materialIndex]->_diffuse.data); in render()
57 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, _materials[materialIndex]->_specular.data); in render()
58 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, _materials[materialIndex]->_emissive.data); in render()
59 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, _materials[materialIndex]->_shininess); in render()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/general/
H A Ddlist-color-material.c66 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, black); in test_material_coef()
67 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, black); in test_material_coef()
68 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); in test_material_coef()
78 glColorMaterial(GL_FRONT_AND_BACK, coef); in test_material_coef()
87 glMaterialfv(GL_FRONT_AND_BACK, coef, red); in test_material_coef()
/dports/math/scilab/scilab-6.1.1/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/
H A DJoGLLightManager.java94 … drawingTools.getGl().glColorMaterial(GL2.GL_FRONT_AND_BACK, GL2.GL_AMBIENT_AND_DIFFUSE); in setMaterial()
96 …drawingTools.getGl().glMaterialfv(GL2.GL_FRONT_AND_BACK, GL2.GL_AMBIENT, material.getAmbientColor(… in setMaterial()
97 …drawingTools.getGl().glMaterialfv(GL2.GL_FRONT_AND_BACK, GL2.GL_DIFFUSE, material.getDiffuseColor(… in setMaterial()
99 …drawingTools.getGl().glMaterialfv(GL2.GL_FRONT_AND_BACK, GL2.GL_SPECULAR, material.getSpecularColo… in setMaterial()
100 …drawingTools.getGl().glMaterialf(GL2.GL_FRONT_AND_BACK, GL2.GL_SHININESS, material.getShininess()); in setMaterial()
102 drawingTools.getGl().glMaterialfv(GL2.GL_FRONT_AND_BACK, GL2.GL_EMISSION, f, 0); in setMaterial()
/dports/databases/grass7/grass-7.8.6/raster3d/r3.showdspf/
H A Ddo_color_ogl.c40 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, &material[9]); in do_lights()
41 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, &material[5]); in do_lights()
42 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, &material[1]); in do_lights()
43 glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, &material[13]); in do_lights()
48 glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE); in do_lights()
/dports/games/scorched3d/scorched/src/client/graph/
H A DModelRendererMesh.cpp220 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mesh->getAmbientColor().asVector4()); in drawMesh()
224 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mesh->getDiffuseColor().asVector4()); in drawMesh()
228 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mesh->getSpecularColor().asVector4()); in drawMesh()
232 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, mesh->getEmissiveColor().asVector4()); in drawMesh()
236 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, mesh->getShininessColor().asFloat()); in drawMesh()
243 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mesh->getAmbientNoTexColor().asVector4()); in drawMesh()
247 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mesh->getDiffuseNoTexColor().asVector4()); in drawMesh()
251 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mesh->getSpecularNoTexColor().asVector4()); in drawMesh()
255 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, mesh->getEmissiveNoTexColor().asVector4()); in drawMesh()
259 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, mesh->getShininessColor().asFloat()); in drawMesh()
/dports/x11-wm/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8/src/atlantis/
H A Dfish2.c162 glMaterialfv (GL_FRONT_AND_BACK, GL_SHININESS, UserDefined_DS_85_shininess); in DrawAnimatedFish2()
163 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT, UserDefined_DS_85_ambient); in DrawAnimatedFish2()
164 glMaterialfv (GL_FRONT_AND_BACK, GL_DIFFUSE, UserDefined_DS_85_diffuse); in DrawAnimatedFish2()
165 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, UserDefined_DS_85_specular); in DrawAnimatedFish2()
189 glMaterialfv (GL_FRONT_AND_BACK, GL_SHININESS, UserDefined_DS_85_shininess); in DrawAnimatedFish2()
190 glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT, UserDefined_DS_85_ambient); in DrawAnimatedFish2()
191 glMaterialfv (GL_FRONT_AND_BACK, GL_DIFFUSE, UserDefined_DS_85_diffuse); in DrawAnimatedFish2()
192 glMaterialfv (GL_FRONT_AND_BACK, GL_SPECULAR, UserDefined_DS_85_specular); in DrawAnimatedFish2()

12345678910>>...86