This invention relates to gaming machines. More particularly, the invention relates to a system and method for changing images on a gaming machine display.
When replacing one on-screen image with another in a gaming machine; the options available to perform this action in an interesting or aesthetically pleasing manner are limited. In fact, other than an instantaneous change, the only way is to use some form of pre-generated animation. This method, apart from consuming a large amount of EPROM space, is unwieldy and cumbersome given that the starting and end images must be known before run-time.
In filmmaking, when going from one scene to another, filmmakers have used a number of techniques. Theses techniques range from fading from a scene to black, and then fading from black into the next scene. Other options are fading directly from one scene to another, shrinking a scene to reveal another “behind it”, or sliding one scene off the screen to the left whilst simultaneously sliding another onto the screen from the right. All these techniques are generated post-filming and are fixed.
According to a first aspect of the invention there is provided a graphics system for changing images on a gaming machine display, the system comprising:
In a preferred embodiment as an initial step, a second of the images is initially placed behind a first of the images. The first image may be incrementally removed by the transition type to reveal or expose at least a part of the second image until the first image has been entirely removed to reveal the second image.
The transition library may include slide, wipe, scatter, fade, iris, shrink, curtain or rotate transitions. The selected transition type or selected transition may change the first image to the second image using a shape. The iris transition may use a circle. The wipe transition may use a line. The scatter transition may use a square.
The selected transition may be drawn using pixel operations, scaling, micro-clipping or OpenGL operations.
The selected transition may have a pre-determined duration. The selected transition may coincide with a sound or animation. The selected transition may start and reset based on a pre-determined time.
At least one of the images may be an animation. In the preferred embodiment, only the second image is an animation. The images may be bitmap images, hereinafter referred to as 2D images. The images may be vector images, hereinafter referred to as 3D images. The selected transition may be in 2D mode if the first or second images are 2D images.
In 2D mode, the image may be divided into smaller shapes. A pre-determined number of smaller shapes may be filled for each refresh period of the gaming machine display.
In 3D mode, the transition data may include a callback function that is attached to the selected transition. A Display Manager window, may be created for the callback function. The callback, function may draw the selected transition on the gaming machine display using OpenGL calls. The callback function may draw the selected transition on the gaming machine display by incrementally exposing less of the first image for each refresh period.
The first image may exist in a scene list. The selected transition may be added in the same position of the first image in the scene list.
A duplicate image of the first image may be added to the scene list for modification. The transition data for the duplicate image may be initialised.
The transition data may be generated and/or modified at every refresh period of the gaming machine display.
The transition data may be a duplicate image of the first image.
Transition data may include the transition type, the duration of the selected transition, the current state of the selected transition.
An offscreen Device Context may be created for receiving a copy of the duplicate image. The first image may be removed after the Device Context is created.
The duplicate image in the offscreen Device Context may be added to a Display Manager. The image may be removed from the Display Manager when the selected transition is completed. Memory may be freed when the selected transition is removed from the Display Manager.
Each image in a scene list may be checked to determine if it has transition data. Each image having transition data may have a draw handler.
Parts of the first image to be replaced per refresh period may be calculated such that the selected transition is completed within a pre-determined time. The pre-determined time may beset by a user at run-time.
According to a second aspect of the invention, there is provided a method for changing images on a gaining machine display, the method comprising the steps of:
According to a third aspect of the invention, there is provided a gaming machine having a gaining machine display, the gaining machine comprising:
Advantageously, transitions enable gaming machines to change images on the gaining display in a variety of ways over a variable time period without using pre-generated animations. That is, any image that exists on a gaming machine display can be made to disappear and reappear aesthetically at run-time. Preferably, by placing a second image under the first image before the start of a transition, the second image can be exposed and effectively replace the first image using any of the transitions provided by the graphics engine.
According to a fourth aspect of the invention there is provided computer program means for directing a graphics engine and a control means to execute a procedure to change images in a graphics system on a gaining machine display, the graphics system having a transition library of transition types, the computer program means directing:
According a fifth aspect of the invention there is provided computer program means for directing a graphics engine and a control means to execute a procedure to change images on a gaming machine display by:
According to a sixth aspect of the invention there is provided a computer readable memory, encoded with data representing a computer program for directing a graphics engine and a control means to execute a procedure to change images on a gaming machine display by:
An example of the invention will now be described with reference to the accompanying drawings, in which:
Referring to
Referring to
The scene3d_update_task thread 40 is used for 3D images and is provided with functions including: scenerender( ) 41, _refreshDMEx( ) 42, refreshDM( ) 43 and a 3D transition callback function, diag_wipe3d_cb_DM( ) 44. The scene3d_update_task thread 40 calls _refreshDM( ) 43 to call the 3D transition callback function 44. The callback function 44 uses the transition data (t_data) attached to the image to draw the selected transition via OpenGL calls. For any individual transition, the application code 25 and scene_update_task 30 threads cannot run concurrently. Also, the scene3d_update_task 40 and scene_update_task 30 threads cannot run concurrently.
addtransition( )
Referring to
The variable “Transition_scene_id” is used with the existing graphics commands to both start and reset the transition at desired times. Resetting a transition is useful to reveal several consecutive images, or if the transition has been interrupted by another gaming machine event.
When _addtransition( ) 26 is called, the selected transition assumes that the image already exists in the scene list and DM (Display Manager). An example of calling the _addtransition( ) function 26 is shown below:
The transition (t_id1) is added in the same position that the image exists in for the scene (s_id1). If this procedure is not met, then _addtransition( ) 26 will fail. The following code extract shows how _addtransition( ) 26 searches for the resource in the DM (Display Manager) and checks if the resource is in the same location that the user wants to attach the transition to.
Next, _addtransition( ) 26 adds a duplicate of the image to the scene list so that it can modify the duplicate image for the transition.
_addtransition( ) 26 also initialises all transition data (t_data) variables for the associated duplicate image. Below is a code extract that details the initialisation of the transition data (t_data).
Many of the variables within the t_data structure are dependent on the type of transition chosen, however some are present for all transitions. Below is a table explaining the variables of the t_data structure.
If the selected transition requires modification of the original image, for example, the “Iris Wipe” transition, an offscreen DC (Device Context) is created for a duplicate transition image. Below is a list of transitions that do not require an offscreen DC (Device Context) to be created.
Referring to
For error handling purposes, applying a transition to a resource other than an image results in_addtransition( ) 26 returning an error.
updatescene( )
In the image transition process, the updatescene( ) function 31 is called for each refresh of the gaming display 18. Also, each image to be displayed is checked to see if it contains any transition data. If the image contains transition data (t_data) and the transition is in progress, transition_actions( ) 32 is called as shown in the code extract below:
transition_actions( )
Transitions are maintained and updated by the transition_actions( ) function 32. Transitions can be updated using pixel operations or whole image operations, for example, scaling. The transition_actions( ) function 32 modifies all the transition data (t_data) for the next refresh of the display 18. Each individual transition contains unique algorithms and procedures to remove parts of the image from the display 18. However, some of the transitions within transition_actions( ) 32 only have a 2D implementation. Other transitions have a 2D and 3D implementation. The transitions that are only available in 2D use a specific 3D callback function 44 to cater for those, transitions in 3D mode.
If in 3D mode, the first time transition_actions( ) 32 is called, a DM (Display Manager) window is created at the location of the image and attaches a 3D callback function 44 to this window. At every refresh, transition_actions( ) 32 modifies all the t_data. Also, the 3D callback function 44 attached to this window processes the t_data structure and implements the transition using OpenGL calls. The code extract below illustrates the initialisation of the DM (Display Manager) window with a scatter_3D_cbDM( ) callback 44.
Below is a list of the associated 3D callback functions 44 for each transition.
Referring to
Referring to
Referring to
Referring to
Referring to
In 3D mode, different commands are used for step 76 instead of pixel commands to draw the transition. For example, OpenGL triangle commands could be used.
Scatter Transition Example
The Scatter transition receives a value (direction parameter) from the _addtransition( ) function 32. The direction parameter value is the size of the individual scattered squares, which is represented as a 1000th of a percent of the image area. For example, a value of 2500 is a square size that is 25% of the image area. The Scatter transition then determines the number of squares needed for the transition and calculates the position of the top left corner of each square 81 and assigns this value to each square.
The t_data structure for the Scatter transition has eight variables that are used for cumulative transition calculations. It is not known until the implementation of the transition algorithm is complete whether more variables are required.
Transition_actions( ) 32 is modified for the Scatter transition. This modification includes the transition algorithm and the correct timing, so that the transition is completed within a user specified time. Below is an excerpt of the initialisation of the scatter transition in transition_actions( ) 32.
To illustrate the process of initialisation, the code above is executed once at the start of the transition to split up the image into numbered squares as shown in
Generally, each transition has a shape that is derived from the transition. For example, the iris wipe transition has a circle and the wipe has a line. For the Scatter transition, this is a square. In relation to timing, the number of squares to remove per refresh period is based on the duration value passed from _addtransition( ) 26. The code extract below illustrates the number of squares to remove per refresh period (spf).
The lpf_1000 variable holds the squares to remove per refresh period ×1000 to reduce rounding errors. The lpf_1000 variable is added to the t_data→generic2 variable which is divided by 1000 to produce the final value for the number of squares to be removed for the current refresh period (spf). The remaining lines are stored in t_data→generic2 for the next refresh period.
Once the spf is calculated, a for loop is executed to remove a certain number of squares from the image per refresh period. The following code segment illustrates this.
Referring to
SoftFill( ) 90 instructs the current DC (Device Context) to set each pixel to ‘0’ in the given rectangle ‘area’. The for loop may get executed n times per refresh period. In this case, SoftFill( ) 90 fills n rectangles that are chosen randomly at each refresh period.
In 3D mode, a specific 3D callback, scatter _3D_cbDM 44 is celled 91 via _refresbDM( ) 43. This function 44 which performs its own OpenGL operations and divides the image into little triangles forming squares. To draw the transition image, less and less of the image is drawn each refresh period.
When the transition has ended it is removed from the DM (Display Manager). In 2D mode, t_data→generic1 is incremented each lime the SoftFill( ) function 90 is called in the for loop. The t_data→generic1 variable indicates the number of squares that have been removed already. When the t_data→generic1 variable reaches the number of squares that exist, the image is removed. The code extract below illustrates this:
Once the remove variable is set to true, transition_actions( ) 32 removes the transition from the DM (Display Manager) and cleans up the code. The user may also want their own clean up code, as shown in the code extract above. The clean up code also frees the memory that was allocated for the random list of integers.
Although the Scatter transition has been described, it will be appreciated that other transitions are also envisaged. New transitions can be added by:
Referring to
Referring to
Referring to
It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2003900809 | Feb 2003 | AU | national |
| Number | Name | Date | Kind |
|---|---|---|---|
| 5101364 | Davenport | Mar 1992 | A |
| 5359712 | Cohen | Oct 1994 | A |
| 5491778 | Gordon | Feb 1996 | A |
| 5640522 | Warrin | Jun 1997 | A |
| 5664082 | Chen | Sep 1997 | A |
| 5680535 | Harbin | Oct 1997 | A |
| 5766074 | Cannon | Jun 1998 | A |
| 5793985 | Natarajan | Aug 1998 | A |
| 5810665 | Takemoto et al. | Sep 1998 | A |
| 5933834 | Aichelen | Aug 1999 | A |
| 5959690 | Toebes, VIII | Sep 1999 | A |
| 5982389 | Guenter | Nov 1999 | A |
| 6157933 | Celi et al. | Dec 2000 | A |
| 6269366 | Romano | Jul 2001 | B1 |
| 6270411 | Gura | Aug 2001 | B1 |
| 6290600 | Glasson | Sep 2001 | B1 |
| 6375570 | Poole | Apr 2002 | B1 |
| 6388661 | Richards | May 2002 | B1 |
| 6433839 | Siefken | Aug 2002 | B1 |
| 6517432 | Jaffe | Feb 2003 | B1 |
| 6551187 | Jaffe | Apr 2003 | B1 |
| 6580466 | Siefken | Jun 2003 | B2 |
| 6628247 | Toffolo | Sep 2003 | B2 |
| 6731313 | Kaminkow | May 2004 | B1 |
| 7269802 | Kurzweil | Sep 2007 | B1 |
| 7302113 | Pilu | Nov 2007 | B2 |
| 7526736 | Kaminkow et al. | Apr 2009 | B2 |
| 7699699 | Gilliland et al. | Apr 2010 | B2 |
| 7735026 | Kurzweil | Jun 2010 | B2 |
| 7785191 | Marks et al. | Aug 2010 | B2 |
| 7980936 | Mead | Jul 2011 | B2 |
| 8271333 | Grigsby | Sep 2012 | B1 |
| 20020057386 | Otera | May 2002 | A1 |
| 20020061065 | Moore | May 2002 | A1 |
| 20020075284 | Rabb, III | Jun 2002 | A1 |
| 20020126224 | Lienhart | Sep 2002 | A1 |
| 20030064801 | Breckner et al. | Apr 2003 | A1 |
| 20050181347 | Barnes et al. | Aug 2005 | A1 |
| 20060009286 | Durham et al. | Jan 2006 | A1 |
| Number | Date | Country |
|---|---|---|
| 200179477 | May 2002 | AU |
| WO0174055 | Oct 2001 | WO |
| Entry |
|---|
| “ScreensaverMaker—Make Your Own Screensaver!” http://web.archive.org/web/20021126232239/http://www.scrmaker.com, Nov. 26, 2002. (See whole document.). |
| Number | Date | Country | |
|---|---|---|---|
| 20130196758 A1 | Aug 2013 | US |
| Number | Date | Country | |
|---|---|---|---|
| Parent | 10546859 | US | |
| Child | 13678004 | US |