CN113345013A - Method and device for generating way directing identification information - Google Patents

Method and device for generating way directing identification information Download PDF

Info

Publication number
CN113345013A
CN113345013A CN202110724071.6A CN202110724071A CN113345013A CN 113345013 A CN113345013 A CN 113345013A CN 202110724071 A CN202110724071 A CN 202110724071A CN 113345013 A CN113345013 A CN 113345013A
Authority
CN
China
Prior art keywords
streamline
inflection point
virtual
determining
generating
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.)
Pending
Application number
CN202110724071.6A
Other languages
Chinese (zh)
Inventor
宋昊明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shipan Technology Beijing Co ltd
Original Assignee
Shipan Technology Beijing Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shipan Technology Beijing Co ltd filed Critical Shipan Technology Beijing Co ltd
Priority to CN202110724071.6A priority Critical patent/CN113345013A/en
Publication of CN113345013A publication Critical patent/CN113345013A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Remote Sensing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and a device for generating route indicating identification information, wherein the method comprises the following steps: tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data; taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle; and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline. The device performs the above method. The method and the device for generating the road indicating identification information provided by the embodiment of the invention can determine the road indicating identification operation design scheme without multiple adjustments in an activity field, thereby improving the working efficiency of the design of the road indicating identification operation design scheme.

Description

Method and device for generating way directing identification information
Technical Field
The invention relates to the technical field of virtual reality, in particular to a method and a device for generating route indicating identification information.
Background
The virtual reality is that a virtual world is generated by a computer, a real environment is simulated, and a user interacts and influences with an object in the virtual environment by means of necessary equipment and perception in the aspects of visual perception, listening perception, tactile perception and the like, so that the virtual reality has the characteristics of interactivity, imagination, immersion and the like.
The virtual reality technology can be widely applied to industries such as military affairs and film and television, wherein the industries generally comprise an activity site, in order to guide an activity participant to successfully reach a destination, a road directing mark needs to be set, a designer needs to go to the activity site to carry out on-site investigation, and then design parameters of the road directing mark, such as the position and indication information of the road directing mark, are determined.
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as having been acknowledged in any prior art.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for generating route guidance identification information.
The embodiment of the invention provides a method for generating route indicating identification information, which comprises the following steps:
tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle;
and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
Wherein, according to the camera shooting position, the streamline inflection point and the first-person visual angle, determining the position of the virtual road indication mark comprises:
determining the position at the streamline inflection point and corresponding to the visual angle height of the first person visual angle as the initial position of the virtual road indicating mark;
responding to the action of adjusting the initial position, and simulating and transferring to a viewing angle of a browsing adjustment position at the camera shooting position;
in response to determining the act of adjusting the location, determining a location of the virtual way heading.
The attribute information comprises streamline direction information, and the indication information comprises identification indication direction information; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
and generating the identification indication direction information according to the streamline direction information.
Wherein the attribute information comprises identification indication distance information, and the indication information comprises identification indication distance; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
and determining the flow line path distance between the next streamline inflection point and the current streamline inflection point, and taking the flow line path distance as the identification indication distance.
Wherein the streamline inflection point comprises a first type streamline inflection point; accordingly, the determination of the first type of streamline inflection point comprises:
comparing adjacent line segments, and if the angle deviation value of the adjacent line segments is greater than a preset angle threshold value, determining the rear endpoint of the previous line segment in the flow line direction as a flow line inflection point; each line segment is formed by connecting three-dimensional position coordinate points pairwise in sequence; the streamline is created in advance according to the three-dimensional position coordinate point; the first type streamline inflection point is a three-dimensional position coordinate point with an angle deviation value larger than a preset angle threshold value.
Wherein the streamline inflection point comprises a second type streamline inflection point; accordingly, the determination of the second type of streamline inflection point comprises:
determining attribute information of a streamline where the three-dimensional position coordinate point is located; the attribute information comprises the streamline;
if at least two different streamline belong to the three-dimensional position coordinate point, determining the three-dimensional position coordinate point as a second type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the second type streamline inflection point is a first coincident three-dimensional position coordinate point respectively corresponding to the activity participation identities.
Wherein the streamline inflection points comprise third-type streamline inflection points; accordingly, the determination of the third type of streamline inflection point comprises:
determining whether the three-dimensional position coordinate point is located on at least two different flow line paths;
if so, determining the three-dimensional position coordinate point as the third type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the inflection point of the third type streamline is a three-dimensional position coordinate point at the branching path.
The embodiment of the invention provides a device for generating route indicating identification information, which comprises:
the tracking unit is used for tracking the shooting position of the camera in the process of navigating the virtual movable scene according to the streamline at the first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
the determining unit is used for taking the camera shooting position as a viewpoint position, and determining the position of a virtual road indicator according to the camera shooting position, the streamline inflection point and the first person visual angle if the streamline inflection point falls into the visual field range of the first person visual angle;
and the generating unit is used for generating the indication information of the virtual road directing identifier at the position according to the attribute information of the streamline.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the computer program, implements the method steps of:
tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle;
and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
An embodiment of the invention provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the following method steps:
tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle;
and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
According to the method and the device for generating the road indication information, provided by the embodiment of the invention, the position of the virtual road indication is determined according to the shooting position of the camera, the streamline inflection point and the first-person visual angle, the indication information of the virtual road indication is generated at the position according to the attribute information of the streamline, the design parameters of the entity road indication can be determined according to the position and the indication information, the running design scheme of the road indication can be determined without multiple adjustments in an activity site, and the working efficiency of the design of the running design scheme of the road indication is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart of an embodiment of a method for generating route guidance identification information according to the present invention;
FIG. 2 is a screenshot of an embodiment of the present invention navigating a virtual activity scene according to a streamline view from a first-person perspective;
FIG. 3 is a schematic diagram of a streamline creation according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a inflection point of a first type of streamline according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a second type of inflection point of a streamline in accordance with an embodiment of the present invention;
FIG. 6 is a diagram illustrating a third type of inflection point of a streamline in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating the path distance of a flow line according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an embodiment of an apparatus for generating route guidance identification information according to the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an embodiment of a method for generating route guidance identification information, and as shown in fig. 1, the method for generating route guidance identification information provided in the embodiment of the present invention includes the following steps:
s101: tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data.
Specifically, the device tracks the shooting position of a camera in the process of navigating the virtual moving scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data. The apparatus may be a computer device, e.g. a server, performing the above method. The method may run in a Unity environment.
FIG. 2 is a screenshot of an embodiment of the present invention navigating a virtual activity scene according to a streamline view from a first-person perspective; as shown in fig. 2, the first-person perspective simulates the height of the user's own perspective, and the preset traveling speed travels along at least a part of the path in the streamline to truly simulate browsing the virtual activity scene in person. The lines on the ground in fig. 2 represent streamlines, and the arrow direction of the lines represents the streamline method.
The visual angle height can be set independently according to actual conditions, and can be selected to be 1.7m, and the preset travelling speed can be set independently according to actual conditions, and can be selected to be 2 m/s.
The streamline can be understood as a pre-designed streamline planning design route, and the streamline is the streamline planning design route intuitively expressed in the virtual activity scene.
The server can operate the simulation system to further acquire the virtual activity scene, and can also acquire the virtual activity scene from the simulation system operated in other equipment by establishing a connection relationship with other equipment.
The virtual model is a visual model simulating a real activity scene.
The virtual activity scene of fig. 2 is a virtual scene within an event activity venue.
The virtual activity scenario may be developed by Unity. The virtual object models in the virtual activity scene all have three-dimensional geographic position coordinates; the preset activity scene data comprises geographic environment data and planning and designing data. Geographic environment data can be acquired by aerial photography of an unmanned aerial vehicle or photographing of a handheld camera, and planning design data can be acquired from an OB (Overlay Book) picture which is a special electronic drawing for active operation design.
A camera may be understood as a camera that shoots a virtual live scene, which may be built into Unity, which records the camera shooting location in real time. And in the process of navigating the virtual movable scene according to the streamline at the first person visual angle, the shooting position of the camera is the same as the visual angle position of the person corresponding to the first person visual angle.
The camera shooting position may be represented by three-dimensional geographic coordinates. That is, as the view angle position of the person moves, the camera shooting position follows the movement.
S102: and taking the camera shooting position as a viewpoint position, and determining the position of the virtual fingerway mark according to the camera shooting position, the streamline inflection point and the first person visual angle if the streamline inflection point falls into the visual field range of the first person visual angle.
Specifically, the device takes the camera shooting position as a viewpoint position, and determines the position of the virtual road sign according to the camera shooting position, the streamline inflection point and the first person view angle if the streamline inflection point falls into the view range of the first person view angle. The viewpoint position may be understood as the above-described view angle position of the person corresponding to the first-person view angle.
The visual field range can be understood as the range of the fan-shaped area which can be touched by the sight of a person.
Fig. 3 is a schematic diagram of a streamline creation according to an embodiment of the present invention, and as shown in fig. 3, the streamline is created in advance according to three-dimensional position coordinate points, and specifically includes a directional path of the streamline created by sequentially connecting the three-dimensional position coordinate points.
The streamline inflection point may include a first type streamline inflection point, which is a three-dimensional position coordinate point where the occurrence angle deviation value is greater than a preset angle threshold. FIG. 4 is a schematic diagram illustrating a inflection point of a first type of streamline according to an embodiment of the present invention; as shown in fig. 4, the three-dimensional position coordinate point C is a first-type streamline inflection point.
The streamline inflection points may include a second type streamline inflection point, which is a first coincident three-dimensional position coordinate point corresponding to the activity participation identities, respectively. FIG. 5 is a diagram illustrating a second type of inflection point of a streamline in accordance with an embodiment of the present invention; as shown in fig. 5, the three-dimensional position coordinate points B1 and B2 are second-type streamline inflection points (these two three-dimensional position coordinate points coincide). The activity participation status may include audience, media, and players, etc., and the streamlines corresponding to the media and players may partially overlap in a specific area, such as a mixed area of the event activity.
Referring to fig. 5, for example, the media corresponding streamlines are in directions a1 to B1 to C1; the player corresponds to a streamline direction from a2 to B2 to C2 with B1 and B2 being the first coincident three-dimensional position coordinate points.
The streamline inflection point may include a third type streamline inflection point, which is a three-dimensional position coordinate point at the divergent path. FIG. 6 is a diagram illustrating a third type of inflection point of a streamline in accordance with an embodiment of the present invention; as shown in fig. 6, three-dimensional position coordinate points C to D constitute one path, three-dimensional position coordinate points C to E constitute another path, and three-dimensional position coordinate point C is a three-dimensional position coordinate point at the branch path.
According to the camera shooting position, the streamline inflection point and the first person visual angle, the position of the virtual road indication mark is determined, and the method specifically comprises the following steps:
determining the position at the streamline inflection point and corresponding to the visual angle height of the first person visual angle as the initial position of the virtual road indicating mark; namely, the plane position coordinate of the initial position can be determined through the three-dimensional position coordinate point of the streamline inflection point, and the height position coordinate of the initial position can be determined through the height of the visual angle. Referring to fig. 2, the virtual guidepost identifies a guideboard labeled "evacuation lane" as in fig. 2.
Responding to the action of adjusting the initial position, and simulating and transferring to a viewing angle of a browsing adjustment position at the camera shooting position; the user can adjust the position of the guidepost marked with the evacuation channel through the mouse.
The simulation is transferred to the viewing angle of the browsing adjustment position, which can be understood as keeping the camera in place at the shooting position, and the viewing angle is transferred to the direction of the guidepost marked with the "evacuation channel" so that the sight line is perpendicular to the plane of the virtual guidepost. The user can easily determine whether the adjustment position is reasonable, such as whether the writing on the guidepost marked with the "evacuation lane" can be seen clearly, whether the location of the guidepost is easy to see, and the like.
In response to determining the act of adjusting the location, determining a location of the virtual way heading. The adjustment position can be continuously adjusted according to the viewing angle for browsing the adjustment position, when the adjustment position is determined to reach the expected target, the user executes the action of determining the adjustment position, and the adjustment position at the moment is used as the position of the virtual road sign. The expected target can be set autonomously according to the actual objective condition, and referring to the above example, for example, the vertical distance from the virtual fingerpost to the flow line can be calculated, the vertical distance should be smaller than the preset vertical distance threshold, and/or the text content on the virtual fingerpost identifier is identified by using the preset model simulating human eyes, and the accuracy reaches the preset threshold.
The vertical distance can be understood as the vertical distance between the point of the virtual fingering mark perpendicular to the ground and the streamline.
The intended target may also be determined autonomously by the user, as explained with reference to the above embodiments.
The desired objective may also be determined in a manner that combines the actual objective situation described above with the user's autonomic determination.
S103: and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
Specifically, the device generates the indication information of the virtual road directing identifier at the position according to the attribute information of the streamline. The attribute information of the streamline can comprise a streamline number, a streamline name, a streamline belonging, a streamline type, streamline direction information, a streamline inflection point and the like.
The streamline belongs to the activity participation identity of the activity participation party to which the streamline belongs, and the type of the streamline comprises at least one of a pedestrian streamline, a vehicle streamline and a logistics distribution streamline.
The indicating information may include identifying indicating direction information, such as the direction the signpost is pointing in as shown in fig. 2.
The indication information may include an identification indication distance. The indication distance is used to indicate the path distance of the flow from the current index mark to the next index mark.
Generating the indication information of the virtual road directing identifier according to the attribute information of the streamline, wherein the indication information comprises the following steps:
and generating the identification indication direction information according to the streamline direction information. Referring to fig. 2, the indication direction information is aligned with the streamline direction at the corner.
Generating the indication information of the virtual road directing identifier according to the attribute information of the streamline, and further comprising:
and determining the flow line path distance between the next streamline inflection point and the current streamline inflection point, and taking the flow line path distance as the identification indication distance. FIG. 7 is a schematic diagram illustrating the path distance of a flow line according to an embodiment of the present invention; as shown in fig. 7, the current streamline inflection point is a three-dimensional position coordinate point C, the next streamline inflection point is a three-dimensional position coordinate point F, and the streamline path distance is a streamline path distance between the three-dimensional position coordinate point C and the three-dimensional position coordinate point F.
It should be noted that the flow path may not be a straight path, and accordingly, the flow path distance is a non-straight path representing a real flow path.
The position and the indication information can be directly given to the entity route directing identification and used as the design parameters of the entity route directing identification.
According to the method for generating the finger mark information, provided by the embodiment of the invention, the position of the virtual finger mark is determined according to the shooting position of the camera, the streamline inflection point and the first-person visual angle, the indicating information of the virtual finger mark is generated at the position according to the attribute information of the streamline, the design parameters of the entity finger mark can be determined according to the position and the indicating information, the operation design scheme of the finger mark can be determined without multiple adjustments in an activity field, and the working efficiency of the design of the operation design scheme of the finger mark is improved.
On the basis of the above embodiment, the determining the position of the virtual road indicator according to the camera shooting position, the streamline inflection point and the first-person view angle includes:
specifically, the device determines the position at the streamline inflection point and corresponding to the view angle height of the first-person view angle as the initial position of the virtual road indicator; reference is made to the above description and no further description is made.
Specifically, the device responds to the action of adjusting the initial position, and simulates and transfers to a viewing angle of a browsing adjusting position at the camera shooting position; reference is made to the above description and no further description is made.
Specifically, the device determines the location of the virtual routing identifier in response to determining the action to adjust the location. Reference is made to the above description and no further description is made.
The method for generating the road indication mark information provided by the embodiment of the invention takes the initial position of the virtual road indication mark as a starting point, and continuously adjusts the position of the virtual road indication mark according to the visual angle of the simulation transfer to the browsing adjustment position, thereby improving the working efficiency of the position design of the virtual road indication mark.
On the basis of the above embodiment, the attribute information includes streamline direction information, and the indication information includes identification indication direction information; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
specifically, the device generates the identification indication direction information according to the streamline direction information. Reference is made to the above description and no further description is made.
The method for generating the route indicating identification information further generates the identification indicating direction information according to the streamline direction information, and improves the working efficiency of the identification indicating direction design of the virtual route indicating identification.
On the basis of the above embodiment, the attribute information includes identification indication distance information, and the indication information includes identification indication distance; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
specifically, the device determines a flow line path distance between the next streamline inflection point and the current streamline inflection point, and takes the flow line path distance as the identification indication distance. Reference is made to the above description and no further description is made.
The method for generating the finger path identification information provided by the embodiment of the invention takes the flow path distance as the identification indication distance, thereby improving the working efficiency of the identification indication distance design of the virtual finger path identification.
On the basis of the above embodiment, the streamline inflection point comprises a first type streamline inflection point; accordingly, the determination of the first type of streamline inflection point comprises:
specifically, the device compares adjacent line segments, and if the angle deviation value of the adjacent line segments is greater than a preset angle threshold, the latter endpoint of the previous line segment along the flow line direction is determined as the flow line inflection point; each line segment is formed by connecting three-dimensional position coordinate points pairwise in sequence; the streamline is created in advance according to the three-dimensional position coordinate point; the first type streamline inflection point is a three-dimensional position coordinate point with an angle deviation value larger than a preset angle threshold value. Referring to fig. 4, three-dimensional position coordinate points a to D are connected in pairs in sequence to form line segments AB, BC and CD.
And comparing the adjacent line segments AB and BC according to the streamline direction, wherein the angle deviation value between the AB and the BC is zero and is smaller than a preset angle threshold value, and continuously traversing the adjacent line segments.
And comparing the adjacent line segments BC and CD, wherein the angle deviation value between BC and CD is larger than a preset angle threshold value, the previous line segment along the flow line direction is CD, and the latter endpoint of CD is a three-dimensional position coordinate point C, namely the three-dimensional position coordinate point C is a first type streamline inflection point.
According to the method for generating the finger mark information, the position of the virtual finger mark can be further reasonably determined by reasonably determining the first type streamline inflection point, and the working efficiency of design of a finger mark operation design scheme is further improved.
On the basis of the above embodiment, the streamline inflection point includes a second type streamline inflection point; accordingly, the determination of the second type of streamline inflection point comprises:
specifically, the device determines attribute information of a streamline where a three-dimensional position coordinate point is located; the attribute information includes a streamline.
Specifically, if the device determines that at least two different streamline belong to the same, the device determines that the three-dimensional position coordinate point is the second type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the second type streamline inflection point is a first coincident three-dimensional position coordinate point respectively corresponding to the activity participation identities. Referring to fig. 5, a three-dimensional position coordinate point a1 corresponding to the media user belongs to the media stream line. A1 only belongs to the media stream line, and the stream line belongs to the only line, so that at least two different stream lines do not belong to the only line, and the adjacent three-dimensional position coordinate point B1 is continuously traversed.
B1 belongs to a media streamline and also to an athlete streamline, so that there are at least two different streamlines to which it belongs, and therefore, the three-dimensional position coordinate point B1 is determined to be a second type streamline inflection point.
Similarly, for the athlete user, a2 is not a second type of streamline inflection point, and B2 is a second type of streamline inflection point.
According to the method for generating the finger mark information, the position of the virtual finger mark can be further reasonably determined by reasonably determining the second type streamline inflection point, and the working efficiency of design of the operation design scheme of the finger mark is further improved.
On the basis of the above embodiment, the streamline inflection point includes a third type streamline inflection point; accordingly, the determination of the third type of streamline inflection point comprises:
specifically, the device determines whether the three-dimensional position coordinate point is located on at least two different flow line paths; referring to fig. 6, the three-dimensional position coordinate point a is located on only one flow line path, and the three-dimensional position coordinate point B is continuously traversed and also located on only one flow line path.
And continuously traversing the three-dimensional position coordinate points C, wherein the points C are respectively positioned on the flow line path CD and the flow line path CE.
Specifically, if the device determines that the three-dimensional position coordinate point is the third type streamline inflection point, determining that the three-dimensional position coordinate point is the third type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the inflection point of the third type streamline is a three-dimensional position coordinate point at the branching path. And determining the three-dimensional position coordinate point C as a third type streamline inflection point by referring to the three-dimensional position coordinate point C.
According to the method for generating the finger mark information, the position of the virtual finger mark can be further reasonably determined by reasonably determining the inflection point of the streamline of the third type, so that the working efficiency of the design of the operation design scheme of the finger mark is improved.
Fig. 8 is a schematic structural diagram of an embodiment of an apparatus for generating route identifying information according to the present invention, and as shown in fig. 8, an embodiment of the present invention provides an apparatus for generating route identifying information, which includes a tracking unit 801, a determining unit 802, and a generating unit 803, where:
the tracking unit 801 is used for tracking the shooting position of the camera in the process of navigating the virtual movable scene according to the streamline at the first-person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data; the determining unit 802 is configured to use the camera shooting position as a viewpoint position, and determine a position of a virtual road indicator according to the camera shooting position, the streamline inflection point, and the first-person view angle if the streamline inflection point falls within a view range of the first-person view angle; the generating unit 803 is configured to generate, at the position, the indication information of the virtual finger path identifier according to the attribute information of the flow line.
Specifically, the tracking unit 801 is configured to track a camera shooting position during navigation of the virtual moving scene according to the streamline at the first-person view angle; the virtual activity scene is a virtual model established according to preset activity scene data; the determining unit 802 is configured to use the camera shooting position as a viewpoint position, and determine a position of a virtual road indicator according to the camera shooting position, the streamline inflection point, and the first-person view angle if the streamline inflection point falls within a view range of the first-person view angle; the generating unit 803 is configured to generate, at the position, the indication information of the virtual finger path identifier according to the attribute information of the flow line.
According to the device for generating the finger mark information, the position of the virtual finger mark is determined according to the shooting position of the camera, the streamline inflection point and the first-person visual angle, the indicating information of the virtual finger mark is generated at the position according to the attribute information of the streamline, the design parameters of the entity finger mark can be determined according to the position and the indicating information, the operation design scheme of the finger mark can be determined without multiple adjustments in an activity site, and the working efficiency of the design of the operation design scheme of the finger mark is improved.
The apparatus for generating route indication information provided in the embodiment of the present invention may be specifically configured to execute the processing procedure of each of the method embodiments, and the functions of the apparatus are not described herein again, and refer to the detailed description of the method embodiments.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 9, the electronic device includes: a processor (processor)901, a memory (memory)902, and a bus 903;
the processor 901 and the memory 902 complete mutual communication through a bus 903;
the processor 901 is configured to call program instructions in the memory 902 to perform the methods provided by the above-mentioned method embodiments, for example, including: tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data; taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle; and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data; taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle; and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data; taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle; and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of generating way indication information, comprising:
tracking a shooting position of a camera in the process of navigating the virtual movable scene according to the streamline at a first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
taking the camera shooting position as a viewpoint position, and if a streamline inflection point falls into the visual field range of the first-person visual angle, determining the position of a virtual fingering mark according to the camera shooting position, the streamline inflection point and the first-person visual angle;
and generating the indication information of the virtual road directing identification at the position according to the attribute information of the streamline.
2. The method of claim 1, wherein the determining the location of the virtual road indicator from the camera capture location, the streamline inflection point, and the first-person perspective comprises:
determining the position at the streamline inflection point and corresponding to the visual angle height of the first person visual angle as the initial position of the virtual road indicating mark;
responding to the action of adjusting the initial position, and simulating and transferring to a viewing angle of a browsing adjustment position at the camera shooting position;
in response to determining the act of adjusting the location, determining a location of the virtual way heading.
3. The method of claim 1, wherein the attribute information includes streamline direction information, the indication information includes identification indication direction information; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
and generating the identification indication direction information according to the streamline direction information.
4. The method of claim 1, wherein the attribute information comprises identification indication distance information, and wherein the indication information comprises identification indication distance; correspondingly, the generating the indication information of the virtual road guiding identifier at the position according to the attribute information of the streamline includes:
and determining the flow line path distance between the next streamline inflection point and the current streamline inflection point, and taking the flow line path distance as the identification indication distance.
5. The method of any of claims 1 to 4, wherein the streamline inflection point comprises a first type streamline inflection point; accordingly, the determination of the first type of streamline inflection point comprises:
comparing adjacent line segments, and if the angle deviation value of the adjacent line segments is greater than a preset angle threshold value, determining the rear endpoint of the previous line segment in the flow line direction as a flow line inflection point; each line segment is formed by connecting three-dimensional position coordinate points pairwise in sequence; the streamline is created in advance according to the three-dimensional position coordinate point; the first type streamline inflection point is a three-dimensional position coordinate point with an angle deviation value larger than a preset angle threshold value.
6. The method of any of claims 1 to 4, wherein the streamline inflection point comprises a second type streamline inflection point; accordingly, the determination of the second type of streamline inflection point comprises:
determining attribute information of a streamline where the three-dimensional position coordinate point is located; the attribute information comprises the streamline;
if at least two different streamline belong to the three-dimensional position coordinate point, determining the three-dimensional position coordinate point as a second type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the second type streamline inflection point is a first coincident three-dimensional position coordinate point respectively corresponding to the activity participation identities.
7. The method of any of claims 1 to 4, wherein the streamline inflection point comprises a third type streamline inflection point; accordingly, the determination of the third type of streamline inflection point comprises:
determining whether the three-dimensional position coordinate point is located on at least two different flow line paths;
if so, determining the three-dimensional position coordinate point as the third type streamline inflection point; the streamline is created in advance according to the three-dimensional position coordinate point; and the inflection point of the third type streamline is a three-dimensional position coordinate point at the branching path.
8. An apparatus for generating route indicating information, comprising:
the tracking unit is used for tracking the shooting position of the camera in the process of navigating the virtual movable scene according to the streamline at the first person visual angle; the virtual activity scene is a virtual model established according to preset activity scene data;
the determining unit is used for taking the camera shooting position as a viewpoint position, and determining the position of a virtual road indicator according to the camera shooting position, the streamline inflection point and the first person visual angle if the streamline inflection point falls into the visual field range of the first person visual angle;
and the generating unit is used for generating the indication information of the virtual road directing identifier at the position according to the attribute information of the streamline.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110724071.6A 2021-06-29 2021-06-29 Method and device for generating way directing identification information Pending CN113345013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110724071.6A CN113345013A (en) 2021-06-29 2021-06-29 Method and device for generating way directing identification information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110724071.6A CN113345013A (en) 2021-06-29 2021-06-29 Method and device for generating way directing identification information

Publications (1)

Publication Number Publication Date
CN113345013A true CN113345013A (en) 2021-09-03

Family

ID=77481349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110724071.6A Pending CN113345013A (en) 2021-06-29 2021-06-29 Method and device for generating way directing identification information

Country Status (1)

Country Link
CN (1) CN113345013A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014200407A1 (en) * 2014-01-13 2015-07-16 Robert Bosch Gmbh Method and device for operating a field of view display device
CN105318881A (en) * 2014-07-07 2016-02-10 腾讯科技(深圳)有限公司 Map navigation method, and apparatus and system thereof
CN107894237A (en) * 2017-11-16 2018-04-10 百度在线网络技术(北京)有限公司 Method and apparatus for showing navigation information
CN111207768A (en) * 2018-11-22 2020-05-29 腾讯科技(深圳)有限公司 Information prompting method, device, equipment and storage medium for navigation process
CN112729327A (en) * 2020-12-24 2021-04-30 浙江商汤科技开发有限公司 Navigation method, navigation device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014200407A1 (en) * 2014-01-13 2015-07-16 Robert Bosch Gmbh Method and device for operating a field of view display device
CN105318881A (en) * 2014-07-07 2016-02-10 腾讯科技(深圳)有限公司 Map navigation method, and apparatus and system thereof
CN107894237A (en) * 2017-11-16 2018-04-10 百度在线网络技术(北京)有限公司 Method and apparatus for showing navigation information
CN111207768A (en) * 2018-11-22 2020-05-29 腾讯科技(深圳)有限公司 Information prompting method, device, equipment and storage medium for navigation process
CN112729327A (en) * 2020-12-24 2021-04-30 浙江商汤科技开发有限公司 Navigation method, navigation device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7133470B2 (en) System and method for network augmented reality representation
Bulman et al. Mixed reality applications in urban environments
JP2022545851A (en) VIRTUAL OBJECT CONTROL METHOD AND APPARATUS, DEVICE, COMPUTER-READABLE STORAGE MEDIUM
CN107016704A (en) A kind of virtual reality implementation method based on augmented reality
CN106840148A (en) Wearable positioning and path guide method based on binocular camera under outdoor work environment
CN109543285B (en) Crowd evacuation simulation method and system integrating data driving and reinforcement learning
US20200057435A1 (en) Method and system for controlling robots within in an interactive arena and generating a virtual overlayed
CN108876857A (en) Localization method, system, equipment and the storage medium of automatic driving vehicle
WO2022121207A1 (en) Trajectory planning method and apparatus, device, storage medium, and program product
CN111437604A (en) Game display control method and device, electronic equipment and storage medium
US20230321535A1 (en) Coordinate axis display method and apparatus applied to virtual environments, terminal, and medium
CN114758086B (en) Method and device for constructing urban road information model
CN112221143A (en) Method, device and storage medium for controlling movement of virtual object
Kim et al. Arramon: A joint navigation-assembly instruction interpretation task in dynamic environments
CN113362475A (en) Method and device for verifying generated virtual road directing identification
KR102339454B1 (en) Serious game system for disaster response education and training
CN113345107A (en) Augmented reality data display method and device, electronic equipment and storage medium
CN113345013A (en) Method and device for generating way directing identification information
Schall et al. 3D tracking in unknown environments using on-line keypoint learning for mobile augmented reality
Prima et al. Virtual camera movement with particle swarm optimization and local regression
CN111650953B (en) Aircraft obstacle avoidance processing method and device, electronic equipment and storage medium
CN115994944A (en) Three-dimensional key point prediction method, training method and related equipment
Singham et al. Applications of flocking algorithms to input modeling for agent movement
JP2021037167A (en) Video game processing program and video game processing system
CN110523082B (en) Virtual road calculation method, device, equipment and medium based on virtual environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination