home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / graphics / tga2avi-1.228 / easy.pov < prev    next >
Encoding:
Text File  |  1998-05-09  |  1.8 KB  |  60 lines

  1. // This file is an example of how one would write the initial
  2. // frame of the animation. This file would be read by POVAnim and
  3. // be output in a file similiar to animtest.pov.
  4. // Please note that there is a limit of 2 billion objects that you can
  5. // put in a scene and you can only move those 2 billion objects to
  6. // 2 billion different key values. Keep this in mind when designing
  7. // your animation. You can make the variable names anything you want.
  8. // I have support for separate floating point numbers also just
  9. // haven't been able to test it good yet. BTW I just noticed that
  10. // you can't add comments after a declare statement. I will fix
  11. // this as it will be quick.
  12. // Timothy A. Grubb
  13.  
  14. #include "colors.inc"
  15. #include "textures.inc"
  16.  
  17. #declare SPHERE1_TRANS = <0,0,0>  
  18.                 // to move the sphere object
  19. #declare SPHERE1_ROTATE = <0,0,0> 
  20.                 // to rotate the sphere
  21. #declare CAM_ROTATE = <0,0,0>     
  22.                 // to rotate the camera
  23. #declare CAM_TRANS = <0,0,-10>    
  24.                 // to move the camera
  25. #declare PLANEY_ROTATE = <0,0,0>  
  26.                 // to rotate the y plane object (floor)
  27.  
  28. //#declare BITE_ME = 35.45678     // works but not released yet - testing
  29. //#declare THE_STRING = "DUH?"    // works but not released yet - testing
  30.  
  31.  
  32.  
  33.  
  34. // Begin Scene
  35.  
  36. camera { location <0,0,0>
  37.          look_at <0,0,.1>
  38.          rotate CAM_ROTATE
  39.          translate CAM_TRANS
  40. }
  41.  
  42.  
  43. plane
  44. {
  45.   y, // <X Y Z> unit surface normal, vector points "away from surface"
  46.   -1 // distance from the origin in the direction of the surface normal
  47.   pigment { checker color Black color White }
  48.   finish { Shiny }
  49.   rotate PLANEY_ROTATE
  50. }
  51.  
  52. light_source { <1,1,-2> color White }
  53.  
  54.  
  55. sphere { <0,0,0>, 1
  56.   pigment { color Yellow }
  57.   rotate SPHERE1_ROTATE
  58.   translate SPHERE1_TRANS
  59. }
  60.