Advertisement
Guest User

Untitled

a guest
May 30th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"
  2. #include "chess.inc"    
  3.  
  4. camera { location <18,15,-2> look_at <4,1,0> rotate y*(360*clock) }
  5.  
  6. #declare Multi=-7;
  7.  
  8. #while (Multi <= 7)
  9.  
  10. object { BPawn translate <Multi,0,-5> }
  11. object { WPawn translate <Multi,0,5> }  
  12.  
  13. #declare Multi=Multi+2;
  14.  
  15. #end
  16.  
  17. #undef Multi  
  18.  
  19. object { BRook translate <-7,0,-7> }
  20. object { BRook translate <7,0,-7> }
  21. object { WRook translate <-7,0,7> }
  22. object { WRook translate <7,0,7> }
  23.  
  24. object { WBishop translate <3,0,7> }
  25. object { WBishop translate <-3,0,7> }
  26. object { BBishop translate <3,0,-7> }
  27. object { BBishop translate <-3,0,-7> }
  28.  
  29. object { WKing translate <-1,0,7> }
  30. object { BKing translate <-1,0,-7> }                      
  31.  
  32. object { WQueen translate <1,0,7> }
  33. object { BQueen translate <1,0,-7> }
  34.  
  35. object { WKnight rotate y*-90 translate <5,0,7> }
  36. object { WKnight rotate y*-90 translate <-5,0,7> }                      
  37. object { BKnight rotate y*90 translate <5,0,-7> }
  38. object { BKnight rotate y*90 translate <-5,0,-7> }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement