Главная Случайная страница Контакты | Мы поможем в написании вашей работы! | ||
|
<?xml version="1.0" encoding="UTF-8"?>
<X3D profile="Immersive" version="3.1">
<Scene>
<Background skyColor="1 1 1, 0.9 0.9 0.9, 0.8 0.8 0.8, 0.7 0.7 0.7, 0.6 0.6 0.6, 0.5 0.5 0.5, 0 0 0" skyAngle="0.5 1 1.5 2 2.5 3.14"/>
<Transform translation="0 0 5.5">
<Shape>
<Rectangle2D/>
<Appearance>
<Material diffuseColor="2 2 7" transparency ="0.5"/>
</Appearance>
</Shape>
</Transform>
<Transform translation="-0 1.4 -1">
<Shape>
<Disk2D/>
<Appearance>
<Material diffuseColor="2 2 1"/>
</Appearance>
</Shape>
</Transform>
<Transform translation="-0 -1.43 -1">
<Shape>
<Disk2D/>
<Appearance>
<Material diffuseColor="2 2 1"/>
</Appearance>
</Shape>
</Transform>
<Shape>
<Polyline2D lineSegments=' -2.4 2.4 2.3 -2.3'/>
<Appearance DEF='MagentaAppearance'>
<Material diffuseColor='1 0 0' emissiveColor='0 0 1' specularColor='0.8 0'/>
</Appearance>
</Shape>
<Shape>
<Polyline2D lineSegments=' -2.4 -2.4 2.3 2.3'/>
<Appearance DEF='MagentaAppearance'>
<Material diffuseColor='1 0 0' emissiveColor='0 0 1' specularColor='0.8 0'/>
</Appearance>
</Shape>
</Scene>
</X3D>
Вывод: Я познакомился с основой работы с объектами в X3D. Научиться создавать 2D-объекты, модифицировать и группировать их. Также в эту работу были добавлены атрибуты элемента Material- созданный прямоугольник прозрачный.
Дата публикования: 2015-01-10; Прочитано: 209 | Нарушение авторского права страницы | Мы поможем в написании вашей работы!