Guest User

Untitled

a guest
Feb 11th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. #VRML V2.0 utf8
  2.  
  3. Background { #remove these lines
  4. skyColor .7 .7 1 #
  5. } # when placing this
  6. Viewpoint { #
  7. position 0 0 7 # object in a VRML world
  8. } #
  9. NavigationInfo { # or apartment.
  10. type "EXAMINE" #
  11. } #
  12.  
  13. WorldInfo {
  14. title "Animated Snowman"
  15. info [
  16. "Copyright 1988 modeled by Kiwano [Andrew Reitemeyer] [email protected] "
  17. "This model is linkware. Non commercial users are required to link to"
  18. " http://home.t-online.de/home/kiwano4 "
  19. "Commercial users must pay a small fee, details and more models from the above url"
  20. "This node must remain unaltered in this code"
  21. ]
  22. }
  23.  
  24. Transform { # main grouping node
  25. translation 0 0 0 # controls position
  26. scale 1 1 1 # controls size
  27. rotation 0 0 1 0 # controls orientation
  28. children [
  29. DEF Bottom Transform {
  30. translation 0 -1 0
  31. scale 1.2 1 1.2
  32. children [
  33. DEF Ball Shape {
  34. appearance
  35. Appearance {
  36. material
  37. Material {
  38. diffuseColor 1 1 1
  39. specularColor .9 .9 1
  40. shininess 1
  41. ambientIntensity .2
  42. # transparency .2
  43. }
  44. }
  45. geometry
  46. Sphere {
  47. radius 1
  48. }
  49. }
  50. DEF See VisibilitySensor {}
  51. ]
  52. }
  53. DEF Middle Transform {
  54. translation 0 0 0
  55. scale .9 .9 .9
  56. children [
  57. USE Ball
  58. ]
  59. }
  60. DEF head Transform {
  61. translation 0 .9 0
  62. scale .6 .6 .6
  63. children [
  64. USE Ball
  65. ]
  66. }
  67. DEF Eye1 Transform {
  68. translation .35 1.1 .4
  69. children [
  70. DEF Eye Shape {
  71. appearance
  72. Appearance {
  73. material
  74. Material {
  75. diffuseColor 0 0 0
  76. specularColor 1 1 1
  77. shininess 1
  78. ambientIntensity 1
  79. }
  80. }
  81. geometry
  82. Sphere {
  83. radius .1
  84. }
  85. }
  86. ]
  87. }
  88. DEF Eye2 Transform {
  89. translation -.35 1.1 .4
  90. children [
  91. USE Eye
  92. ]
  93. }
  94. DEF Nose Transform {
  95. translation 0 .9 .8
  96. rotation 1 0 0 1.57
  97. children [
  98. Shape {
  99. appearance Appearance {
  100. material Material {
  101. diffuseColor .8 .5 0
  102. specularColor .9 .6 0
  103. shininess .3
  104. ambientIntensity .2
  105. }
  106. }
  107. geometry Cone {
  108. bottomRadius .1
  109. height .5
  110. }
  111. }
  112. ]
  113. }
  114. DEF Hat Transform {
  115. translation 0 0 0
  116. children [
  117. Transform {
  118. translation 0 1.3 0
  119. rotation 0 0.707106781 0.707106781 -.1
  120. children [
  121. Shape {
  122. appearance DEF Felt Appearance {
  123. material Material {
  124. diffuseColor 0 0 1
  125. specularColor 1 1 1
  126. shininess 1
  127. ambientIntensity 1
  128. }
  129. }
  130. geometry Cylinder {
  131. radius .7
  132. height .05
  133. }
  134. }
  135. ]
  136. }
  137. Transform {
  138. translation 0 1.6 0
  139. rotation 0 0.707106781 0.707106781 -.1
  140. children [
  141. Shape {
  142. appearance USE Felt
  143. geometry Cylinder {
  144. radius .5
  145. height .6
  146. }
  147. }
  148. ]
  149. }
  150. ]
  151. }# end Hat
  152. ]
  153. }
Advertisement
Add Comment
Please, Sign In to add comment