- 0
- 0
- 约1.33千字
- 约 21页
- 2021-11-10 发布于北京
- 举报
第二章 空间背景与实物造型;二、空间背景结点;结点说明;一些常用角度的弧度值(弧度=角度*π/180);制作VRML网页bk.wrl。(空间背景);#VRML V2.0 utf8
Group
{
children
[
Background
{
skyAngle [1.047 1.570]
skyColor [0.0 0.0 1.0 , 0.2 0.2 0.8 , 1.0 1.0 1.0]
groundAngle [1.396 1.570]
groundColor [0.0 1.0 0.0 , 0.0 0.5 0.2 , 1.0 1.0 1.0]
}
]
}; Shape
{
appearance 外观域结点
geometry 几何造型域结点
};四、几何造型域结点;2.圆柱体(Cylinder);3.圆锥???(Cone);4.球体(Sphere);五、外观域结点;1.材质域结点;2.贴图域结点;例:ITbox.wrl; Shape
{
appearance Appearance
{
texture ImageTexture
{
url stone.jpg
}
}
geometry Box
{
size 4.0 0.5 3.0
}
};例:wall.wrl; Shape
{
appearance Appearance
{
texture ImageTexture
{
url brick.jpg
}
}
geometry Box
{
size 0.25 2.5 5.0
}
};例:ITsphere.wrl; Shape
{
appearance Appearance
{
texture ImageTexture
{
url Moon.jpg
}
}
geometry Sphere
{
radius 1.2
}
}
原创力文档

文档评论(0)