OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Articles - Setting a GLScene object color


Non textured materials can be applied to a scene object. For example it is possible to have green sphere. The color of a material can be set in the TGLMaterial frontproperties.emmission property. For example
TGLMaterial.frontproperties.emission.asWincolor(clGreen)

To use a non textured material set TGLMaterial.texture.disabled to true.

To assign a material to a GLScene object refer to the texture assigning article.

By skinhat
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0340 seconds