空 挡 广 告 位 | 空 挡 广 告 位

Microsoft Patent | Mixture model for motion lines in a virtual reality environment

Patent: Mixture model for motion lines in a virtual reality environment

Drawings: Click to check drawins

Publication Number: 20090225087

Publication Date: 20090910

Assignee: Microsoft Corporation

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.

Claims

1. A method for determining motion of a computer-controlled entity along a track segment, the method comprising: computing a dynamically prescribed motion line based on a probabilistic distribution between a first prescribed motion line and a second prescribed motion line in response to a parameter which reflects a level of the computer-controlled entity; and generating one or more control signals to guide the motion of the computer-controlled entity along the track segment in accordance with the dynamically prescribed motion line, wherein a standard deviation of the probabilistic distribution may be altered so as to modulate variability of the dynamically prescribed motion line relative to a mean.

2. The method of claim 1 wherein the track segment is one of a plurality of contiguous track segments forming a course along which the computer-controlled entity can be guided.

3. The method of claim 2 wherein the dynamically prescribed motion line is computed for each of the plurality of track segments and the motion of the computer-controlled entity is determined according to each dynamically prescribed motion line when the computer-controlled entity is located along the corresponding track segment.

4. The method of claim 1 further comprising defining waypoints along the first prescribed motion line and the second prescribed motion line.

5. The method of claim 4 further comprising interpolating a transitional motion line between a first waypoint of the first prescribed motion line and a second waypoint of the second prescribed motion line wherein the transitional motion line links the first prescribed motion line and the second prescribed motion line.

6. The method of claim 1 wherein a standard deviation of the probabilistic distribution may be altered so as to modulate variability of the dynamically prescribed motion line in order to control the deviation of the dynamically prescribed motion line away from a mean associated with the first and second prescribed motion lines, wherein the dynamically prescribed motion line favors the first or the second prescribed motion lines relative to a mean.

7. The method of claim 1 wherein the parameter is an experience parameter which reflects a level of experience, the experience parameter is defined as .mu.=.alpha.E, such that as the computer-controlled entity traverses the track, the experience parameter for that computer-controlled entity increases, and the dynamically prescribed motion line approaches the second prescribed motion line on a more frequent basis.

8. The method of claim 1 wherein the parameter is a temporary distraction parameter and the level is a level of a temporarily detected distraction.

9. A method for guiding a computer-controlled entity along a dynamically prescribed motion line and for avoiding an obstacle, the method comprising: computing the dynamically prescribed motion line based on a probabilistic distribution between a first prescribed motion line and a second prescribed motion line; computing a secondary dynamically prescribed motion line based on the probabilistic distribution between the first prescribed motion line and the second prescribed motion line wherein the secondary dynamically prescribed motion line is different than the dynamically prescribed motion line and the dynamically prescribed motion line and the secondary prescribed motion line are computed based on a parameter which reflects a level of the computer-controlled entity; defining a first waypoint on the dynamically prescribed motion line and a second waypoint on the secondary dynamically prescribed motion line; interpolating a transitional motion line between the first waypoint and the second waypoint wherein the transitional motion line links the dynamically prescribed motion line and the secondary dynamic motion line; and generating one or more control signals to guide the motion of the computer-controlled entity in accordance with the transitional motion line from the dynamically prescribed motion line to the secondary prescribed motion line wherein the obstacle is avoided by the computer-controlled entity.

10. The method of claim 9 wherein the secondary dynamically prescribed motion line deviates from a mean associated with the secondary dynamically prescribed motion line, wherein the dynamically prescribed motion line favors the first or the second prescribed motion line.

11. The method of claim 9 wherein, after avoiding the obstacle, the computer-controlled entity is guided back onto the dynamically prescribed motion line.

12. The method of claim 9 wherein a standard deviation of the probabilistic distribution may be altered so as to modulate variability of the dynamically prescribed motion line or the secondary dynamically prescribed motion line relative to a mean and incrementing the mean results in computing the dynamically prescribed motion line or the secondary that dynamically prescribed motion line favors an ideal motion line.

13. The method of claim 9 wherein the parameter is an experience parameter which reflects a level of experience, the experience parameter is defined as .mu.=.alpha.E, such that as the computer-controlled entity traverses the track, the experience parameter for that computer-controlled entity increases, and the dynamically prescribed motion line approaches the second prescribed motion line on a more frequent basis or wherein the parameter is a temporary distraction parameter and the level is a level of a temporarily detected distraction.

14. A system for guiding a computer-controlled entity along a course, the system comprising: a mixture model line sampling module configured to compute, based on a probabilistic distribution relative to at least two statically prescribed motion lines and a level parameter, a first dynamically prescribed motion line of a first course segment of the course and a second dynamically prescribed motion line of a second course segment of the course; and an artificial intelligence motion control system configured to generate at least one control signal to guide motion of the computer-controlled entity in accordance with the first dynamically prescribed motion line and the second dynamically prescribed motion line wherein a standard deviation of the probabilistic distribution is altered so as to modulate variability of the first dynamically prescribed motion line and of the second dynamically prescribed motion line in order to control the deviation of the first and second dynamically prescribed motion lines away from a mean associated with that at least two statically prescribed motion lines, wherein the first and second dynamically prescribed motion lines favors the one of the at least two statically prescribed motion lines; and a display device for displaying the computer-controlled entity along the course.

15. The system of claim 14 wherein the first course segment and the second course segment form two connected course segments of a plurality of contiguous course segments of the course.

16. The system of claim 15 further comprising configuring to define waypoints along the first dynamically prescribed motion line and along the second dynamically prescribed motion line.

17. The system of claim 16 further comprising configured to interpolate a transitional prescribed motion line between a first waypoint of the first dynamically prescribed motion line and a second waypoint of the second dynamically prescribed motion line wherein the transitional prescribed motion line links the first dynamically prescribed motion line leaving the first course segment and the second dynamically prescribed motion line entering the second course segment.

18. The system of claim 14 wherein the first dynamically prescribed motion line is computed when the computer-controlled entity approaches the first course segment and further comprising incrementing the mean results in computing the first dynamically prescribed motion line and the second dynamically prescribed motion line wherein they favor an ideal motion line.

19. The system of claim 14 wherein the level parameter is an experience parameter which reflects a level of experience, the level parameter is defined as .mu.=.alpha.E, such that as the computer-controlled entity traverses the track, the experience parameter for that computer-controlled entity increases, and the dynamically prescribed motion line approaches the second prescribed motion line on a more frequent basis.

20. The system of claim 14 wherein the level parameter is a temporary distraction parameter and the level is a level of temporarily detected distraction.

Description

RELATED APPLICATIONS

[0001] This application claims benefit to U.S. patent application Ser. No. 10/609,997 (303876.01) filed on Jun. 30, 2003 and to U.S. patent application Ser. No. 12/028,012 filed on Feb. 8, 2008 (303876.02). This application is related to U.S. patent application Ser. No. 10/610,167 (303874.01) entitled "MODIFIED MOTION CONTROL FOR A VIRTUAL REALITY ENVIRONMENT", U.S. patent application Ser. No. 10/609,507 (303875.01) entitled "PERSONALIZED BEHAVIOR OF COMPUTER CONTROLLED AVATARS IN A VIRTUAL REALITY ENVIRONMENT" and U.S. patent application Ser. No. 10/609,703 (303948.01) entitled "PROBABILISTIC MODEL FOR DISTRACTIONS IN A VIRTUAL REALITY ENVIRONMENT", all filed Feb. 8, 2008, specifically incorporated herein by reference for all that they disclose and teach.

TECHNICAL FIELD

[0002] The invention relates generally to virtual reality environments, and more particularly to a mixture model for motion lines in a virtual reality environment.

DESCRIPTION

[0003] 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.

[0004] A typical AI motion control system effectively provides a computer opponent with a reaction time of 1/60 of a second in the USA or 1/50 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.

[0005] 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.

[0006] 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.

[0007] 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.

[0008] 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.

[0009] 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.

[0010] 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.

[0011] Brief descriptions of the drawings included herein are listed below.

[0012] FIG. 1 illustrates a race course, exemplary prescribed racing lines, and an exemplary simulated path of a virtual race vehicle.

[0013] FIG. 2 illustrates a definition of an exemplary dynamically prescribed racing line for a track segment.

[0014] FIG. 3 illustrates a definition of another exemplary dynamically prescribed racing line for a track segment.

[0015] FIG. 4 illustrates a definition of yet another exemplary dynamically prescribed racing line for a track segment.

[0016] FIG. 5 illustrates exemplary components of a virtual racing game system.

[0017] FIG. 6 illustrates operations for modifying motion simulation according to an exemplary mixture model.

[0018] FIG. 7 illustrates an exemplary system useful for implementing an embodiment of the present invention.

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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.

[0024] 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.

[0025] 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.

[0026] 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.)

[0027] 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.

[0028] 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.

[0029] 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.

[0030] Given the two prescribed racing lines 204 (L.sup.0) and 206 (L.sup.1), 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.

[0031] In one implementation, a dynamically prescribed racing line L is defined using a distribution function y and two statically prescribed racing lines L.sup.0 and L.sup.1. For example, a probabilistic distribution function, such as Gaussian distribution

y=N(.mu.,.sigma.) (1)

may be used, with mean .mu. and standard deviations, although other distribution factors may be used. Given a distribution function y, a mixture parameter .lamda. 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

.lamda..epsilon.[0,1] (2)

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

.lamda. = f ( y ) = y 1 + y ( 3 ) ##EQU00001##

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

L=.lamda.L.sup.0+(1-.lamda.)L.sup.1 (4)

[0032] 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.

[0033] 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.

[0034] 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 (L.sup.0) and 306 (L.sup.1), 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 .lamda. equaling 0.95 may result in such a dynamically prescribed racing line L (308).

[0035] 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 (L.sup.0) and 406 (L.sup.1), 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 .lamda. equaling 0.10 may result in such a dynamically prescribed racing line L (408).

[0036] 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.

[0037] 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: [0038] "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.). [0039] "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.).

[0040] 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).

[0041] 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.

[0042] 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.

[0043] 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.

[0044] 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.

[0045] 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).

[0046] 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.

[0047] 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., .mu.=.alpha.E, where .alpha. is a proportionality constant), and the dynamically prescribed racing line approaches an ideal racing line more often.

[0048] 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 (303948.01) 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.

[0049] 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.

[0050] 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.

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] 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.

您可能还喜欢...