☆よく使うノードの例
ノード詳細
Shape{
    
    appearance Apperanceノード
    
    geometry   形状を定めるノード("Box"等)

}


Appearance{
    
    material Materialノード
    
    texture 物体に張り付けるテクスチャノード(ImageTexture等)
    
    textureTransform TextureTransformノード

}


Material{
    
    ambientIntensity 環境光係数( 0.2 )
    
    diffuseColor 散光色値( 0.8 0.8 0.8RGBで指定
    
    emissiveColor 放射光色値( 0 0 0RGBで指定
    
    shininess 鏡面光色の輝度値( 0.2 )
    
    specularColor 鏡面光色値( 0 0 0RGBで指定
    
    transparency 透明度( 0 )
                 1で見えない物体になる

}
        
☆ かっこの中の赤い文字または数字は
 指定しなかったときのデフォルト値
#VRML V2.0 utf8

Shape{
    
    appearance Appearance{
        
        material Material{
            
            diffuseColor 1 0 0
            
        }
        
    }
    
    geometry Box{}
    
}
        



戻る