Справочник функций

Ваш аккаунт

Войти через: 
Забыли пароль?
Регистрация
Информацию о новых материалах можно получать и без регистрации:

Почтовая рассылка

Подписчиков: -1
Последний выпуск: 19.06.2015

VRML в примерах.

#VRML V2.0 utf8
Viewpoint {
position 0.499763 1.19159 2.25062
orientation -1 -0.000259263 -6.072e-005 0.460066
}

Transform {
scale 0.1 0.1 0.1
translation 0.3 0.36 0.2
children [
DEF one_frame Shape {
geometry IndexedLineSet {
colorPerVertex FALSE
coord Coordinate {point [ -1 0 0, 1 0 0, 1 2 0, 0 3 0, -1 2 0]}
color Color {color [1 1 0]}
coordIndex [0 1 2 3 4 0 -1]}}
Transform {rotation 0 1 0 0.31
children [USE one_frame]}
Transform {rotation 0 1 0 0.63
children [USE one_frame]}
Transform {rotation 0 1 0 0.94
children [USE one_frame]}
Transform {rotation 0 1 0 1.26
children [USE one_frame]}
Transform {rotation 0 1 0 1.57
children [USE one_frame]}
Transform {rotation 0 1 0 1.88
children [USE one_frame]}
Transform {rotation 0 1 0 2.20
children [USE one_frame]}
Transform {rotation 0 1 0 2.51
children [USE one_frame]}
Transform {rotation 0 1 0 2.83
children [USE one_frame]}
]}

Transform {translation 0.84 0.37 0.3
children [
Shape{appearance Appearance {material Material { diffuseColor 0 0 1 }}
geometry Cylinder{radius 0.1 height 0.03}}]}

Transform {translation 0.82 0.44 0.3
rotation 0 0 1 0.3
children [
Shape{appearance Appearance {material Material { diffuseColor 0 1 0 }}
geometry Cone{bottomRadius 0.02
height 0.14}
}]}
Transform {translation 0.8 0.65 0.3
scale 0.15 0.15 0.15
children [
Shape{appearance Appearance {texture ImageTexture {url "images/earth.jpg"}}
geometry Sphere{}}]}
Transform {translation 0.5 0.35 0.3
children [
Shape{appearance Appearance {texture ImageTexture {url "images/wood.jpg"}}
geometry Box{size 1.2 0.02 0.7}}]}

DEF nozhka Shape {appearance Appearance {texture ImageTexture {url "images/wood.jpg"}}
geometry Box {size 0.02 0.7 0.02}}
Transform {translation 1 0 0.6
children [USE nozhka]}
Transform {translation 1 0 0
children [USE nozhka]}
Transform {translation 0 0 0.6
children [USE nozhka]}
Назад | Содержание

Оставить комментарий

Комментарий:
можно использовать BB-коды
Максимальная длина комментария - 4000 символов.
 
Реклама на сайте | Обмен ссылками | Ссылки | Экспорт (RSS) | Контакты
Добавить статью | Добавить исходник | Добавить хостинг-провайдера | Добавить сайт в каталог