Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <lxs>
- <scene root="root" axis_length="50" />
- <views default="defaultCamera">
- <perspective id="defaultCamera" near="0.1" far="500" angle="60">
- <from x="50" y="5" z="70" />
- <to x="0" y="-10" z="0" />
- </perspective>
- <perspective id="Over the Sea" near="0.1" far="500" angle="90">
- <from x="30" y="10" z="50" />
- <to x="5" y="-5" z="0" />
- </perspective>
- <perspective id="Under the Sea" near="0.1" far="500" angle="30">
- <from x="0" y="-15" z="100" />
- <to x="0" y="-27" z="0" />
- </perspective>
- <ortho id="orthoCamera (Boat)" near="0.1" far="500" left="-15" right="15" top="15" bottom="-15">
- <from x="30" y="15" z="30" />
- <to x="0" y="0" z="0" />
- </ortho>
- <perspective id="Fish" near="0.1" far="500" angle="45">
- <from x="0" y="0" z="15" />
- <to x="0" y="-27" z="0" />
- </perspective>
- </views>
- <globals>
- <ambient r="0.2" g="0.2" b="0.2" a="1.0" />
- <background r="0.0" g="0.0" b="0.0" a="1.0" />
- </globals>
- <lights>
- <omni id="defaultLight" enabled="1">
- <location x="0" y="5" z="70" w="1.0" />
- <ambient r="0.6" g="0.6" b="0.6" a="1.0" />
- <diffuse r="1.0" g="1.0" b="1.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </omni>
- <omni id="DayLight" enabled="0" >
- <location x="0" y="20" z="0" w="0" />
- <ambient r="0.0" g="0.0" b="0.0" a="1.0" />
- <diffuse r="1.0" g="1.0" b="1.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </omni>
- <omni id="oceanLight" enabled="0" >
- <location x="0" y="-20" z="0" w="0" />
- <ambient r="0.0" g="0.0" b="0.0" a="1.0" />
- <diffuse r="1.0" g="1.0" b="1.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </omni>
- <spot id="spotLight" enabled="0" angle="0" exponent="1">
- <location x="0" y="0" z="5.0" w="1.0" />
- <target x="0" y="0" z="3.0" />
- <ambient r="0.0" g="0.0" b="0." a="1.0" />
- <diffuse r="1.0" g="1.0" b="1.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- <attenuation constant="1" linear="0" quadratic="0" />
- </spot>
- </lights>
- <textures>
- <texture id="blueScale" file="scenes/images/blue-scales.jpg" />
- <texture id="redScale" file="scenes/images/red-scales.jpg" />
- <texture id="greenScale" file="scenes/images/green-scales.jpg" />
- <texture id="iron" file="scenes/images/iron.png" />
- <texture id="floater" file="scenes/images/floater.png" />
- <texture id="water" file="scenes/images/water.jpg" />
- </textures>
- <materials>
- <material id="blueMetal" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.27" g="0.51" b="0.71" a="1.0" />
- <diffuse r="0.27" g="0.51" b="0.71" a="1.0" />
- <specular r="0.0" g="0.25" b="0.71" a="1.0" />
- </material>
- <material id="greyMetal" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.5" g="0.5" b="0.5" a="1.0" />
- <diffuse r="0.5" g="0.5" b="0.5" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </material>
- <material id="redMetal" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.5" g="0.5" b="0.5" a="1.0" />
- <diffuse r="0.5" g="0.5" b="0.5" a="1.0" />
- <specular r="1.0" g="0.2" b="0.2" a="1.0" />
- </material>
- <material id="blueScale" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="0.6" b="0.8" a="1.0" />
- <diffuse r="0.0" g="0.2" b="0.4" a="1.0" />
- <specular r="0.0" g="0.6" b="0.8" a="1.0" />
- </material>
- <material id="redScale" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.9" g="0.5" b="0.4" a="1.0" />
- <diffuse r="0.45" g="0.25" b="0.2" a="1.0" />
- <specular r="0.9" g="0.5" b="0.4" a="1.0" />
- </material>
- <material id="greenScale" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.70" g="0.93" b="0.23" a="1.0" />
- <diffuse r="0.35" g="0.46" b="0.11" a="1.0" />
- <specular r="0.7" g="0.93" b="0.23" a="1.0" />
- </material>
- <material id="clearWater" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="0.75" b="1.0" a="0.0" />
- <diffuse r="0.0" g="0.30" b="0.5" a="0.0" />
- <specular r="0.0" g="0.75" b="1.0" a="0.0" />
- </material>
- <material id="muddyWater" shininess="1">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.66" g="0.51" b="0.30" a="0.0" />
- <diffuse r="0.66" g="0.51" b="0.30" a="0.0" />
- <specular r="0.0" g="0.25" b="0.15" a="0.0" />
- </material>
- <material id="redFloater" shininess="1">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="0.0" b="0.0" a="1.0" />
- <diffuse r="0.0" g="0.1" b="0.1" a="1.0" />
- <specular r="0.2" g="0.2" b="0.2" a="1.0" />
- </material>
- <material id="shinyFloater" shininess="10">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="0.0" b="0.0" a="1.0" />
- <diffuse r="0.0" g="0.0" b="0.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </material>
- <material id="testFloater" shininess="1">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="1.0" b="1.0" a="1.0" />
- <diffuse r="0.0" g="1.0" b="1.0" a="1.0" />
- <specular r="0.0" g="0.2" b="0.2" a="1.0" />
- </material>
- <material id="black" shininess="1">
- <emission r="0.0" g="0.0" b="0.0" a="1.0" />
- <ambient r="0.0" g="0.0" b="0.0" a="1.0" />
- <diffuse r="0.0" g="0.0" b="0.0" a="1.0" />
- <specular r="1.0" g="1.0" b="1.0" a="1.0" />
- </material>
- </materials>
- <transformations>
- <transformation id="translateSuperior">
- <translate x="0" y="0.3" z="0" />
- </transformation>
- </transformations>
- <primitives>
- <primitive id="myRectangle">
- <rectangle x1="-0.5" y1="-1" x2="0.5" y2="1" />
- </primitive>
- <primitive id="myRectangle2">
- <rectangle x1="0" y1="0" x2="1" y2="1" />
- </primitive>
- <primitive id="myTriangle1">
- <triangle x1="0" y1="0" z1="-3" x2="0" y2="2" z2="0" x3="0" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangle2">
- <triangle x1="0" y1="2" z1="0" x2="0" y2="0" z2="3" x3="0" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangle3">
- <triangle x1="0" y1="0.5" z1="0" x2="-0.5" y2="0" z2="0" x3="0.5" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangle4">
- <triangle x1="0" y1="0.5" z1="0" x2="-0.5" y2="0" z2="0" x3="0.5" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangle5">
- <triangle x1="0" y1="0" z1="-3" x2="0" y2="0" z2="0" x3="0" y3="2" z3="0"/>
- </primitive>
- <primitive id="myTriangleBoat1">
- <triangle x1="0" y1="0" z1="0" x2="0" y2="1" z2="0" x3="2" y3="1" z3="0"/>
- </primitive>
- <primitive id="myTriangleBoat2">
- <triangle x1="0" y1="0" z1="0" x2="0" y2="1" z2="0" x3="-2" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangleBoat3">
- <triangle x1="0" y1="0" z1="0.5" x2="0" y2="0" z2="-0.5" x3="-2" y3="0" z3="0"/>
- </primitive>
- <primitive id="myTriangleBoat4">
- <triangle x1="0" y1="0" z1="0.5" x2="0" y2="0" z2="-0.5" x3="2.179" y3="0" z3="0"/>
- </primitive>
- <primitive id="myCylinder">
- <cylinder base="0.1" top="0.1" height="2" slices="20" stacks="4" />
- </primitive>
- <primitive id="mySphere">
- <sphere radius="1" slices="50" stacks="50" />
- </primitive>
- <primitive id="myTorus">
- <torus inner="0.5" outer="1" slices="50" loops="50" />
- </primitive>
- <primitive id="myTorus2">
- <torus inner="0.25" outer="1" slices="50" loops="50" />
- </primitive>
- </primitives >
- <components>
- <component id="root">
- <transformation>
- <scale x="2" y="2" z="2" />
- </transformation>
- <materials>
- <material id="greyMetal" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="myOcean" />
- </children>
- </component>
- <component id="myOcean">
- <transformation>
- </transformation>
- <materials>
- <material id="clearWater" />
- <material id="muddyWater" />
- </materials>
- <texture id="none" />
- <children>
- <componentref id="mySurface" />
- <componentref id="myInferior" />
- <componentref id="mySuperior" />
- </children>
- </component>
- <component id="mySurface">
- <transformation>
- <scale x="8" y="1" z="5" />
- <rotate axis="x" angle="-90" />
- <scale x="8" y="5" z="1" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="water" length_s="0.5" length_t="0.2" />
- <children>
- <primitiveref id="myRectangle" />
- </children>
- </component>
- <component id="myInferior">
- <transformation>
- </transformation>
- <materials>
- <material id="clearWater" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbleChain1" />
- <componentref id="bubbleChain2" />
- <componentref id="bubbleChain3" />
- <componentref id="bubbleChain4" />
- <componentref id="bubbleChain5" />
- <componentref id="cardume1" />
- <componentref id="cardume2" />
- <componentref id="cardume3" />
- </children>
- </component>
- <component id="mySuperior">
- <transformation>
- <translate x="0" y="0.5" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="floater" />
- <componentref id="ship" />
- </children>
- </component>
- <component id="ship">
- <transformation>
- <translate x="0" y="1" z="0"/>
- </transformation>
- <materials>
- <material id="greyMetal" />
- <material id="blueMetal" />
- </materials>
- <texture id="iron" length_s="1" length_t="1"/>
- <children>
- <componentref id="bodyShip1" />
- <componentref id="bodyShip2" />
- <componentref id="chimney1" />
- <componentref id="chimney2" />
- <componentref id="chimney3" />
- </children>
- </component>
- <component id="bodyShip1">
- <transformation>
- <scale x="3" y="3" z="4"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="rect1" />
- <componentref id="rect2" />
- <componentref id="rect3" />
- <componentref id="rect4" />
- <componentref id="triangle1" />
- <componentref id="triangle2" />
- <componentref id="triangle3" />
- <componentref id="triangle4" />
- <componentref id="triangle5" />
- <componentref id="triangle6" />
- <componentref id="triangle7" />
- <componentref id="triangle8" />
- </children>
- </component>
- <component id="bodyShip2">
- <transformation>
- <translate x="0" y="2" z="0"/>
- <scale x="3" y="3.5 " z="2"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="rect1" />
- <componentref id="rect2" />
- <componentref id="rect4" />
- <componentref id="rect5" />
- <componentref id="rect6" />
- </children>
- </component>
- <component id="chimney1">
- <transformation>
- <translate x="-2" y="6" z="0"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id= "cylinder1" />
- <componentref id= "torus1" />
- </children>
- </component>
- <component id="chimney2">
- <transformation>
- <translate x="0" y="6" z="0"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id= "cylinder1" />
- <componentref id= "torus1" />
- </children>
- </component>
- <component id="chimney3">
- <transformation>
- <translate x="2" y="6" z="0"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id= "cylinder1" />
- <componentref id= "torus1" />
- </children>
- </component>
- <component id="cylinder1">
- <transformation>
- <scale x="4" y="1.5" z="4"/>
- <rotate axis="x" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id= "myCylinder" />
- </children>
- </component>
- <component id="torus1">
- <transformation>
- <scale x="0.35" y="0.35" z="0.35"/>
- <rotate axis="x" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id= "myTorus" />
- </children>
- </component>
- <component id="rect1">
- <transformation>
- <translate x="0" y="0" z="0.5 "/>
- <rotate axis="z" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle" />
- </children>
- </component>
- <component id="rect2">
- <transformation>
- <translate x="0" y="0" z="-0.5"/>
- <rotate axis="z" angle="90"/>
- <rotate axis="y" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle" />
- </children>
- </component>
- <component id="rect3">
- <transformation>
- <translate x="0" y="-0.5" z="0"/>
- <rotate axis="x" angle="90"/>
- <rotate axis="z" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle" />
- </children>
- </component>
- <component id="rect4">
- <transformation>
- <translate x="0" y="0.5" z="0"/>
- <rotate axis="x" angle="-90"/>
- <rotate axis="z" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle" />
- </children>
- </component>
- <component id="rect5">
- <transformation>
- <translate x="1" y="-0.5" z="0.5"/>
- <rotate axis="y" angle="90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle2" />
- </children>
- </component>
- <component id="rect6">
- <transformation>
- <translate x="-1" y="-0.5" z="-0.5"/>
- <rotate axis="y" angle="-90"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myRectangle2" />
- </children>
- </component>
- <component id="triangle1">
- <transformation>
- <translate x="-1" y="-0.5" z="0.5"/>
- <rotate axis="y" angle="-14.78"/>
- <rotate axis="y" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat1" />
- </children>
- </component>
- <component id="triangle2">
- <transformation>
- <translate x="1" y="-0.5" z="-0.5"/>
- <rotate axis="y" angle="-14.78"/>
- <rotate axis="y" angle="180"/>
- <rotate axis="y" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat1" />
- </children>
- </component>
- <component id="triangle3">
- <transformation>
- <translate x="-1" y="0.5" z="-0.5"/>
- <rotate axis="y" angle="14.78"/>
- <rotate axis="x" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat2" />
- </children>
- </component>
- <component id="triangle4">
- <transformation>
- <translate x="1" y="0.5" z="0.5"/>
- <rotate axis="y" angle="14.78"/>
- <rotate axis="y" angle="180"/>
- <rotate axis="x" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat2" />
- </children>
- </component>
- <component id="triangle5">
- <transformation>
- <translate x="-1" y="0.5" z="0"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat3" />
- </children>
- </component>
- <component id="triangle6">
- <transformation>
- <translate x="1" y="0.5" z="0"/>
- <rotate axis="y" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat3" />
- </children>
- </component>
- <component id="triangle7">
- <transformation>
- <translate x="-1" y="-0.5" z="0"/>
- <rotate axis="z" angle="-27.2"/>
- <rotate axis="y" angle="180"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat4" />
- </children>
- </component>
- <component id="triangle8">
- <transformation>
- <translate x="1" y="-0.5" z="0"/>
- <rotate axis="z" angle="27.2"/>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangleBoat4" />
- </children>
- </component>
- <component id="cardume1">
- <transformation>
- </transformation>
- <materials>
- <material id="testFloater" />
- </materials>
- <texture id="redScale" length_s="1" length_t="1"/>
- <children>
- <componentref id="fish1" />
- <componentref id="fish2" />
- <componentref id="fish3" />
- <componentref id="fish4" />
- </children>
- </component>
- <component id="cardume2">
- <transformation>
- <translate x="14" y="-3" z="-1" />
- </transformation>
- <materials>
- <material id="testFloater" />
- </materials>
- <texture id="blueScale" length_s="1" length_t="1"/>
- <children>
- <componentref id="fish1" />
- <componentref id="fish2" />
- <componentref id="fish3" />
- <componentref id="fish4" />
- </children>
- </component>
- <component id="cardume3">
- <transformation>
- <rotate axis="y" angle="-90" />
- <translate x="14" y="-3" z="12" />
- </transformation>
- <materials>
- <material id="testFloater" />
- </materials>
- <texture id="greenScale" length_s="1" length_t="1"/>
- <children>
- <componentref id="fish1" />
- <componentref id="fish2" />
- <componentref id="fish3" />
- <componentref id="fish4" />
- </children>
- </component>
- <component id="fish1">
- <transformation>
- <translate x="-2" y="-5" z="-0.3" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="body" />
- <componentref id="stripe1" />
- <componentref id="stripe2" />
- <componentref id="eye1" />
- <componentref id="eye2" />
- <componentref id="fin1" />
- <componentref id="fin2" />
- <componentref id="fin3" />
- <componentref id="fin4" />
- <componentref id="tail1" />
- <componentref id="tail2" />
- </children>
- </component>
- <component id="fish2">
- <transformation>
- <translate x="-3" y="-7" z="-0.3" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="body" />
- <componentref id="stripe1" />
- <componentref id="stripe2" />
- <componentref id="eye1" />
- <componentref id="eye2" />
- <componentref id="fin1" />
- <componentref id="fin2" />
- <componentref id="fin3" />
- <componentref id="fin4" />
- <componentref id="tail1" />
- <componentref id="tail2" />
- </children>
- </component>
- <component id="fish3">
- <transformation>
- <translate x="-3" y="-4" z="-1" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="body" />
- <componentref id="stripe1" />
- <componentref id="stripe2" />
- <componentref id="eye1" />
- <componentref id="eye2" />
- <componentref id="fin1" />
- <componentref id="fin2" />
- <componentref id="fin3" />
- <componentref id="fin4" />
- <componentref id="tail1" />
- <componentref id="tail2" />
- </children>
- </component>
- <component id="fish4">
- <transformation>
- <translate x="-3.5" y="-6" z="1" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <componentref id="body" />
- <componentref id="stripe1" />
- <componentref id="stripe2" />
- <componentref id="eye1" />
- <componentref id="eye2" />
- <componentref id="fin1" />
- <componentref id="fin2" />
- <componentref id="fin3" />
- <componentref id="fin4" />
- <componentref id="tail1" />
- <componentref id="tail2" />
- </children>
- </component>
- <component id="eye1">
- <transformation>
- <translate x="-0.3" y="0" z="0.3" />
- <scale x="0.1" y="0.1" z="0.1" />
- </transformation>
- <materials>
- <material id="black" />
- </materials>
- <texture id="none"/>
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="eye2">
- <transformation>
- <translate x="-0.3" y="0" z="-0.3" />
- <scale x="0.1" y="0.1" z="0.1" />
- </transformation>
- <materials>
- <material id="black" />
- </materials>
- <texture id="none"/>
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="tail1">
- <transformation>
- <rotate axis="z" angle="90" />
- <translate x="0" y="-0.8" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle4" />
- </children>
- </component>
- <component id="tail2">
- <transformation>
- <rotate axis="z" angle="-90" />
- <rotate axis="x" angle="180" />
- <translate x="0" y="-0.8" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle4" />
- </children>
- </component>
- <component id="fin1">
- <transformation>
- <scale x="0.2" y="0.2" z="0.1" />
- <rotate axis="y" angle="90" />
- <translate x="0" y="1" z="1" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle1" />
- </children>
- </component>
- <component id="fin2">
- <transformation>
- <scale x="0.2" y="0.2" z="0.1" />
- <rotate axis="y" angle="-90" />
- <translate x="0" y="1" z="-1" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle2" />
- </children>
- </component>
- <component id="fin3">
- <transformation>
- <scale x="0.4" y="0.4" z="0.2" />
- <translate x="0" y="-0.8" z="0" />
- <rotate axis="z" angle="-90" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle3" />
- </children>
- </component>
- <component id="fin4">
- <transformation>
- <scale x="0.4" y="0.4" z="0.2" />
- <translate x="0" y="-0.8" z="0" />
- <rotate axis="z" angle="90" />
- <rotate axis="x" angle="-180" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTriangle4" />
- </children>
- </component>
- <component id="stripe1">
- <transformation>
- <scale x="0.2" y="0.22" z="0.3" />
- <rotate axis="y" angle="-90" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTorus" />
- </children>
- </component>
- <component id="stripe2">
- <transformation>
- <translate x="0.2" y="0" z="0" />
- <scale x="0.12" y="0.2" z="0.28" />
- <rotate axis="y" angle="-90" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTorus" />
- </children>
- </component>
- <component id="body">
- <transformation>
- <scale x="0.6" y="0.3" z="0.4" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="bubbleChain1">
- <transformation>
- <translate x="0" y="-2" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbles1" />
- <componentref id="bubbles2" />
- <componentref id="bubbles3" />
- </children>
- </component>
- <component id="bubbleChain2">
- <transformation>
- <translate x="-8" y="-3" z="-7" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbles1" />
- <componentref id="bubbles2" />
- <componentref id="bubbles3" />
- </children>
- </component>
- <component id="bubbleChain3">
- <transformation>
- <translate x="-8" y="-9" z="7" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbles1" />
- <componentref id="bubbles2" />
- <componentref id="bubbles3" />
- </children>
- </component>
- <component id="bubbleChain4">
- <transformation>
- <translate x="8" y="-5" z="7" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbles1" />
- <componentref id="bubbles2" />
- <componentref id="bubbles3" />
- </children>
- </component>
- <component id="bubbleChain5">
- <transformation>
- <translate x="15" y="-3" z="-5" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubbles1" />
- <componentref id="bubbles2" />
- <componentref id="bubbles3" />
- </children>
- </component>
- <component id="bubbles1">
- <transformation>
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubble1" />
- <componentref id="bubble2" />
- <componentref id="bubble3" />
- </children>
- </component>
- <component id="bubbles2">
- <transformation>
- <translate x="0.5" y="-1.5" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubble1" />
- <componentref id="bubble2" />
- <componentref id="bubble3" />
- </children>
- </component>
- <component id="bubbles3">
- <transformation>
- <translate x="0" y="-3" z="0" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none"/>
- <children>
- <componentref id="bubble1" />
- <componentref id="bubble2" />
- <componentref id="bubble3" />
- </children>
- </component>
- <component id="bubble1">
- <transformation>
- <scale x="0.3" y="0.3" z="0.3" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none" />
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="bubble2">
- <transformation>
- <translate x="0.3" y="-0.4" z="0" />
- <scale x="0.2" y="0.2" z="0.2" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none" />
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="bubble3">
- <transformation>
- <translate x="-0.1" y="-0.9" z="0" />
- <scale x="0.2" y="0.2" z="0.2" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="none" />
- <children>
- <primitiveref id="mySphere" />
- </children>
- </component>
- <component id="floater">
- <transformation>
- <translate x="0" y="0" z="10" />
- </transformation>
- <materials>
- <material id="redFloater" />
- <material id="testFloater" />
- <material id="shinyFloater" />
- </materials>
- <texture id="floater" length_s = "10" length_t="10"/>
- <children>
- <componentref id="floaterBody" />
- <!--<componentref id="floaterRope" />-->
- </children>
- </component>
- <component id="floaterBody">
- <transformation>
- <scale x="1.5" y="1.5" z="1.5" />
- <rotate axis="x" angle="-90" />
- </transformation>
- <materials>
- <material id="inherit" />
- </materials>
- <texture id="inherit"/>
- <children>
- <primitiveref id="myTorus" />
- </children>
- </component>
- </components>
- </lxs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement