☆テクスチャ関連ノードの例
ノード詳細
ImageTexture{
    
    url 画像ファイルのurl
        ("PNG"/"JPEG"/"GIF"が指定可能)

}


TextureTransform{

    center 座標系st(物体のローカル座標)の中心s軸 t軸( 0 0" )
    
    rotation 座標系stの回転角度( 0  )
    
    scale 画像を張り付ける横の枚数と縦の枚数( 1 1  )
    
    translation 座標系stの平行移動量( 0 0  )

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


☆ 座標系stに関してはここを参照
#VRML V2.0 utf8

Shape{
    
    
    appearance Appearance{
    
        texture ImageTexture{
    
            url "rei.jpg"
    
        }
    
        textureTransform TextureTransform{
    
            scale 2 2
    
        }
    
    }
    
    geometry Box{}

}
        



戻る