Method and apparatus for scriping animation
First Claim
1. A computer-implemented method for scripting an animated sequence, comprising the steps of:
- creating an instance of a script interpreter;
attaching a script to the script interpreter instance, the attached script comprising function statements for implementing the animated sequence;
executing the function statements of the attached script by the script interpreter instance to conduct the animated sequence; and
displaying the animated sequence in response to executed function statements.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer-implemented system for scripting an animation sequence. The scripting system creates an instance of a script interpreter in response to an event. The script interpreter instance is assigned to a graphical object (GOB) having a graphical image associated with the animation sequence, and is invoked in response to an event received by the GOB. A script is attached to the script interpreter instance, the attached script comprising control logic for implementing the animated sequence. The control logic supports interactive animation by enabling the attached script to communicate with another GOB or another program module, such as an application program. The attached script is executed on the script interpreter instance to conduct the animated sequence. In response to executing the script, the animated sequence is displayed. The attached script and the script interpreter are destroyed in response to executing the attached script.
90 Citations
23 Claims
-
1. A computer-implemented method for scripting an animated sequence, comprising the steps of:
-
creating an instance of a script interpreter; attaching a script to the script interpreter instance, the attached script comprising function statements for implementing the animated sequence; executing the function statements of the attached script by the script interpreter instance to conduct the animated sequence; and displaying the animated sequence in response to executed function statements. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system operative to execute a program module for scripting an animation sequence, comprising:
-
a processing device; a memory, coupled to the processing device, for storing the program module; and an output device, coupled to the processing device, for displaying at least one graphical image for the animation sequence, each graphical image associated with a graphical object (GOB) maintained in the memory, the processing device, responsive to instructions of the program module, operative to (a) create an instance of a script interpreter assigned to one of the GOBs; (b) attach a script to the script interpreter instance, the attached script comprising at least one functional statement for implementing the animated sequence; (c) execute each function statement of the attached script on the script interpreter instance to conduct the animated sequence; (d) display the animated sequence on the output device in response to each executed function statement; (e) destroy the attached script in response to executing the attached script; and (f) destroy the script interpreter instance in response to destroying the attached script. - View Dependent Claims (12, 13, 14)
-
-
15. A computer system operative to execute a program module for scripting an animation sequence, comprising:
-
a processing device; a memory, coupled to the processing device, for storing the program module, the program module comprising a plurality of objects, including graphical objects (GOBs), a file manager object, and a rendering object; and an output device, coupled to the processing device, for displaying at least one graphical image for the animation sequence, each graphical image corresponding to one of the GOBs, the processing device, responsive to instructions of the program module, operative to (a) create an instance of a script interpreter for one of the GOBs in response to the GOB receiving an event, wherein the GOB examines a template maintained by the file manager object to determine whether the event corresponds to creation of the script interpreter instance; (b) attach a script to the script interpreter instance, the attached script comprising at least one function statement for implementing the animated sequence; (c) execute each function statement of the attached script on the script interpreter instance to conduct the animated sequence; (d) display the animated sequence on the output device in response to execution of the attached script, wherein the GOB instructs the rendering object to draw the graphical images of the animation sequence; (e) destroy the attached script in response to execution of the attached script; and (f) destroy the script interpreter instance in response to destruction of the attached script.
-
-
16. A computer-readable medium on which is stored a program module for scripting an animation sequence, the program module comprising instructions which, when executed by the programmed computer, performs the steps of:
-
creating an instance of a script interpreter; attaching a script to the script interpreter instance, the attached script comprising control logic for implementing the animated sequence; executing the attached script on the script interpreter instance to conduct the animated sequence; and displaying the animated sequence in response to executing the attached script. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A computer-readable medium on which is stored a program module for scripting an animation sequence, the program module comprising:
-
a script interpreter for executing an attached script comprising function statements for implementing the animation sequence; a plurality of graphical object (GOBs), each GOB assigned to the script interpreter and having a graphical image associated with the animation sequence; a file manager object for managing a plurality of templates assigned to the GOBs, each template defining a data structure for a corresponding one of the GOBs; and a rendering object for rendering each graphical image represented by a corresponding one of the GOBs in response to the function statements executed by the script interpreter. - View Dependent Claims (22, 23)
-
Specification