Animation Tutorial

Dances with Cactii

In this tutorial, we will export from Lightwave an animated scene and then import the result to Jot.

  1. Load the lightwave scene in Ligthwave.

    C:\ cd JOT_ROOT
    C:\ cd manual\tutorials\tutorial-4\lw_files
    C:\ lightwav.exe cactus_dancing.lws
  2. Manually indicate to Lightwave the location of object file: manual\tutorials\tutorial-4\lw_files\cactus_dancing.lwo.

  3. Attach script scripts\lw2jot_point_position.ls to every piece of geometry to be exported.

    1. Click on Objects and then click on Item Properties. This will bring up the object properties window.

    2. Select Deform tab.

    3. For each non null object in the scene

      1. Click on Add Displacement and choose "LScript".

      2. Double click on LScript and choose file scripts\lw2jot_point_position.ls.

  4. Execute the export script scripts\lw2jot.ls.

    1. Click LScript tab.

    2. Click LScript Tools->LScript and choose the file scripts\lw2jot.ls.

    3. Click through the warning box.

    4. Set "Start Frame" to 1 and "End Frame" to 120. Change the "Save Path" to \manual\tutorials\tutorial-4\jot_files\ and export file prefix cactus_export.

    5. Click through this info box.

    6. Set "First Frame" to 1 and "Last Frame" to "First Frame" + 1 = 2.

    7. Click on End Preview and the time line should run from start to end frame.

    8. Click through the info box.

    9. Set "Start Frame" to 1 and "End Frame" to 120. The time line should run from start to end frame again.

    10. Click on End Preview.

    11. Click through the info box and wait for the export to proceed...

    12. Done!

  5. Now import the exported files in directory manual\tutorials\tutorial-4\jot_files into Jot. (A copy of the files which should have exported into the directory manual\tutorials\tutorial-4\jot_files is provided in manual\tutorials\tutorial-4\jot_files.bak.)

    C:\ cd JOT_ROOT
    C:\ cd manual\tutorials\tutorial-4\jot_files
    C:\ jotq cactus_export.jot

  6. The various components of the cactus can be stylized using the techniques demonstrated in the previous tutorials. You may stylized this cactus and save the result by pressing s. However, manual\tutorials\tutorial-4\jot_files.npr contains another copy of the exported files which already have been stylized.

    C:\ cd JOT_ROOT
    C:\ cd manual\tutorials\tutorial-4\jot_files.npr
    C:\ jotq cactus_export.jot

  7. To access the other frames of the animation, engage Animator Mode by pressing X. (WYSIWYG NPR rendering window must have focus to receive keystroke commands.)

  8. Step through the frames using the numeric keypad: 4 and 6 step backward and forward by one frame; 2 and 8 step backward and forward by ten frames; 5 returns to the first frame.

  9. To play back the entire animation, press /. Press + to stop. (Each frame is loaded from disk, so playback is slooow. Don't ask...)

  10. To render frames to disk, engage time sync with - and render mode with *.

  11. Pressing / now with render to disk mode on will play back the frames and render them to disk. (A DivX movie file of these frames is provided: manual\tutorials\tutorial-4\jot_files.npr\cactus_export.avi).