Hi,
I have a problem with specular color. I load a VRML file (Artoolkit2.65vrml)
with an IndexedFaceSEt (ifs) node. The material of ifs node has folowing
properties:
appearance Appearance {
material Material {
diffuseColor 0.5882 0.5882 0.5882
ambientIntensity 1.0
specularColor 1.0 0.0 0.0
shininess 1.0
transparency 0
}
but I cannot see the red specular color. Why? The class ViewerOpenGL (method
setMaterial) seems to load specular and shininess; do I have to change
something in opengl material and light management inside the library
libvrml97gl.lib?
Thank you
Daniele
_________________________________________________________________
MSN Extra Storage elimina i virus dalla tua posta! Provalo!
http://join.msn.com/?pgmarket=it-it&page=hotmail/es
|