WO2012069022A1 - Method for animating characters, with collision avoidance based on tracing information - Google Patents
Method for animating characters, with collision avoidance based on tracing information Download PDFInfo
- Publication number
- WO2012069022A1 WO2012069022A1 PCT/CN2011/083077 CN2011083077W WO2012069022A1 WO 2012069022 A1 WO2012069022 A1 WO 2012069022A1 CN 2011083077 W CN2011083077 W CN 2011083077W WO 2012069022 A1 WO2012069022 A1 WO 2012069022A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- velocity
- character
- cell
- collision
- tracing information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/80—2D [Two Dimensional] animation, e.g. using sprites
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
- G06T13/40—3D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/21—Collision detection, intersection
Definitions
- This invention relates to a method for animating characters, and in particular for animating large groups of characters, also called crowds.
- Crowd simulation is widely used in games, movies, urban planning and emergency evacuation simulation.
- a group of characters, or crowd is a collection of people/characters that stick together, have the same goal and behave similarly. Group behaviour is very common in our daily life and has been widely studied. If there is strong grouping behaviour in a crowd, it is known to simulate it by first planning the path for each group as a whole, and then planning the crowd.
- information about at least the computed new velocity will then be stored in cells of the terrain map or roadmap, and it will influence at least the next character that enters the cell.
- the roadmap influences individual behaviour of at least the next character, not the group behaviour in general.
- the information is not related to fixed terrain obstacles, as used for path planning. Instead, the information stored in the terrain map is only an intermediate result, and it is used as a
- the invention deals with how to size the grid cells, how to use it for collision avoiding, how to organize tracing information, and how to judge the effectiveness of the information.
- a device for determining for a character in a group at least one of a moving
- a moving velocity comprising a memory for storing cells of a terrain map, first data read means for reading tracing information from a current cell in a terrain map on which the character is located, a first collision detector for determining, based on the tracing information from the first data read means, whether or not collision avoidance is needed, and for notifying the determining result, a first position calculator for advancing the character according to its previous direction and previous velocity if the first calculator notifies that collision avoidance is not needed, a first processor for searching, if the first calculator notifies that collision avoidance is needed, for at least one of a matching direction and
- a second processor for computing a time-to- collision based on the found matching direction and/or velocity, a comparator for comparing the computed time-to- collision with a predetermined range, and a second position calculator for advancing the character according to the found matching direction and/or velocity, and for performing a collision avoiding manoeuvre and updating the tracing information in the current terrain cell if no matching direction and/or velocity is found, or if the time-to- collision is outside the predetermined range.
- a given terrain is cut into cells of a
- the size is determined according to various parameters, e.g. typical velocity (see below). For a
- the entry direction is determined (e.g. one of north N, east E, south S, west W, or one of north N, north-east NE, east E, south-east SE etc.), and it is determined what the direction and/or velocity decision was for previous characters that entered from the same direction. Then it may be checked if certain
- Reciprocal Velocity Obstacle as described in "Realtime rendering of densely populated urban environments", F. Tecchia, Y. Chrysanthou, Proceedings of the Eurographics Workshop on Rendering Techniques, 2000, is a new technique dealing with collision avoidance.
- RVO Reciprocal Velocity Obstacle
- there is an RVO area (or range) for each of the characters on the velocity plane which indicates the velocities that the characters ought not to choose, so that collisions can be prevented. If a character chooses any velocity out of the RVO area, it is guaranteed to avoid the collision with the other character.
- the RVO technique also assumes that each of the characters adopts the same strategy to avoid collision. In other words, the characters share the responsibility and take action accordingly to avoid any collision .
- Fig.3 a portion of a terrain grid
- Fig.4 a grid portion and tracing information
- Fig.5 a block diagram of a device for determining at least one of a moving direction and a moving velocity for a character in a group.
- Fig.l shows a multi -character scenario RVO.
- one character 10 should choose a velocity which lies out of the combination of the RVOs of all the neighbouring characters.
- the neighbouring characters 11 have individual moving directions and speeds 12. However, in a very crowded
- Vi' is the new velocity
- Vi pref is the preference velocity
- tCi(Vi') is the estimated time to collision
- wi is the weight to balance between time to collision and velocity diversion.
- the proposed method reduces the complexity of crowd
- the plane e.g. a 2D plane
- the resolution of the grid is determined by the preference velocity and simulation time step.
- the tracing information including the entry angle, the new velocity and the time to collide, is stored in each cell of the grid.
- the following character searches for the tracing information which matches its entry angle (i.e. that has substantially the same entry angle) , and then computes the time to collide based on the new velocity. If the time to collide for the current character is comparable with that stored in the cell (at least if both are equal) , the
- Fig.2 shows the steps of the proposed simulation framework. Detailed explanation for each step is given below.
- Fig.3 shows a portion of a terrain grid with a diameter d, which is called resolution.
- the resolution of the grid is determined by the principle that for each time step, the character should walk with
- Fig.4 shows a grid portion and tracing information.
- the tracing information stored in a grid cell includes at least four sets of data, each of which relates to a range of entry direction Ve of the character.
- the new velocity V ne w and the time-to-collide (TTC) based on this new velocity are included and presented.
- TTC time-to-collide
- a simulation process is performed. If collision avoiding is needed, a first module PI performs searching for a match in a search step 22. That is, whenever it is determined 21 that the collision avoiding manoeuvre is needed, we search 22 the cell being occupied by the character for determining 23 if tracing information exists that matches the entry direction of this character. If the tracing information does not exist, a regular
- collision avoiding manoeuvre is conducted 27, which is known and usually highly complex.
- a second module P2 computes a time-to- collision (TTC) .
- TTC time-to- collision
- TTC is the time it takes for the first collision to happen. If it is determined 25 that no collision will happen, TTC is sufficiently large.
- This computed TTC should be subjected to TTC com P uted > ma (TTC tracing - k*At, At) (3) wherein TTC trac:Ln9 is the tracing information stored in the cell. Otherwise the match fails and a regular collision avoiding manoeuvre will be conducted 27.
- the constant k indicates a number of simulation time steps and should be chosen properly to indicate a tolerance of mismatch.
- a third module P3 performs 27 a regular collision avoiding manoeuvre. If no tracing information exists in a cell, or if available tracing information does not match well, the regular collision avoiding maneuver will be conducted in order to select a new velocity for the current character.
- a fourth module P4 updates 28 the tracing information in the terrain cell. Whenever the regular collision avoiding
- the new position is stored, either in the terrain map or in a separate memory.
- the invention concerns a device for determining at least one of a moving direction and a moving velocity for a character in a group.
- Fig.5 shows a block diagram of such device.
- the device for determining for a character in a group at least one of a moving direction and a moving velocity comprises
- first data read means 52 e.g. memory accessing unit
- first collision detector 53 for determining, based on the tracing information from the first data read means, whether or not collision
- a first position calculator 54 for advancing the character according to its previous direction and previous velocity if the first calculator notifies that collision avoidance is not needed nca, a first processor 55 for searching, if the first calculator notifies that
- a second processor 56 for computing a time-to-collision TTC based on the found matching direction and/or velocity
- a comparator 57 for comparing the computed time-to-collision TTC with a
- a second position calculator 58 for advancing the character according to the found matching direction and/or velocity, and for performing a collision avoiding manoeuvre and updating the tracing information in the current terrain cell if no matching direction and/or velocity is found, or if the time-to-collision is outside the predetermined range .
- the invention can be used in different application scenarios. Generally, the method reduces the complexity of crowd
- Tracing information stored in a terrain cell is used as guidance for a current character that has a similar entry direction as another character that was
- This method is based on the assumption that the characters in a group that follow others will face a situation similar to that of previous characters. This is especially true when two groups of characters cross each other.
- the method of the invention can be used to determine motion direction and velocity of individual characters in groups that
- the method can be used in any crowd simulation, e.g. fighting scene in movies, traffic simulation, evacuation simulation, etc., as long as the assumption mentioned above is justified.
- the proposed method is an effective way to simulating very large crowd (thousands of characters, or more) .
- d i.e. the indicator of resolution of the grid
- k k in the TTC formula
- the present invention is usable for simulating a crowd e.g. by first planning the path and velocity for each group and then adjusting the velocity for each character inside the group. Steps are
- each group is treated as a single entity (i.e. a group heading direction is determined for each group) .
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP11843211.1A EP2643817A4 (en) | 2010-11-26 | 2011-11-28 | Method for animating characters, with collision avoidance based on tracing information |
| JP2013540230A JP5905481B2 (ja) | 2010-11-26 | 2011-11-28 | 判定方法及び判定装置 |
| CN201180056585.3A CN103370730B (zh) | 2010-11-26 | 2011-11-28 | 基于跟踪信息动画制作人物和人群避免碰撞的方法和设备 |
| KR1020137013299A KR20130133778A (ko) | 2010-11-26 | 2011-11-28 | 트레이싱 정보에 기초한 충돌 회피 방식을 사용하여 캐릭터들을 애니메이팅하기 위한 방법 |
| US13/988,338 US9460540B2 (en) | 2010-11-26 | 2011-11-28 | Method for animating characters, with collision avoidance based on tracing information |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNPCT/CN2010/001899 | 2010-11-26 | ||
| CN2010001899 | 2010-11-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012069022A1 true WO2012069022A1 (en) | 2012-05-31 |
Family
ID=46145388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/083077 Ceased WO2012069022A1 (en) | 2010-11-26 | 2011-11-28 | Method for animating characters, with collision avoidance based on tracing information |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US9460540B2 (enExample) |
| EP (1) | EP2643817A4 (enExample) |
| JP (1) | JP5905481B2 (enExample) |
| KR (1) | KR20130133778A (enExample) |
| WO (1) | WO2012069022A1 (enExample) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109358615A (zh) * | 2018-09-07 | 2019-02-19 | 上海大学 | 基于传感器检测障碍物速度误差的无人水面艇vo避障方法 |
| WO2019243899A1 (en) * | 2018-06-18 | 2019-12-26 | Unity IPR ApS | Method and system for real-time animation generation using machine learning |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9505411B2 (en) * | 2012-07-24 | 2016-11-29 | Toyota Jidosha Kabushiki Kaisha | Drive assist device |
| EP2878507B1 (en) | 2012-07-24 | 2017-08-30 | Toyota Jidosha Kabushiki Kaisha | Drive assist device |
| ITRM20130115A1 (it) * | 2013-02-28 | 2014-08-29 | Univ Roma La Sapienza | Procedura e dispositivo di matching per la modellizzazione digitale di oggetti mediante immagini stereoscopiche |
| US9928644B2 (en) * | 2014-07-01 | 2018-03-27 | Nvidia Corporation | Method and apparatus for determining mutual intersection of multiple convex shapes |
| US11461912B2 (en) | 2016-01-05 | 2022-10-04 | California Institute Of Technology | Gaussian mixture models for temporal depth fusion |
| DE102016009760A1 (de) * | 2016-08-11 | 2018-02-15 | Trw Automotive Gmbh | Steuerungssystem und Steuerungsverfahren zum Führen eines Kraftfahrzeugs entlang eines Pfades |
| CN107679306B (zh) * | 2017-09-26 | 2018-09-25 | 山东师范大学 | 视频驱动的人群疏散行为仿真方法及系统 |
| US11217107B2 (en) * | 2017-10-05 | 2022-01-04 | California Institute Of Technology | Simultaneous representation of moving and static obstacles for automatically controlled vehicles |
| CN112967320B (zh) * | 2021-04-02 | 2023-05-30 | 浙江华是科技股份有限公司 | 一种基于桥梁防撞的船舶目标检测跟踪方法 |
| CN114706401B (zh) * | 2022-04-13 | 2025-08-29 | 上海大学 | 一种动态环境下的避碰方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080033649A1 (en) * | 2006-06-05 | 2008-02-07 | Honda Motor Co., Ltd. | Collision avoidance of a mobile unit |
| CN101719285A (zh) * | 2009-12-28 | 2010-06-02 | 电子科技大学 | 一种多层次虚拟群体的避碰方法 |
| CN101877132A (zh) * | 2009-11-27 | 2010-11-03 | 北京中星微电子有限公司 | 用于运动跟踪的交互事件处理方法和装置 |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05233591A (ja) * | 1992-02-21 | 1993-09-10 | Hitachi Ltd | 個体群システムの非数値型シミュレーション方法およびシミュレーションシステム |
| US5675720A (en) * | 1993-09-14 | 1997-10-07 | Fujitsu Limited | Method of searching for points of closest approach, and preprocessing method therefor |
| FR2861858B1 (fr) | 2003-10-29 | 2014-09-05 | Snecma Moteurs | Deplacement d'un objet articule virtuel dans un environnement virtuel en evitant les collisions entre l'objet articule et l'environnement |
| KR100682849B1 (ko) * | 2004-11-05 | 2007-02-15 | 한국전자통신연구원 | 디지털 캐릭터 생성 장치 및 그 방법 |
| JP4335160B2 (ja) * | 2005-03-02 | 2009-09-30 | 任天堂株式会社 | 衝突判定プログラムおよび衝突判定装置 |
| JP5050494B2 (ja) | 2006-11-10 | 2012-10-17 | 株式会社セガ | 移動オブジェクトの予測軌道に情報を持たせて表示するコンピュータプログラム |
| US8223155B2 (en) * | 2007-04-27 | 2012-07-17 | Sony Corporation | Method for simulating large numbers of spherical bodies interacting |
| US20090306946A1 (en) * | 2008-04-08 | 2009-12-10 | Norman I Badler | Methods and systems for simulation and representation of agents in a high-density autonomous crowd |
| US20100091018A1 (en) * | 2008-07-11 | 2010-04-15 | Advanced Micro Devices, Inc. | Rendering Detailed Animated Three Dimensional Characters with Coarse Mesh Instancing and Determining Tesselation Levels for Varying Character Crowd Density |
| CN101373542A (zh) | 2008-08-20 | 2009-02-25 | 浙江大学 | 一种适用于群组动画的全局路径控制方法 |
| US8200594B1 (en) * | 2008-09-10 | 2012-06-12 | Nvidia Corporation | System, method, and computer program product for accelerating a game artificial intelligence process |
| JP5233591B2 (ja) | 2008-10-31 | 2013-07-10 | 不二製油株式会社 | 加熱調理用油脂 |
| CN101739509B (zh) | 2009-12-25 | 2012-11-14 | 电子科技大学 | 一种大规模虚拟人群路径导航方法 |
| US8723872B2 (en) * | 2010-06-09 | 2014-05-13 | Disney Enterprises, Inc. | Display with robotic pixels |
-
2011
- 2011-11-28 KR KR1020137013299A patent/KR20130133778A/ko not_active Withdrawn
- 2011-11-28 US US13/988,338 patent/US9460540B2/en not_active Expired - Fee Related
- 2011-11-28 WO PCT/CN2011/083077 patent/WO2012069022A1/en not_active Ceased
- 2011-11-28 JP JP2013540230A patent/JP5905481B2/ja active Active
- 2011-11-28 EP EP11843211.1A patent/EP2643817A4/en not_active Withdrawn
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080033649A1 (en) * | 2006-06-05 | 2008-02-07 | Honda Motor Co., Ltd. | Collision avoidance of a mobile unit |
| CN101877132A (zh) * | 2009-11-27 | 2010-11-03 | 北京中星微电子有限公司 | 用于运动跟踪的交互事件处理方法和装置 |
| CN101719285A (zh) * | 2009-12-28 | 2010-06-02 | 电子科技大学 | 一种多层次虚拟群体的避碰方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2643817A4 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019243899A1 (en) * | 2018-06-18 | 2019-12-26 | Unity IPR ApS | Method and system for real-time animation generation using machine learning |
| US10717004B2 (en) | 2018-06-18 | 2020-07-21 | Unity IPR ApS | Method and system for real-time animation generation using machine learning |
| US10888785B2 (en) | 2018-06-18 | 2021-01-12 | Unity IPR ApS | Method and system for real-time animation generation using machine learning |
| CN109358615A (zh) * | 2018-09-07 | 2019-02-19 | 上海大学 | 基于传感器检测障碍物速度误差的无人水面艇vo避障方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| US9460540B2 (en) | 2016-10-04 |
| KR20130133778A (ko) | 2013-12-09 |
| EP2643817A4 (en) | 2017-06-21 |
| EP2643817A1 (en) | 2013-10-02 |
| JP5905481B2 (ja) | 2016-04-20 |
| JP2014502393A (ja) | 2014-01-30 |
| US20130235047A1 (en) | 2013-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9460540B2 (en) | Method for animating characters, with collision avoidance based on tracing information | |
| Cheng et al. | Gatraj: A graph-and attention-based multi-agent trajectory prediction model | |
| Tordesillas et al. | Real-time planning with multi-fidelity models for agile flights in unknown environments | |
| CN102901500A (zh) | 基于概率a星与智能体混合的飞行器最优路径确定方法 | |
| Wong et al. | Testing the safety of self-driving vehicles by simulating perception and prediction | |
| JP2021179674A (ja) | 操船計算装置 | |
| Zheng et al. | Coevolving and cooperating path planner for multiple unmanned air vehicles | |
| Gayle et al. | Interactive navigation of heterogeneous agents using adaptive roadmaps | |
| Geraerts et al. | Enhancing corridor maps for real-time path planning in virtual environments | |
| CN108151742B (zh) | 机器人的导航控制方法及智能装置 | |
| CN116448134B (zh) | 基于风险场与不确定分析的车辆路径规划方法及装置 | |
| CN103370730B (zh) | 基于跟踪信息动画制作人物和人群避免碰撞的方法和设备 | |
| Chenney et al. | Proxy Simulations for Efficient Dynamics. | |
| CN103632008B (zh) | 一种汽车运动仿真模拟方法 | |
| Overmars et al. | Flexible path planning using corridor maps | |
| Zhang et al. | Development and implementation of a robotic moving target system for object recognition testing | |
| Wang et al. | LHPF: Look back the History and Plan for the Future in Autonomous Driving | |
| Ha et al. | Vehicle control with prediction model based monte-carlo tree search | |
| Luo et al. | Modeling gap seeking behaviors for agent-based crowd simulation | |
| CN117482518B (zh) | 基于行人行为预测的导航方法、装置及电子设备 | |
| Deng et al. | Entropy flow-aided navigation | |
| CN119443432B (zh) | 一种飞机中短程航迹动态重规划方法 | |
| CN119987381B (zh) | 一种水面无人艇编队路径规划方法 | |
| Zhang | Energy-optimization-based agent motion model: a hybrid approach integrating data-driven methods and trajectory prediction for intersection traffic simulation | |
| CN120066113B (zh) | 基于大语言模型无人机启发式路径规划方法、设备及介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11843211 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 13988338 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2011843211 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 20137013299 Country of ref document: KR Kind code of ref document: A Ref document number: 2013540230 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |