Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual classroom fire evacuation drilling method based on Unity 3D

A fire and classroom technology, applied in the field of virtual reality and artificial intelligence, can solve the problems of too many search nodes and low escape efficiency

Inactive Publication Date: 2022-02-15
ANHUI UNIVERSITY OF TECHNOLOGY
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: how to solve the disadvantages of too many search nodes and relatively low escape efficiency due to unfavorable factors such as too many turning angles and too large angles in the escape process, and provides a method based on Unity3D virtual classroom fire evacuation drill method, this method uses the n-order Bezier curve algorithm, and at the same time makes continuous improvements on the basis of the original formula of the A* algorithm, strives to estimate the cost infinitely close to the actual cost, and realize the shortest path (escape path Optimal solution)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual classroom fire evacuation drilling method based on Unity 3D
  • Virtual classroom fire evacuation drilling method based on Unity 3D
  • Virtual classroom fire evacuation drilling method based on Unity 3D

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] The present embodiment provides a technical solution: a method for fire evacuation drills in a virtual classroom based on Unity3D, including the following processes:

[0046] The basic modeling of characters and scenes is realized by 3ds Max software and imported into Unity3D. The particle system of Unity3D system is used to simulate two different states of fire and water fire, and the grid map method is used to divide the scene. And use the A* algorithm to plan the escape path of all teachers and students. In order to know whether to escape safely, set the life value of the characters, and make corresponding judgments according to the remaining life value index after escape.

[0047] As the original formula of the A* algorithm F(n)=G(n)+H(n), where F(n) is the total estimated cost to reach the target state from the initial state via the current state n, G(n) is given by The actual cost of reaching the current state n from the initial state, H(n) is the estimated cost o...

Embodiment 2

[0080] Such as figure 1 As shown, this example first creates a campus scene and character models in 3ds Max modeling software and imports them into Unity3D, then uses the particle system that comes with Unity3D to create flame and water column models, and rasterizes the fire scene. Different colors are used to distinguish passable areas and impassable areas, paving the way for the A* algorithm to plan the escape route. Next, not only must the A* algorithm be continuously improved, but also the path must be smoothed to finally achieve the effect of safe escape.

[0081] Taking the fire evacuation scene of a school teaching building as an example to describe in detail, combining figure 1 , the specific process is as follows:

[0082] Step 1: If figure 2 As shown, the whole scene is divided into square grids by the grid map method. The purpose is to simplify the search area and regard it as a two-dimensional array. Each item of the array represents a grid. For the convenience ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Unity3D-based virtual classroom fire evacuation drilling method, and belongs to the technical field of virtual reality and artificial intelligence. The method comprises the steps of building a basic model of a fire scene and a character role through 3ds Max software, adding various basic actions to the character role, importing the basic actions into Unity3D simulation software, simulating real scenes during fire catching and water fire extinguishing by means of a particle system of Unity3D, and enabling all escape members to fully experience the real experience of fire evacuation. In order to meet safe escape of all teachers and students to the greatest extent, an A * algorithm is adopted to plan the shortest escape path, smoothing processing is carried out on the corresponding escape path, improvement is carried out by adding a corresponding weight proportion according to an A * algorithm formula, a life value function of a character role is set, whether safe escape is achieved or not is judged by observing the remaining life value index of escape from a round of fire.

Description

technical field [0001] The invention relates to the technical field of virtual reality and artificial intelligence, in particular to a fire evacuation drill method in a virtual classroom based on Unity3D. Background technique [0002] At present, due to various restrictions such as the environment and venues, it is often uneconomical to simulate the scene of fire escape in real life, and it will consume a lot of manpower and material resources. In addition, with the increasing development of artificial intelligence and virtual reality technology , use Unity3D and other mainstream simulation software to simulate such scenes, set the fire scene as complex as possible, in order to test the evacuation ability of all teachers and students, add life value to all members, and observe the change of life value when the fire is evacuated Indicators to judge whether a safe escape has been achieved. [0003] At present, the combination of A* algorithm and grid map method is usually use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G05D1/02
CPCG05D1/0246G05D1/0223G05D1/0214G05D1/0221
Inventor 张学锋曾鹏
Owner ANHUI UNIVERSITY OF TECHNOLOGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products