Guest User

Untitled

a guest
Jun 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #X3D V3.2 utf8
  2. PROFILE Interchange
  3.  
  4. # Note that change_vrml_by_code.lpr depends on this,
  5. # (we could alternatively call Scene.ResetWorldTime(0) in change_vrml_by_code
  6. # after loading), otherwise Scene.WorldTime.Seconds is wildly large.
  7. KambiNavigationInfo { timeOriginAtLoad TRUE }
  8.  
  9. DEF Box1 Shape {
  10. appearance Appearance {
  11. material Material { }
  12. shaders ComposedShader {
  13. language "GLSL"
  14. parts [
  15. ShaderPart { type "VERTEX" url "phong_from_rasperf3d.vs" }
  16. ShaderPart { type "FRAGMENT" url "phong_from_rasperf3d.fs" }
  17. ]
  18. initializeOnly SFNode my_texture ImageTexture { url "file:///home/michalis/sources/castle-engine/demo-models/textures/bricks2.jpg" }
  19. }
  20. }
  21. geometry Box { size 1 10 1 }
  22. }
  23.  
  24. #DEF Box1Transform Transform { translation 0 0 0 rotation 1 0 0 0 children USE Box1 }
  25. #DEF Box2Transform Transform { translation 2 0 0 rotation 1 0 0 0 children USE Box1 }
  26. #DEF Box3Transform Transform { translation 4 0 0 rotation 1 0 0 0 children USE Box1 }
  27.  
  28. #DEF BoxTransform Transform { translation 0 0 0 rotation 1 0 0 0 children USE Box1 }
Add Comment
Please, Sign In to add comment