#VRML V2.0 utf8 WorldInfo {title "Jiri Zara - Program: Prototyp stolku" } PROTO MujStolek [ field SFColor barva .6 .5 .1 field SFVec3f posunuti 0 0 0 field SFRotation natoceni 0 1 0 0 field SFVec3f meritko 1 1 1] { Transform { translation IS posunuti rotation IS natoceni scale IS meritko children [ Transform { # deska stolu translation 0 1.1 0 # 110 cm nad zemí children Shape { appearance DEF BARVA Appearance { material Material { diffuseColor IS barva } } geometry Box { size 1.2 0.2 1.2 } } } Transform { # první noha od stolu translation -.5 0.5 -.5 children DEF NOHA Shape { appearance USE BARVA geometry Cylinder { height 1 radius .1 top FALSE} } } Transform { # další noha od stolu translation .5 0.5 -.5 children USE NOHA } Transform { # další noha od stolu translation -.5 0.5 .5 children USE NOHA } Transform { # další noha od stolu translation .5 0.5 .5 children USE NOHA } ] } }