# Patent

## Title
Mixture model for motion lines in a virtual reality environment

## Abstract

Improved human-like realism of computer opponents in racing or motion-related games is provided by using a mixture model to determine a dynamically prescribed racing line that the AI driver is to follow for a given segment of the race track. This dynamically prescribed racing line may vary from segment to segment and lap to lap, roughly following an ideal line with some variation. As such, the AI driver does not appear to statically follow the ideal line perfectly throughout the race. Instead, within each segment of the course, the AI driver's path may smoothly follow a probabilistically-determined racing line defined relative to at least one prescribed racing line.

## Background
RELATED APPLICATIONS
This application is related to U.S. patent application Ser. No. 10/610,167 entitled “MODIFIED MOTION CONTROL FOR A VIRTUAL REALITY ENVIRONMENT”, U.S. Pat. No. 7,090,576 entitled “PERSONALIZED BEHAVIOR OF COMPUTER CONTROLLED AVATARS IN A VIRTUAL REALITY ENVIRONMENT” and U.S. patent application Ser. No. 10/609,703 entitled “PROBABILISTIC MODEL FOR DISTRACTIONS IN A VIRTUAL REALITY ENVIRONMENT”, specifically incorporated herein by reference for all that they disclose and teach.
TECHNICAL FIELD
The invention relates generally to virtual reality environments, and more particularly to a mixture model for motion lines in a virtual reality environment.
DESCRIPTION
Most racing-based computer games provide a mode for competing against computer-controlled opponents that use a simple form of artificial intelligence (AI) to negotiate the race track or course in a simulated “human-like” fashion. However, despite the “human-like” goal of such AI, the result tends to appear quite non-human upon close observation. For example, the computer opponent may travel along an ideal or prescribed racing line on the course, whereas a human competitor inadvertently introduces continuous imperfections into his or her driving, such as over/under turning, over/under accelerating, over/under braking, and early/late reactions. However, it is just such imperfections that characterize a “human-like” competitor.
A typical AI motion control system effectively provides a computer opponent with a reaction time of 1/60th of a second in the USA or 1/50th of a second in Europe (i.e., for each frame repaint interval in the virtual reality environment). Therefore, computer control of the AI opponent in reaction to any “visual” (e.g., distance to a corner) and “physical” (e.g., loss of traction) stimuli from the virtual reality environment occurs 50 or 60 times a second. No human player can react so quickly, so frequently, or so ideally as to compete with such a perfect computer controlled opponent.
Therefore, one specific source of the non-human-like behavior of computer opponents is that the typical AI motion control system follows this prescribed racing line too perfectly, correcting its off-line motion at super-human speed (e.g., 60 times a second) and barely deviating from this ideal path. A virtual observer could follow a typical AI controlled vehicle around a course and find little or no deviation in the vehicle's path from the ideal path and little or no deviation in the AI controlled vehicle's path from lap to lap.
Implementations described and claimed herein enhance the human-like realism of computer opponents in racing-type games and other motion-related games. In one implementation, the computer controlled vehicle follows a dynamically prescribed racing line in each segment of the track. This racing line may vary from segment to segment and lap to lap, roughly following an ideal or other statically prescribed racing line with some substantial variations. As such, the AI driver does not appear to statically follow the ideal line perfectly throughout the race. Instead, within each segment of the track, the AI driver's path may smoothly follow a probabilistically-determined racing line defined relative to at least one prescribed racing line. A racing line is a type of motion line applicable to racing type games.
In various implementations, articles of manufacture are provided as computer program products. One implementation of a computer program product provides a computer program storage medium readable by a computer system and encoding a computer program for a virtual reality environment. Another implementation of a computer program product may be provided in a computer data signal embodied in a carrier wave by a computing system and encoding the computer program for a virtual reality environment.
The computer program product encodes a computer program for executing on a computer system a computer process for a virtual reality environment. A dynamically prescribed motion line is computed based on a probabilistic distribution relative to at least one statically prescribed motion line. At least one control signal is generated to guide motion of an entity in a virtual reality environment in accordance with the dynamically prescribed motion line.
In another implementation, a method is provided, such that a dynamically prescribed motion line is computed based on a probabilistic distribution relative to at least one statically prescribed motion line. At least one control signal is generated to guide motion of an entity in a virtual reality environment in accordance with the dynamically prescribed motion line.
In yet another implementation, a system is provided, such that a mixture model line sampling module computes a dynamically prescribed motion line based on a probabilistic distribution relative to at least one statically prescribed motion line. In addition, an artificial intelligence motion control system generates at least one control signal to guide motion of an entity in a virtual reality environment in accordance with the dynamically prescribed motion line.



Brief descriptions of the drawings included herein are listed below.
FIG. 1 illustrates a race course, exemplary prescribed racing lines, and an exemplary simulated path of a virtual race vehicle.
FIG. 2 illustrates a definition of an exemplary dynamically prescribed racing line for a track segment.
FIG. 3 illustrates a definition of another exemplary dynamically prescribed racing line for a track segment.
FIG. 4 illustrates a definition of yet another exemplary dynamically prescribed racing line for a track segment.
FIG. 5 illustrates exemplary components of a virtual racing game system.
FIG. 6 illustrates operations for modifying motion simulation according to an exemplary mixture model.
FIG. 7 illustrates an exemplary system useful for implementing an embodiment of the present invention.



Racing-based computer games typically include a mode in which one or more human players can compete against one or more computer-controlled opponents. For example, a human player may drive a virtual race car against a computer-controlled virtual race car purported to be driven by Mario Andretti or some other race car driver.
In one implementation, the behavior of the computer-controlled virtual vehicle or other virtual reality entity may be made more human-like by using a mixture model to dynamically determine a prescribed racing line that the AI driver is to follow for a given segment of the track. It should also be understood that implementations may be applied to various types of racing games, including boat racing, skiing, skating, plane racing, etc., and other types of non-racing motion-based simulations, including combat simulations, reality simulations, etc.
FIG. 1 illustrates a race course, exemplary prescribed racing lines, and an exemplary simulated path of a virtual vehicle. A virtual race course 100 includes a racing surface 102 and an infield 104. It should be understood that an alternative course may not be closed or may be applied to a non-racing environment, such as a first person shooter game, a military simulation, or a reality simulation. As such, a computer controlled driver may be replaced by a computer controlled (or AI controlled) player represented by any moving object.
A prescribed racing line 106 (going in the counterclockwise direction) is associated with the virtual race course 100. Such a prescribed racing line 106 may be statically designed into the game by the game designers as the target line for the AI controlled drivers. Various types of prescribed racing lines may include ideal and non-ideal racing lines for a course and may be characterized by various ideal and non-ideal parameters, including steering, braking, speed, and acceleration parameter sequences.
During a race, at a specified interval (such as a simulation interval or a frame interval, which may be equal in some implementations), an AI motion control system receives stimulus inputs and computes control signals based on these inputs to change the direction, speed, etc. of the computer racing vehicle. The changes are generally intended to bring the AI driver back into alignment with the prescribed racing line 106. As such, the prescribed racing line 106 provides guidance to the AI motion control system in controlling the AI driver's path along the track.
In the illustrated implementation, a secondary prescribed line 108, for example, provides a second possible racing line for an AI controlled driver (although there may be multiple secondary prescribed racing lines). Along each prescribed racing line, waypoints (such as waypoints 112, 114, 116, and 118, marked by black circles with white centers) are defined. Waypoints are used by the AI motion control system to compute proper motion control signals for the AI vehicle. It should be understood that waypoints may also be defined as intersections of lateral track waypoint lines and prescribed racing lines, as suggested by the portion of FIG. 1 shown at 122.
In some implementations, secondary prescribed racing lines are used to provide supplemental guidance for passing and obstacle avoidance. For example, a vehicle 110 is obstructing the prescribed (possibly ideal) racing line 106 of the AI driver. (The bold solid line 109 represents the actual path of the AI driver.) Therefore, when the AI motion control system determines that the AI driver should attempt to pass the vehicle 110, the AI motion control system interpolates a transitional racing line between the AI driver's current position and the next waypoint on the secondary prescribed racing line 108 (as illustrated by line 124). Such interpolation may include linear interpolation with or without additional smoothing. Likewise, when the AI motion control system determines that the AI driver has passed the vehicle 110 and should return to the ideal line 106, the AI motion control system interpolates another transitional racing line to guide the AI driver to waypoint 118 (as illustrated by line 126). Upon returning to the prescribed racing line 106, the AI motion control system attempts to continue along this line until another obstacle is encountered.
Ideal and secondary prescribed racing lines may also be used with a mixture model to provide a more realistic behavior for an AI driver. In one implementation, at least two prescribed racing lines are used to determine a dynamically prescribed racing line for individual track segments (e.g., one or more full laps or smaller track segments). As such, in FIG. 1, a different dynamically prescribed racing line may be computed between the prescribed lines 106 and 108 for every lap (although in other implementations, the dynamically prescribed racing line may be alternatively defined outside of lines 106 and 108.)
It should be understood that the term “dynamically prescribed” does not require that the prescribed racing lines be computed during game time. In some implementations, the prescribed racing lines for multiple track segments, laps or AI controlled components may be computed prior to the start of the race and merely applied during the race. In this implementation, dynamically prescribed racing lines implies that the racing lines are not statically prescribed at development time nor are they merely selected from a set of racing lines that were statically prescribed at development time. As such, dynamically prescribed racing lines are computed relative to at least one statically prescribed racing line, but are not statically prescribed themselves.
In such an implementation, for example, an exemplary dynamically prescribed racing line for a track segment 119 in a subsequent lap is shown at 120. In this manner, the AI driver need not follow the same prescribed racing line for the same track segment in multiple laps, thereby providing a richer, more realistic racing experience for a human driver competing against the AI driver.
FIG. 2 illustrates a definition of an exemplary dynamically prescribed racing line 208 for a track segment 200. Lines 202 represent the side boundaries of the track segment 200. One prescribed racing line 204 may represent an ideal racing line, although there is no requirement that this line is ideal—it merely represents one prescribed racing line. A second prescribed racing line 206 may represent a less-than ideal racing line, although, again, this is not a requirement of the second prescribed racing line—it merely represents a second prescribed racing line.
Given the two prescribed racing lines 204 (L0) and 206 (L1), a mixture model line sampling module computes the dynamically prescribed racing line 208 relative to the prescribed racing lines 204 and 206. In the illustration of FIG. 2, the dynamically prescribed racing line 208 is substantially a 50-50 mixture of the prescribed racing lines 204 and 206.
In one implementation, a dynamically prescribed racing line L is defined using a distribution function y and two statically prescribed racing lines L0 and L1. For example, a probabilistic distribution function, such as Gaussian distribution

y=N(μ,σ)  (1)

may be used, with mean μ and standard deviation σ, although other distribution factors may be used. Given a distribution function y, a mixture parameter λ may be computed (controlling the deviation of the dynamically prescribed racing line from one or the other of the dynamically prescribed racing lines) such that

λε[0,1]  (2)

using a variety of mixture functions. One such mixture function f(y)=λ is defined as





  
    
      
        λ
        =
        
          
            f
            ⁡
            
              (
              y
              )
            
          
          =
          
            
              e
              y
            
            
              1
              +
              
                e
                y
              
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




and is applied to define a dynamically prescribed racing line L using Equation (4).

L=λL0+(1−λ)L1  (4)

It should be understood however, that a variety of distribution functions, mixture functions and dynamically prescribed racing line functions may be employed, including non-Gaussian distribution functions, beta functions, and dynamically prescribed racing line functions that depend on only one prescribed racing line or more than two prescribed racing lines.
As mentioned previously, the mixture resulting in the dynamically prescribed racing line 208 appears to be roughly a 50-50 mixture of the prescribed racing lines 204 and 208. Other exemplary mixtures are shown in FIGS. 3 and 4.
FIG. 3 illustrates a definition of another exemplary dynamically prescribed racing line 308 for a track segment 300. Lines 302 represent the side boundaries of the track segment 300. Given two prescribed racing lines 304 (L0) and 306 (L1), a mixture model line sampling module computes the dynamically prescribed racing line 308 relative to the prescribed racing lines 304 and 306. In the illustration of FIG. 3, the dynamically prescribed racing line 308 is mixture favoring the prescribed racing lines 304. For example, using Equation (4), a mixture parameter λ equaling 0.95 may result in such a dynamically prescribed racing line L (308).
FIG. 4 illustrates a definition of yet another exemplary dynamically prescribed racing line 408 for a track segment 400. Lines 402 represent the side boundaries of the track segment 400. Given two prescribed racing lines 404 (L0) and 406 (L1), a mixture model line sampling module computes the dynamically prescribed racing line 408 relative to the prescribed racing lines 404 and 406. In the illustration of FIG. 4, the dynamically prescribed racing line 408 is mixture favoring the prescribed racing lines 404. For example, using Equation (4), a mixture parameter λ equaling 0.10 may result in such a dynamically prescribed racing line L (408).
The boundaries between track segments may be referred to a “seams”. In order to smooth the transition at a seam between a dynamically prescribed racing line of one segment and a dynamically prescribed racing line of the next segment, a transitional lead-in distance may be defined in terms of a number of waypoints into the next segment. The transitional racing line at the seam may be defined by a linear interpolation from a point in the first track segment (e.g., the last track location in that segment) to the waypoint that is located at the transitional lead-in distance into the next track segment. It should be understood, however, that other smoothing methods may also be employed.
FIG. 5 illustrates exemplary components of a virtual racing game system 500. In this implementation, stimuli 502 received from the virtual reality environment are input to an AI motion control system 504. Stimuli 502 may include various types of stimuli, including without limitation those stimuli listed below:

    
    
        “Visual” stimuli—Includes structures, objects, actions, and characteristics which would be seen by a virtual driver controlling the race in the virtual reality environment (e.g., other racers, walls, obstacles, course markings, accident debris, etc.).
        “Physical” stimuli—Includes non-visual sensations detected by a virtual driver controlling the racing vehicle in the virtual reality environment (e.g., loss of tire traction, heat, fatigue, audio signals, bumps by other vehicles, etc.).
    
    


Each type of stimuli may be represented added by a stimulus signal, which in one implementation, includes a parameter value indicating the properties of the particular type of stimulus in a given simulation interval. For example, one visual stimulus signal may indicate the location of another driver on the course relative to the current driver. Furthermore, visual stimuli may be divided into directional components or sets, such as forward visual stimuli received from in front of the vehicle and rearward visual stimuli received through a rear view mirror or side view mirrors. These components may also be further decomposed (e.g., separating the stimuli from different mirrors).
Directional virtual stimuli may result in directional distractions. For example, seeing a vehicle approach in its rear view mirror may cause the AI driver to miss new forward visual stimuli for one or more frames. Likewise, seeing an accident in front of its vehicle may cause the AI driver to miss rearward visual stimuli for one or more frames. In addition, receipt of forward visual stimuli may be mutually exclusive with receipt of rearward visual stimuli in the same frame or set of frames because a human driver would not be able to effectively look forward and in the rear view mirror at the same time.
Examples of physical stimulus signals may indicate that the racing vehicle has lost traction and is skidding (e.g., a sideways motion), that the computer controlled vehicle has been hit by another car or the wall, or that a sound of an accident has been heard to the AI driver's right side. Note that physical stimuli may also be directional in nature.
The AI motion control system 504 computes control signals 506 responsive to the stimuli 502, where “A” represents an acceleration control signal, “S” represents a steering control signal, and “B” represents a braking control signal. It should be understood, however, that other types of control signals are contemplated, including without limitation a speed control signal. The control signals 506 are computed according to guidance provided by a dynamically prescribed racing line for the current track segment (or other prescribed racing lines, depending on the current stimuli, AI vehicle status, track location, etc.). It should also be understood that, based on the context of the AI vehicle in the track segment (e.g., relative to other vehicles), the AI vehicle may leave the dynamically prescribed racing line, such as to overtake, block, or ram another vehicle. In one implementation, the AI motion control module may respond to a request or trigger resulting from certain received stimuli. In another implementation, the prescribed line following module 508 may also receive as input stimuli 502 and, in response to certain conditions, generate a new dynamically prescribed line for the AI motion control system 504 within an individual track segment.
The dynamically prescribed racing line is received by the AI motion control system 504 from a prescribed racing line following module 508, which receives one or more prescribed racing lines from one or both of a prescribed racing line datastore 510 and a mixture model line sampling module 512. In one implementation, the prescribed racing line datastore 510 is statically populated (e.g., at development time or through updates) with sensible and possibly ideal racing lines for given track segments. Prescribed racing lines may be defined algorithmically or numerically (e.g., by an array of track locations for a given line). The mixture model line sampling module 512 implements a mixture model to dynamically compute a prescribed racing line for the current track segment, using one or more prescribed racing lines from the prescribed racing line datastore 510. The control signals 506 are input to a physics engine 514, which applies the control signals to the racing vehicle to simulate the motion of the AI controlled racing vehicle or other entity within the virtual reality environment.
FIG. 6 illustrates operations 600 for modifying motion simulation according to an exemplary mixture model. A computation operation 602 computes a dynamically prescribed racing line relative to at least one statically prescribed racing line (e.g., an ideal racing line).
It should be understood that the properties of the probabilistic distribution function may be dynamically configured before or during the race or over the period of the human player's use of the virtual reality game. For example, when the game is first played, both the human player and the AI driver may be considered novices, particularly with a given track. As such, a probabilistic distribution having a mean that favors a less ideal racing line can reflect the inexperience of the AI driver on that track. Likewise, the level of experience may also be represented by the mixture parameter. This will result in less optimal driving by the AI driver. However, as the AI driver gains “experience” on the track, the AI driver can reflect the human-like ability of learning the ideal racing line by gradually incrementing the mean of the probabilistic distribution to favor the more ideal racing line. The mixture parameter may also be adjusted to reflect a change in experience of the AI driver. Likewise, the standard deviation of the probabilistic distribution may be altered to provide smaller or larger variability in the dynamically prescribed racing line relative to the mean.
Such “experience”-based customization of the mixture model may be controlled by an experience parameter for each AI driver per each track. Therefore, as the AI driver races on a given track, the AI driver's experience parameter E for that track increases (e.g., μ=□E, where □ is a proportionality constant), and the dynamically prescribed racing line approaches an ideal racing line more often.
In another implementation, experience may be temporarily decreased and the dynamically prescribed racing line for the current track sample may be recomputed in response to detection of a particular type of “distraction”. In other words, if a distraction is detected, as discussed in the previously incorporated U.S. patent application Ser. No. 10/609,703 entitled “PROBABILISTIC MODEL FOR DISTRACTIONS IN A VIRTUAL REALITY ENVIRONMENT”, the experience parameter E can temporarily be decreased until the driver “recovers” from the distraction.
A stimulus operation 604 receives stimuli from the virtual reality environment. A control operation 606 generates control signals based on the received stimuli with guidance for the dynamically prescribed racing line for the current track segment. A transmission operation 608 sends the generated control signals to the physics engine for application within the virtual reality environment.
The exemplary hardware and operating environment of FIG. 7 for implementing the invention includes a general purpose computing device in the form of a computer 20, including a processing unit 21, a system memory 22, and a system bus 23 that operatively couples various system components include the system memory to the processing unit 21. There may be only one or there may be more than one processing unit 21, such that the processor of computer 20 comprises a single central-processing unit (CPU), or a plurality of processing units, commonly referred to as a parallel processing environment. The computer 20 may be a conventional computer, a distributed computer, or any other type of computer; the invention is not so limited.
The system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory may also be referred to as simply the memory, and includes read only memory (ROM) 24 and random access memory (RAM) 25. A basic input/output system (BIOS) 26, containing the basic routines that help to transfer information between elements within the computer 20, such as during start-up, is stored in ROM 24. The computer 20 further includes a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD ROM or other optical media.
The hard disk drive 27, magnetic disk drive 28, and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32, a magnetic disk drive interface 33, and an optical disk drive interface 34, respectively. The drives and their associated computer-readable media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for the computer 20. It should be appreciated by those skilled in the art that any type of computer-readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMs), read only memories (ROMs), and the like, may be used in the exemplary operating environment.
A number of program modules may be stored on the hard disk, magnetic disk 29, optical disk 31, ROM 24, or RAM 25, including an operating system 35, one or more application programs 36, other program modules 37, and program data 38. A user may enter commands and information into the personal computer 20 through input devices such as a keyboard 40 and pointing device 42. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 21 through a serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or a universal serial bus (USB). A monitor 47 or other type of display device is also connected to the system bus 23 via an interface, such as a video adapter 48. In addition to the monitor, computers typically include other peripheral output devices (not shown), such as speakers and printers.
The computer 20 may operate in a networked environment using logical connections to one or more remote computers, such as remote computer 49. These logical connections are achieved by a communication device coupled to or a part of the computer 20; the invention is not limited to a particular type of communications device. The remote computer 49 may be another computer, a server, a router, a network PC, a client, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 20, although only a memory storage device 50 has been illustrated in FIG. 7. The logical connections depicted in FIG. 7 include a local-area network (LAN) 51 and a wide-area network (WAN) 52. Such networking environments are commonplace in office networks, enterprise-wide computer networks, intranets and the Internal, which are all types of networks.
When used in a LAN-networking environment, the computer 20 is connected to the local network 51 through a network interface or adapter 53, which is one type of communications device. When used in a WAN-networking environment, the computer 20 typically includes a modem 54, a type of communications device, or any other type of communications device for establishing communications over the wide area network 52. The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a networked environment, program modules depicted relative to the personal computer 20, or portions thereof, may be stored in the remote memory storage device. It is appreciated that the network connections shown are exemplary and other means of and communications devices for establishing a communications link between the computers may be used.
In an exemplary implementation, AI motion control systems, physics engines, mixture model line sampling modules, prescribed line following modules, or other modules may be incorporated as part of the operating system 35, application programs 36, or other program modules 37. The stimuli signals, statically prescribed racing lines, and control signals may be stored as program data 38.
The embodiments of the invention described herein are implemented as logical steps in one or more computer systems. The logical operations of the present invention are implemented (1) as a sequence of processor-implemented steps executing in one or more computer systems and (2) as interconnected machine modules within one or more computer systems. The implementation is a matter of choice, dependent on the performance requirements of the computer system implementing the invention. Accordingly, the logical operations making up the embodiments of the invention described herein are referred to variously as operations, steps, objects, or modules.
The above specification, examples and data provide a complete description of the structure and use of exemplary embodiments of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

## Claims

1. A method comprising:
computing a first dynamically prescribed motion line according to a mixture model and based on a probabilistic distribution between a first statically prescribed motion line and a second statically prescribed motion line, wherein the mixture model is defined as function





  λ
  =
  
    
      f
      ⁡
      
        (
        y
        )
      
    
    =
    
      
        e
        y
      
      
        1
        +
        
          e
          y
        
      
    
  




computed wherein λε[0,1];
generating one or more control signals to guide motion of an entity in a virtual reality environment in accordance with the first dynamically prescribed motion line; and
displaying the entity on a display device according to the one or more control signals.

2. The method of claim 1 wherein a mixture parameter of the mixture model controls deviation of the dynamically prescribed motion line from the statically prescribed motion lines.

3. The method of claim 2, further comprising adjusting the mixture parameter to alter the dynamically prescribed motion line.

4. The method of claim 1 wherein the mixture model is characterized by a mean and the method further comprises:
adjusting the mean to alter the dynamically prescribed motion line.

5. The method of claim 1 wherein the mixture model is characterized by a standard deviation and the method further comprises:
adjusting the standard deviation to alter the dynamically prescribed motion line.

6. The method of claim 1 wherein the first dynamically prescribed motion line is L and is defined by L=λL0+(1−λ)L1, and the first statically prescribed motion line is L0, and the second statically prescribed motion line is L1.

7. One or more computer-readable media embodying processor-executable instructions that, when executed by one or more processors, cause the one or more processors to implement a method comprising:
computing a first dynamically prescribed motion line associated with a first course segment according to a mixture model and based on a probabilistic distribution relative to at least a first statically prescribed motion line and a second statically prescribed motion line, wherein the mixture model is defined as function





  λ
  =
  
    
      f
      ⁡
      
        (
        y
        )
      
    
    =
    
      
        e
        y
      
      
        1
        +
        
          e
          y
        
      
    
  




computed wherein λε[0,1];
generating one or more first control signals to guide motion of an entity in a virtual reality environment in accordance with the first dynamically prescribed motion line;
computing a second dynamically prescribed motion line associated with a second course segment and based on the probabilistic distribution relative to the first statically prescribed motion line and the second statically prescribed motion line;
generating one or more second control signals to guide motion of the entity in the virtual reality environment in accordance with the second dynamically prescribed motion line; and
displaying the entity on a display device according to the first and second control signals.

8. The one or more computer-readable media of claim 7, further comprising displaying the virtual environment on the display device.

9. The one or more computer-readable media of claim 7 wherein a mixture parameter controls deviation of the dynamically prescribed motion lines from the first and second statically prescribed motion lines.

10. The one or more computer-readable media of claim 9, further comprising adjusting the mixture parameter to alter the dynamically prescribed racing lines.

11. The one or more computer-readable media of claim 7, further comprising
adjusting the mean to alter the dynamically prescribed racing lines.

12. The one or more computer-readable media of claim 7, further comprising adjusting the standard deviation to alter the dynamically prescribed racing lines.

13. The one or more computer-readable media of claim 7, the first dynamically prescribed motion line is L and is defined by L=λL0+(1−λ)L1, and the first statically prescribed motion line is L0, and the second statically prescribed motion line is L1.

14. A system comprising: a central-processing unit (CPU); a memory; a mixture model line sampling module configured to compute, according to a mixture model and based on a probabilistic distribution relative to at least two statically prescribed motion lines, a first dynamically prescribed motion line associated with a first course segment and a second dynamically prescribed motion line associated with a second course segment, wherein the mixture model is defined as function




  λ
  =
  
    
      f
      ⁡
      
        (
        y
        )
      
    
    =
    
      
        e
        y
      
      
        1
        +
        
          e
          y
        
      
    
  




computed wherein λε[0,1];
an artificial intelligence motion control system generating at least one control signal to guide motion of an entity in a virtual reality environment in accordance with the dynamically prescribed motion lines.

15. The system of claim 14 further comprising:
a mixture parameter that controls deviation of the dynamically prescribed motion lines from the at least two statically prescribed motion line.

16. The system of claim 15 wherein the mixture parameter is adjustable and adjustment of the mixture parameter alters the dynamically prescribed motion lines.

17. The system of claim 14 wherein the probabilistic distribution is characterized by a mean that is adjustable and adjustment of the mean alters the dynamically prescribed motion lines.

18. The system of claim 14 wherein the probabilistic distribution is characterized by a standard deviation that is adjustable and adjustment of the standard deviation alters the dynamically prescribed motion lines.

19. The system of claim 14 wherein the first dynamically prescribed motion line is L and is defined by L=λL0+(1−λ)L1, and the first statically prescribed motion line is L0, and the second statically prescribed motion line is L1.