CS155 Computer Graphics

Lab 1: Make Movies

The purpose of this tutorial is for you to learn how to make movies out of the images you create. You will create a sequence of BMP images that use a circle wipe to transition to black. Then you will convert these images to JPG format. Finally, you will use JES to create a movie out of them.
  1. Download the circle wipe program for JES. Open JES and load the program.

  2. Create a picture in JES, as you did in the first lab. Reminder: At the command prompt type
     pic=makePicture(pickAFile())
    .
  3. Create a new folder on the desktop called myMovie. Create two sub-folders named myMovieBMP and myMovieJPG. Make sure the folders are writable (right click and choose Properties to check).

  4. At the command line prompt in JES enter
    setMediaPath()
    A navigation window will open; navigate to the desktop and choose the folder myMovieBMP.

  5. At the command line prompt enter
    circleWipe(pic,30)
    The program will take awhile to finish; you can open the myMovieBMP folder and watch as images are created. When the program terminates you should find 30 bmp images that transition from your input image to black via a circle wipe.

  6. Download the nconvert image conversion software archive to the myMovie folder and unzip it.

  7. In a terminal window navigate to the myMovie folder and execute the following command:
    .\Nconvert-win\XnView\nconvert.exe -o myMovieJPG\%.jpg myMovieBMP\*.bmp
    
    You should now find jpg versions of your files in the myMovieJPG folder.

  8. Next we'll create a movie in JES. At the command prompt enter
    file=pickAFile()
    
    Navigate to the myMovieJPG folder and select frame00.jpg.

  9. At the command prompt enter
    movie=makeMovieFromInitialFile(file)
    playMovie(move)
    


  10. Next we'll save the movie. At the command prompt enter
    path=pickAFolder()
    
    Navigate to and choose the myMovie folder.

  11. At the command prompt enter
    writeQuicktime(movie,path+"myMovie.mov")
    
    Last updated Sept. 09