simple.wrl 365 B

1234567891011121314151617181920212223242526272829303132
  1. #VRML V2.0 utf8
  2. Transform {
  3. rotation 0 1 0 0.4
  4. children DEF myshape Shape {
  5. appearance Appearance {
  6. material Material {
  7. diffuseColor 0 1 0
  8. emissiveColor 0.2 0.2 0.2
  9. }
  10. }
  11. geometry Box {
  12. size 3 2 1
  13. }
  14. }
  15. }
  16. #Transform {
  17. # rotation 1,0,0,0.4
  18. # children USE myshape
  19. #}
  20. #Transform {
  21. # rotation
  22. # 0
  23. # 0
  24. # 1
  25. # 0.4
  26. # children USE myshape
  27. #}