CN117671210A - Viewing angle switching method, device, equipment and storage medium - Google Patents
Viewing angle switching method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117671210A CN117671210A CN202311642250.0A CN202311642250A CN117671210A CN 117671210 A CN117671210 A CN 117671210A CN 202311642250 A CN202311642250 A CN 202311642250A CN 117671210 A CN117671210 A CN 117671210A
- Authority
- CN
- China
- Prior art keywords
- plane
- current
- target
- target reference
- schematic
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000004044 response Effects 0.000 claims abstract description 28
- 230000000007 visual effect Effects 0.000 claims abstract description 13
- 230000004913 activation Effects 0.000 claims abstract description 9
- 230000000694 effects Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000009877 rendering Methods 0.000 description 6
- 238000001179 sorption measurement Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001131 transforming effect Effects 0.000 description 2
- 206010034701 Peroneal nerve palsy Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/003—Navigation within 3D models or images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a viewing angle switching method, a viewing angle switching device, viewing angle switching equipment and a storage medium, and relates to the technical field of computers. The specific implementation scheme is as follows: under the condition that the current view angle of the canvas space is a three-dimensional view angle, responding to drawing activation operation, and displaying a schematic plane on a target reference plane corresponding to the current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center; in response to a first selection operation of the target reference plane, the current viewing angle is switched to a two-dimensional viewing angle that is normal to the schematic plane. The user can know whether the drawing plane to be selected meets the requirement or not through the schematic plane, so that the selection of the drawing plane is more visual and is easy to operate, and the situation of false selection can be reduced.
Description
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a viewing angle switching method, a viewing angle switching device, viewing angle switching equipment and a storage medium.
Background
Modeling design software typically provides a flat drawing function in which a user can select a desired drawing plane in the current canvas space and then perform flat drawing on the selected drawing plane, which may involve switching the drawing view angle.
Disclosure of Invention
The present disclosure provides a viewing angle switching method, apparatus, device, and storage medium to solve or alleviate one or more technical problems in the prior art.
In a first aspect, the present disclosure provides a viewing angle switching method, including:
under the condition that the current view angle of the canvas space is a three-dimensional view angle, responding to drawing activation operation, and displaying a schematic plane on a target reference plane corresponding to the current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center;
in response to a first selection operation of the target reference plane, the current viewing angle is switched to a two-dimensional viewing angle that is normal to the schematic plane.
In a second aspect, the present disclosure provides a viewing angle switching apparatus, comprising:
the first display unit is used for responding to the drawing activation operation under the condition that the current view angle of the canvas space is a three-dimensional view angle, and displaying a schematic plane on a target reference plane corresponding to the current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center;
and a first switching unit for switching the current viewing angle to a two-dimensional viewing angle that is being viewed in the schematic plane in response to a first selection operation of the target reference plane.
In a third aspect, an electronic device is provided, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the present disclosure.
In a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are for causing the computer to perform a method according to any one of the embodiments of the present disclosure.
According to the visual angle switching method, the visual angle switching device, the visual angle switching equipment and the storage medium, the schematic plane is displayed on the corresponding target reference plane according to the current pointer position and the position of the observation point of the current visual angle under the three-dimensional visual angle, so that before a user selects the target reference plane, whether the drawing plane to be selected meets the requirement or not can be known through the schematic plane, the drawing plane is selected more visually and is easy to operate, and the situation of false selection can be reduced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
In the drawings, the same reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily drawn to scale. It is appreciated that these drawings depict only some embodiments provided according to the disclosure and are not to be considered limiting of its scope.
Fig. 1 is a block diagram of a system to which a viewing angle switching method is applied according to an embodiment of the present disclosure;
Fig. 2 is a flow chart of a viewing angle switching method according to another embodiment of the disclosure;
fig. 3A to 3D are operation flowcharts of a display interface of a viewing angle switching method according to an embodiment of the disclosure;
fig. 4A to 4B are schematic views of switching the viewing angle when the target reference plane is a plane in the embodiment of the disclosure;
fig. 5A to 5B are schematic views of switching the viewing angle when the target reference plane is a curved surface in the embodiment of the disclosure;
fig. 6 is a flowchart illustrating a method for switching a viewing angle according to another embodiment of the disclosure;
FIG. 7 is a schematic block diagram of a view angle switching apparatus provided by an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device for implementing a view angle switching method of an embodiment of the present disclosure.
Detailed Description
The present disclosure will be described in further detail below with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The embodiment of the disclosure provides a viewing angle switching method, a viewing angle switching device, viewing angle switching equipment and a storage medium. Specifically, the method for switching the viewing angle according to the embodiment of the present disclosure may be performed by an electronic device, where the electronic device may be a device such as a terminal or a server. The terminal can be smart phones, tablet computers, notebook computers, intelligent voice interaction equipment, intelligent household appliances, wearable intelligent equipment, aircrafts, intelligent vehicle-mounted terminals and other equipment, and the terminal can also comprise a client, wherein the client can be an audio client, a video client, a browser client, an instant messaging client or an applet and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligent platforms, and the like.
In the related art, there are two general methods for selecting a drawing plane, one is to draw a graphic first under a 3D (Three-dimensional) view angle, and confirm the plane where the graphic is located according to several points of the drawing graphic; however, drawing directly under a 3D view typically causes a graphic to be drawn on an erroneous plane due to difficulty in selecting points, and if the selected points themselves are not on the same plane, drawing failure is necessarily caused.
Another method is to first confirm a drawing plane and then draw. However, in the method, one surface needs to be selected as a reference object for visual angle switching, and the existing plane in the canvas is easy to directly select, but when the objects in the canvas are more, the user is difficult to select the wanted surface, and the false selection is easy to occur, and in addition, if the cambered surface, the spherical surface or the coordinate plane is selected, the difficulty of the selection is higher.
In addition, in the related art method, the viewing angle is switched during drawing, and the change of the viewing angle after drawing is completed may cause an unsmooth operation flow.
In order to solve at least one of the above problems, embodiments of the present disclosure provide a viewing angle switching method, apparatus, device, and storage medium, where a schematic plane is displayed on a corresponding target reference plane according to a current pointer position and a position of an observation point of a current viewing angle in a three-dimensional viewing angle, so that before a user selects the target reference plane, whether a drawing plane to be selected meets a requirement or not can be known through the schematic plane, so that selection of the drawing plane is more visual and easy to operate, and a situation of false selection can be reduced.
Aspects of the disclosure are described below with reference to the drawings.
Fig. 1 is a block diagram of a system to which a viewing angle switching method is applied according to an embodiment of the present disclosure; referring to fig. 1, the system includes a terminal 110, a server 120, and the like; the terminal 110 and the server 120 are connected through a network, for example, a wired or wireless network connection.
Wherein the terminal 110 may be used to display a graphical user interface. The terminal is used for interacting with a user through a graphical user interface, for example, the terminal downloads and installs a corresponding client and operates, for example, the terminal invokes a corresponding applet and operates, for example, the terminal presents a corresponding graphical user interface through a login website, and the like. In the embodiment of the present disclosure, the terminal 110 is configured to display a canvas space, and in response to a drawing activation operation when a current view angle of the canvas space is a three-dimensional view angle, display a schematic plane on a target reference plane corresponding to a current pointer in the canvas space, where the target reference plane is a plane intersecting a target ray in the canvas space, and the target ray is a ray taking a position of an observation point of the current view angle as an endpoint and passing through a position of the current pointer, and the schematic plane is a plane taking an intersection point of the target ray and the target reference plane as a center; in response to a first selection operation of the target reference plane, the current viewing angle is switched to a two-dimensional viewing angle that is normal to the schematic plane. The server 120 may be used to calculate the position of the schematic plane from the drawing of the mouse.
Although the display interface is exemplified as a page of the application program, the display interface may be another page such as a web page. The application may be an application installed on a desktop, an application installed on a mobile terminal, an applet embedded in an application, or the like.
It should be noted that the above application scenario is only shown for the convenience of understanding the spirit and principles of the present disclosure, and embodiments of the present disclosure are not limited in any way in this respect. Rather, embodiments of the present disclosure may be applied to any scenario where applicable.
In this embodiment, the canvas space is displayed by the terminal 110, and the calculation of the position of the schematic plane by the server 120 is described as an example, and in other embodiments, the calculation of the position of the schematic plane may be performed by the terminal 110, or the view angle switching method and the calculation of the schematic plane may be performed by the server 120, and specifically may be selected according to the actual situation.
The following is a detailed description. It should be noted that the following description order of embodiments is not a limitation of the priority order of embodiments.
Fig. 2 is a flow chart of a viewing angle switching method according to another embodiment of the disclosure; referring to fig. 2, an embodiment of the disclosure provides a viewing angle switching method 200, including steps S201 to S202.
Step S201, under the condition that the current view angle of the canvas space is a three-dimensional view angle, responding to drawing activation operation, and displaying a schematic plane on a target reference plane corresponding to a current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center;
step S202, in response to the first selection operation of the target reference plane, switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane.
The perspective switching method 200 may be used in software or tools for graphic rendering functions, where the canvas space may be at least a partial region in a display interface where rendering of a two-dimensional or three-dimensional model or the like may be performed.
The view angle of the canvas space may include a three-dimensional view angle, which is a perspective view angle, taking an object (e.g., a model) in the canvas space as an example, under which the presentation of the object may exhibit a near-far-small effect, and a two-dimensional view angle, it being understood that under the three-dimensional view angle, a view point (which is not generally displayed, and is a virtual point) may be specified in the current scene space, the view point may have a view direction, from which rays are emitted to objects in the canvas space according to the view direction, and the points hit by the rays are mapped onto the display interface, so that objects close in distance may be mapped into a larger area, and objects further in distance may be mapped into a smaller area, exhibiting the perspective effect.
In some embodiments, the viewpoint may select a position directly in front of the display interface, i.e., approximately the orientation of the human eye in front of the display interface, so that the user may always observe the perspective effect in three-dimensional view.
The two-dimensional view angle is an orthogonal view angle, and the objects displayed under the view angle have no perspective effect, namely cannot display the depth and distance feeling, but can accurately display the size and shape of each object, and can be used for drawing a two-dimensional plane graph, so that the drawn graph is more accurate.
In this embodiment, the three-dimensional view angle may be used to show an object in the canvas space, and the two-dimensional view angle may be used to draw a plane figure.
It can be appreciated that, besides displaying the canvas space, a drawing control can be displayed in the display interface, the drawing control can comprise a planar graph drawing control, and the drawing activation operation can be operations such as clicking on the planar graph drawing control. The pointer may be a mouse pointer or the like marking the location of the operating point. The position of the pointer may be the position of the center point or the sharp point of the shape of the pointer, or the pointer may have a hot zone which is relatively small, and the position of the pointer may also be the center position of the hot zone.
In the case where the current perspective is a three-dimensional perspective, when the user clicks on the planar graphic rendering control, a target reference surface may be determined from each object in the canvas space based on the current pointer position and the position of the viewpoint of the current perspective (i.e., the three-dimensional perspective), and it is understood that the target reference surface includes, but is not limited to, XYZ coordinate planes, wall and other architectural objects, planes, inclined surfaces, smooth curved surfaces, and the like.
Specifically, a ray, i.e., a target ray, is drawn by taking the position of the observation point as a starting point and taking the current pointer position as a passing point, and the plane where the intersection point of the target ray and the object in the canvas space is located is taken as a target reference plane.
And the schematic plane can be displayed on the target reference plane, and the size and shape of the schematic plane can be set according to practical situations, for example, the schematic plane can be a rectangle with a fixed size, or the schematic plane can be a rectangle with a fixed display size (i.e. as the canvas space is scaled, the schematic plane cannot be changed according to the scaling, and the size and shape of the schematic plane can always be the same as the size of the canvas space). It will be appreciated that the schematic plane is a planar region (e.g., rectangular region) drawn with reference to the world coordinate system, which may exhibit a perspective effect of near-far-small in three-dimensional perspective.
The schematic plane may be filled with colors or graphics other than objects in the canvas space, for example, may be gray areas, and in addition, it may be translucent areas or opaque areas.
In some embodiments, the method 200 further comprises: in response to an adjustment operation of the current pointer, the current pointer is presented at a position corresponding to the adjustment operation, and a schematic plane is presented on a new target reference surface corresponding to the current pointer.
The user can adjust the position of the pointer through the mouse operation, for example, the position of the pointer is moved through the adjustment operation, and it can be understood that the target ray changes and the target reference plane changes due to the change of the position of the pointer, so that the display position of the schematic plane also changes, namely, when the user moves the mouse, the schematic plane can follow the change of the position of the pointer, and the user can conveniently and rapidly find the reference plane needing to be drawn by plane graphics in the canvas space.
It can be understood that the first selection operation is a selection operation for a reference plane of a drawing plane for drawing a plane figure, when a target reference plane where the schematic plane is located is a reference plane required for drawing the plane figure, a user can select the target reference plane by clicking the first selection operation, and then can realize that the viewing angle conversion is converted from a three-dimensional viewing angle to a two-dimensional viewing angle, and the current viewing angle is just looking at the schematic plane, that is, the viewing direction of the two-dimensional viewing angle is perpendicular to the schematic plane, that is, the object in the canvas space is displayed as an orthogonal projection figure perpendicular to the line of sight direction of the user.
In this embodiment, by displaying a schematic plane on the corresponding target reference plane according to the current pointer position and the position of the observation point of the current view angle under the three-dimensional view angle, the schematic plane can be used as an intuitive reference to indicate a drawing plane (for example, a target reference plane) required to draw a plane graph, so that before a user selects the target reference plane, whether the drawing plane to be selected meets the requirement or not can be known through the schematic plane, the situation of drawing failure in the related art can not occur, and whether the plane or the curved surface is selected as the drawing plane, the schematic plane can be used as an accurate reference, so that the selection of the drawing plane is more visual and easy to operate, and the false selection phenomenon is not easy to occur.
Fig. 3A to 3D are operation flowcharts of a display interface of a viewing angle switching method according to an embodiment of the disclosure; referring to FIG. 3A, there is shown various objects in the current canvas space, including walls 301, 302 and 303, a plane 304 and a sphere 305, a pointer 307 is a mouse pointer, and the gray area shown in the dashed box is a schematic plane 306, i.e., the current target reference plane is wall 303. As shown in fig. 3B, when the position of the pointer 307 is moved, the position of the indication plane 306 is also changed, and at this time, the target reference plane is the plane 304. At this time, after the user clicks the mouse, i.e. selects the target reference plane, the canvas space will display fig. 3C, i.e. front view the two-dimensional view angle of the schematic plane 306 (since the target reference plane is a plane, front view the schematic plane 306, i.e. front view the plane 304), at this time, the object in the canvas space presents the orthogonal projection effect, i.e. orthogonal projection images of the sphere 305, the wall 301 and the plane 304 are displayed, the plane 308 is the schematic plane under the two-dimensional view angle, its size may be larger than the schematic plane 306 under the three-dimensional view angle (the central position remains unchanged), and presents as a semitransparent area, and the inside may display a horizontal and vertical center line as the drawing reference of the plane graph.
With continued reference to fig. 3C, the user may generate a drawing object 309 through a drawing operation on a drawing plane indicated by the schematic plane at a two-dimensional view angle. Drawing a planar figure (drawing object) at a two-dimensional viewing angle can ensure the accuracy of the figure. The drawing plane indicated by the schematic plane is a plane for attaching or adsorbing the schematic plane.
In some embodiments, the method 200 may further comprise: and in response to the drawing ending operation, switching the current view angle to the three-dimensional view angle before the first selecting operation is not detected.
The display interface may display a drawing end control, the drawing end operation may be a click operation of the drawing end control, etc., and when drawing is ended, the user may click on the drawing end control in the display interface, thereby exiting the two-dimensional view angle, and displaying fig. 3D, where fig. 3D displays the drawing object 309. Reference may be made to fig. 3D and 3B for a three-dimensional view, and the view is the same, i.e., after exiting the two-dimensional view, a three-dimensional view may be presented before entering the two-dimensional view. According to the embodiment, the drawing object is displayed under the condition that the three-dimensional view angle is not changed, so that a user can intuitively know the position of the drawing object under the original three-dimensional view angle, and user experience such as operation smoothness is improved.
Fig. 4A to 4B are schematic views of switching the viewing angle when the target reference plane is a plane in the embodiment of the disclosure; referring to fig. 4A and 4B, in some embodiments, the method 200 may further include: in the case where the target reference surface is planar, the schematic planar fit is shown on the target reference surface.
As shown in fig. 4A, in the case that the target reference plane is the plane 401 under the three-dimensional view angle, the schematic plane 402 may be displayed on the target reference plane in a fitting manner, that is, the schematic plane 402 may be displayed on the plane 401 in an adsorbing manner, so that the target reference plane may be illustrated, and it is understood that, because the current view angle is the three-dimensional view angle, the schematic plane 401 is also in a perspective effect. In addition, since the surface referred to in space is not thick, when the schematic plane is absorbed or attached to the target reference surface, the target reference surface and the schematic plane are actually coincident surfaces, only the schematic plane needs to be displayed on the target reference surface for display, for example, one plane may correspond to a plurality of layers, and the schematic plane is displayed in an upper layer of the target reference surface.
When the confirm target reference plane is clicked, the canvas space at the two-dimensional view angle shown in fig. 4B, i.e., the current view angle, is the view angle looking forward at the target reference plane (view angle of plane 401), i.e., looking forward at the schematic plane, may be displayed. In addition, fig. 4B may also show a schematic plane 403.
In the embodiment, the schematic plane can quickly and conveniently indicate the planar target reference plane, so that a user can conveniently select the target reference plane as the reference plane for drawing the plane graph.
In some embodiments, after switching the current viewing angle to the two-dimensional viewing angle that is being viewed in the schematic plane at step S202, the method further comprises: in response to the drawing operation, a drawing object corresponding to the drawing operation is presented in a drawing plane in which the target reference plane is located.
Referring to fig. 4B, it can be understood that the drawing plane coincides with the target reference plane, but the drawing plane is a borderless interface, that is, the plane graph may be drawn within the edge range of the plane 401, or may be drawn outside the edge range of the plane 401. If the user draws a planar object in fig. 4B, the planar image may be located in a drawing plane coincident with the target reference plane, thereby facilitating planar graphic drawing.
Fig. 5A to 5B are schematic views of switching the viewing angle when the target reference plane is a curved surface in the embodiment of the disclosure; referring to fig. 5A and 5B, in some embodiments, the method 200 may further include: in the case that the target reference plane is a curved surface, the schematic plane is displayed on the target sub-plane in a fitting manner, wherein the target sub-plane is one sub-plane intersecting with the target ray in a plurality of sub-planes of the target reference plane.
As shown in fig. 5A, in the case where the target reference plane is the curved surface 501 in the three-dimensional view, the curved surface 501 may be understood as a continuous plane, and the continuous plane may be discretized into a plurality of small planes, that is, the curved surface 501 includes a plurality of connected sub-planes, and one sub-plane where the target ray intersects with the sub-planes may be the target sub-plane, and it may be understood that if the target ray has a plurality of intersection points with the sub-planes, the sub-plane where one intersection point closest to the observation point is located may be the target sub-plane.
The schematic plane 502 may be displayed on the target sub-plane in a fitting manner, that is, the schematic plane 502 may be displayed on the target sub-plane in an adsorbing manner, so that the target sub-plane may be illustrated, and it may be understood that, since the current viewing angle is a three-dimensional viewing angle, the schematic plane 502 is also in a perspective effect. In addition, since the surface referred to in space is not thick, when the schematic plane is adsorbed or attached to the target sub-plane, the target sub-plane and the schematic plane are actually coincident surfaces, only the schematic plane needs to be displayed on the target sub-plane for displaying, for example, the schematic plane and the schematic plane may be different layers in the same plane, and the schematic plane is located on the upper layer.
When the confirmation target reference plane (i.e., confirmation target sub-plane) is clicked, the canvas space at the two-dimensional viewing angle shown in fig. 5B, i.e., the current viewing angle, is front-looking at the target sub-plane, i.e., the schematic plane. In addition, fig. 5B may also show a schematic plane 503.
In the embodiment, the schematic plane can quickly and conveniently indicate the target reference plane with the curved surface, so that a user can conveniently select the target sub-plane in the target reference plane as the reference plane for drawing the plane graph to draw the graph, the selection of the curved surface is facilitated, and the difficulty of drawing the plane graph on the curved surface is simplified.
In some embodiments, after switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane, the method 200 further comprises: in response to the drawing operation, a drawing object corresponding to the drawing operation is presented in a drawing plane in which the target sub-plane is located.
Referring to fig. 5B, it can be understood that the drawing plane coincides with the target sub-plane, but the drawing plane is a borderless interface, that is, the plane graph may be drawn within the edge range of the target sub-plane, or may be drawn outside the edge range of the target sub-plane. If the user draws a planar object in fig. 5B, the planar image may be located in a drawing plane that coincides with the target sub-plane, thereby facilitating planar graphics drawing.
In some embodiments, switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane in step S202 includes: and switching the current view angle into a two-dimensional view angle which is right looking at the schematic plane, displaying a first object positioned in a region of the schematic plane, which is far away from the observation point, in the canvas space, and canceling displaying a second object positioned between the schematic plane and the observation point.
The first object and the second object are objects in the canvas space, please refer to fig. 3B, at least part of the sphere 305 and the wall 301 are located in the area where the schematic plane deviates from the observation point, at least part of the sphere and the wall 301 can be used as the first object, please refer to fig. 3C, after the two-dimensional view angle is converted, the sphere 305 and the wall 301 can still be displayed in the canvas space under the two-dimensional view angle.
However, if there is another object on the front side of the plane 304 in fig. 3B, that is, there is a complete object between the schematic plane and the viewpoint, when the two-dimensional view angle is switched, the display of the object may be canceled, that is, the object is not displayed in fig. 3C, so that the shielding of the object for drawing the plane image under the two-dimensional view angle may be reduced, and the user may draw the plane image conveniently.
In some embodiments, switching the current perspective to a two-dimensional perspective that is normal to the schematic plane and presenting a first object in the canvas space in an area of the schematic plane that faces away from the point of view, de-presenting a second object between the schematic plane and the point of view may include:
determining a first vertical distance between each object in the canvas space and the viewpoint based on the position of the viewpoint in the current perspective;
Determining a second object located between the schematic plane and the viewpoint and a first object located in a region of the schematic plane facing away from the viewpoint from the respective objects based on a second perpendicular distance between the schematic plane and the viewpoint and a first perpendicular distance between the respective objects and the viewpoint;
switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane;
the first object is presented at the current perspective and the second object is de-presented.
It can be appreciated that in the process of switching the two-dimensional view angle from the three-dimensional view angle to the two-dimensional view angle, whether the objects need to be displayed or not can be selected according to the distance between each object and the observation point.
When the first selection operation is detected, a first vertical distance between (the center of) each object in the canvas space and an observation point of a current view angle (a three-dimensional view angle) can be calculated, a second vertical distance between the schematic plane and the observation point is calculated, if the first vertical distance is larger than the second vertical distance, the object is determined to be located in a region where the schematic plane deviates from the reference point, the object is a first object, otherwise, the object is determined to be located between the schematic plane and the reference point, and the object is a second object.
And then switching the current view angle into a two-dimensional view angle, displaying the plane graph of the first object in the canvas space, canceling the display of the plane graph of the second object, and realizing the selective display of the objects in the canvas space according to the distance between the object and the observation point.
In some embodiments, the method 200 further comprises: in a case where the current perspective is a two-dimensional perspective, in response to a reference drawing operation for a first element in the first object, a second element corresponding to the first element is shown in a drawing plane indicated by the schematic plane, and the second element is a projection of the first element on the drawing plane.
Referring to fig. 3C, taking the wall 301 in the figure as the first object as an example, in a two-dimensional view, a reference drawing operation on the constituent elements of the wall 301 may be provided, for example, a display interface may show a reference drawing operation control, by clicking the control, a user may select a boundary line in the wall 301, if the user selects a vertical boundary line (the first element) on the left side in the wall 301, a second element 3011 may be shown in a drawing plane, where the second element 3011 is a projection of the first element on the drawing plane.
Referring to fig. 5B, if the first object is the region 504, when the user places the mouse on the region, the plane where the region is located may be displayed around, for example, the XY plane, so that the user can refer to the plane conveniently.
In the present embodiment, at the time of planar graphic rendering, the rendered element (second element) may be adsorbed to the model of the first object on the non-own plane, but a rendering point or line or the like may be projected onto this rendering plane.
When the target reference surface is a curved surface, the drawing plane is the plane where the target sub-plane is located, and when the target reference surface is a plane, the drawing plane is the plane where the target reference surface is located.
In some embodiments, presenting a schematic plane on a target reference surface corresponding to a current pointer in a canvas space includes: and displaying a schematic plane on a target reference surface corresponding to the current pointer in the canvas space, and displaying prompt information at a preset position of the schematic plane, wherein the prompt information is used for prompting an operation mode of selecting the target reference surface.
With continued reference to fig. 3A, a prompt message, such as a word of "click confirmation plane" is displayed around the schematic plane 306, so that the user can learn that the target reference plane indicated by the current schematic plane can be selected after the click operation.
Of course, the display content of the prompt information can be various, and is not limited to the text style in the figure.
In some embodiments, the position of the viewpoint in three-dimensional view is the position of the virtual camera in perspective mode;
In response to a first selection operation of the target reference plane, switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane, comprising:
in response to a first selection operation of the target reference plane, adjusting the current viewing angle to be perpendicular to the schematic plane;
the position of the virtual camera is adjusted to be opposite to the center of the schematic plane, and the virtual camera projection mode is set to be an orthogonal mode.
It will be appreciated that the location of the viewpoint may be defined as the location of the virtual camera and the direction of view of the viewpoint may be the direction of the virtual camera's line of sight. In this embodiment, the virtual camera may represent only a presentation mode of the model object in the canvas space, or the virtual camera may be further attached with a lighting function, so that the object surface may present a corresponding bright and dark area, etc.
It can be appreciated that, in three-dimensional view, the virtual camera is in perspective mode (perspective projection mode), i.e. a perspective effect of near-far size is presented. While in two-dimensional view, the virtual camera is in an orthogonal mode (orthogonal projection mode), i.e. no perspective effect.
After the user selects the target reference plane, the virtual camera can be adjusted to be in an orthogonal mode, and the position of the virtual camera can be opposite to the center of the schematic plane, namely, the sight line direction of the virtual camera can be perpendicular to the schematic plane, and the foot drop is the center of the schematic plane. Because the virtual camera is located right in front of the display interface, such as the human eye position, the user can observe the canvas space in the orthogonal mode, and the visual angle switching is realized.
Fig. 6 is a flowchart illustrating a method for switching a viewing angle according to another embodiment of the disclosure; referring to fig. 6, the present embodiment provides a viewing angle switching method, which includes the following steps S601 to S606.
In step S601, a drawing tool, such as a click plane graphic drawing control, is activated.
Step S602, a schematic plane appears: the schematic plane is always displayed along with the position of the mouse, the target reference surface and the position of the mouse point in the three-dimensional canvas are obtained through the ray from the virtual camera to the mouse point and the adsorbable point or surface in the three-dimensional canvas, and a rectangular shadow area is drawn on the target reference surface by taking the position as the center and taking the world coordinate system as the reference, so that the effect of selecting the schematic plane along with the mouse is realized. The length and width dimensions of the indication plane are fixed, and the center point of the indication plane is consistent with the position of the hot zone of the mouse pointer.
Step S603, hovering over the target reference surface: the target reference surface may be any object in the canvas including, but not limited to, XYZ coordinate planes, wall and other architectural objects, planes, inclined planes, smooth curved surfaces, and the like. When the target reference surface in the three-dimensional canvas is a plane, taking the plane as an adsorption plane, and adsorbing the schematic plane to the adsorption plane; when the reference surface is a curved surface, the adsorbable model is defined as a continuous surface, the continuous surface can be discretized into a plurality of facets (sub-planes), and the facet (target sub-plane) where the mouse is located is taken as an adsorption plane, so that an adsorption schematic plane can be obtained.
Step S604, clicking the target reference plane: after the drawing plane is selected, switching from a 3D view angle to a 2D (Two-dimensional) view angle, transforming the virtual camera position and the sight line direction, enabling the virtual camera position to be located right above the center of the adsorption plane (or the schematic plane), enabling the camera sight line to be aligned with the center of the adsorption plane (or the schematic plane), transforming the virtual camera projection mode into orthogonal projection, and displaying and eliminating the display of the model object in the canvas space according to the vertical distance from the virtual camera. The schematic plane is still visible in the picture, and the position of the graphic drawing can be clarified by the schematic plane.
Step S605, drawing is started: when the mouse is clicked to draw, the drawing is performed only on the selected plane, and the drawing point is projected onto the plane, while the drawing point can be adsorbed to a model on a non-self plane.
Step S606, end the drawing: and returning to the 3D view angle before switching, converting the position and the sight line direction of the virtual camera to the position and the direction under the 3D view angle before drawing, and recovering the projection mode of the virtual camera to perspective projection.
The present embodiment introduces the concept of a schematic plane in the process of selecting a plane under a 3D viewing angle, so as to make the selected plane more visual and easy to operate through the introduction of the schematic plane.
Fig. 7 is a schematic block diagram of a viewing angle switching device according to another embodiment of the present disclosure, and referring to fig. 7, a viewing angle switching device 700 is provided according to an embodiment of the present disclosure, and includes the following units.
The first display unit 701 is configured to respond to a drawing activation operation when a current view angle of a canvas space is a three-dimensional view angle, and display a schematic plane on a target reference plane corresponding to a current pointer in the canvas space, where the target reference plane is a plane intersecting a target ray in the canvas space, the target ray is a ray taking a position of an observation point of the current view angle as an endpoint and passing through a position of the current pointer, and the schematic plane is a plane taking an intersection point of the target ray and the target reference plane as a center;
a first switching unit 702, configured to switch the current viewing angle to a two-dimensional viewing angle that is orthogonal to the schematic plane in response to a first selection operation of the target reference plane.
In some embodiments, the first display unit 701 is further configured to: in the case where the target reference surface is planar, the schematic planar fit is shown on the target reference surface.
In some embodiments, the apparatus 700 further comprises: and a drawing unit configured to, in response to the drawing operation, display a drawing object corresponding to the drawing operation in a drawing plane in which the target reference plane is located.
In some embodiments, the first display unit 701 is further configured to: in the case that the target reference plane is a curved surface, the schematic plane is displayed on the target sub-plane in a fitting manner, wherein the target sub-plane is one sub-plane intersecting with the target ray in a plurality of sub-planes of the target reference plane.
In some embodiments, the apparatus 700 further comprises: and a drawing unit configured to, in response to the drawing operation, display a drawing object corresponding to the drawing operation in a drawing plane in which the target sub-plane is located.
In some embodiments, the apparatus 700 further comprises: and an adjusting unit for displaying the current pointer at a position corresponding to the adjusting operation in response to the adjusting operation of the current pointer, and displaying the schematic plane on a new target reference plane corresponding to the current pointer.
In some embodiments, the apparatus 700 further comprises: and a second switching unit for switching the current viewing angle to the three-dimensional viewing angle before the first selection operation is not detected in response to the drawing end operation.
In some embodiments, the first switching unit 702 is further configured to: and switching the current view angle into a two-dimensional view angle which is right looking at the schematic plane, displaying a first object positioned in a region of the schematic plane, which is far away from the observation point, in the canvas space, and canceling displaying a second object positioned between the schematic plane and the observation point.
In some embodiments, the apparatus 700 further comprises: and a reference drawing unit configured to, in a case where the current view is a two-dimensional view, show a second element corresponding to the first element in a drawing plane indicated by the schematic plane in response to a reference drawing operation for the first element in the first object, and the second element is a projection of the first element on the drawing plane.
In some embodiments, the first display unit 701 is further configured to: and displaying a schematic plane on a target reference surface corresponding to the current pointer in the canvas space, and displaying prompt information at a preset position of the schematic plane, wherein the prompt information is used for prompting an operation mode of selecting the target reference surface.
In some embodiments, the position of the viewpoint in three-dimensional view is the position of the virtual camera in perspective mode;
the first switching unit 702 is further configured to: in response to a first selection operation of the target reference plane, adjusting the current viewing angle to be perpendicular to the schematic plane; the position of the virtual camera is adjusted to be opposite to the center of the schematic plane, and the virtual camera projection mode is set to be an orthogonal mode.
In some embodiments, the first switching unit 702 is further configured to:
determining a first vertical distance between each object in the canvas space and the viewpoint based on the position of the viewpoint in the current perspective;
Determining a second object located between the schematic plane and the viewpoint and a first object located in a region of the schematic plane facing away from the viewpoint from the respective objects based on a second perpendicular distance between the schematic plane and the viewpoint and a first perpendicular distance between the respective objects and the viewpoint;
switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane;
the first object is presented at the current perspective and the second object is de-presented.
For descriptions of specific functions and examples of each module and sub-module of the apparatus in the embodiments of the present disclosure, reference may be made to the related descriptions of corresponding steps in the foregoing method embodiments, which are not repeated herein.
An embodiment of the present disclosure provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments described above.
The disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a method according to any of the above embodiments.
Fig. 8 is a block diagram of an electronic device for implementing a view angle switching method of an embodiment of the present disclosure. As shown in fig. 8, the electronic device includes: a memory 810 and a processor 820, the memory 810 storing a computer program executable on the processor 820. The number of memory 810 and processors 820 may be one or more. The memory 810 may store one or more computer programs that, when executed by the electronic device, cause the electronic device to perform the methods provided by the method embodiments described above. The electronic device may further include: and the communication interface 830 is used for communicating with external devices and performing data interaction transmission.
If the memory 810, the processor 820, and the communication interface 830 are implemented independently, the memory 810, the processor 820, and the communication interface 830 may be connected to each other and perform communication with each other through buses. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 810, the processor 820, and the communication interface 830 are integrated on a chip, the memory 810, the processor 820, and the communication interface 830 may communicate with each other through internal interfaces.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an advanced reduced instruction set machine (Advanced RISC Machines, ARM) architecture.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), programmable ROM (PROM), erasable Programmable ROM (EPROM), electrically Erasable EPROM (EEPROM), or flash Memory, among others. Volatile memory can include random access memory (Random Access Memory, RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (SDRAM), double Data rate Synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and Direct RAMBUS RAM (DR RAM).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present disclosure are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, data subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, bluetooth, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., digital versatile Disk (Digital Versatile Disc, DVD)), or a semiconductor medium (e.g., solid State Disk (SSD)), etc. It is noted that the computer readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, may be a non-transitory storage medium.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
In the description of embodiments of the present disclosure, a description of reference to the terms "one embodiment," "some embodiments," "examples," "particular examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
In the description of the embodiments of the present disclosure, unless otherwise indicated, "/" means or, for example, a/B may represent a or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
In the description of the embodiments of the present disclosure, the terms "first," "second," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
The foregoing description of the exemplary embodiments of the present disclosure is not intended to limit the present disclosure, but rather, any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (17)
1. A viewing angle switching method, comprising:
under the condition that the current view angle of the canvas space is a three-dimensional view angle, responding to drawing activation operation, and displaying a schematic plane on a target reference plane corresponding to a current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center;
In response to a first selection operation of a target reference plane, the current viewing angle is switched to a two-dimensional viewing angle that is orthogonal to the schematic plane.
2. The method of claim 1, further comprising:
in the case where the target reference surface is planar, the schematic plane is shown in a conforming manner on the target reference surface.
3. The method of claim 2, after switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane, the method further comprising:
in response to a drawing operation, a drawing object corresponding to the drawing operation is presented in a drawing plane in which the target reference plane is located.
4. The method of claim 1, further comprising:
and when the target reference surface is a curved surface, the schematic plane is displayed on a target sub-plane in a fitting way, wherein the target sub-plane is one sub-plane intersecting with the target ray in a plurality of sub-planes of the target reference surface.
5. The method of claim 4, after switching the current view to a two-dimensional view that is normal to the schematic plane, the method further comprising:
in response to a drawing operation, a drawing object corresponding to the drawing operation is presented in a drawing plane in which the target sub-plane is located.
6. The method of claim 1, further comprising:
in response to an adjustment operation of a current pointer, the current pointer is presented at a location corresponding to the adjustment operation, and the schematic plane is presented on a new target reference surface corresponding to the current pointer.
7. The method of claim 1, further comprising:
and responding to the drawing ending operation, and switching the current view angle to a three-dimensional view angle before the first selecting operation is not detected.
8. The method of claim 1, wherein switching the current view to a two-dimensional view that is normal to the schematic plane comprises:
and switching the current view angle into a two-dimensional view angle which is right looking at the schematic plane, displaying a first object positioned in an area of the schematic plane, which is far away from the observation point, in the canvas space, and canceling to display a second object positioned between the schematic plane and the observation point.
9. The method of claim 8, further comprising:
in a case where the current perspective is the two-dimensional perspective, in response to a reference drawing operation for a first element in the first object, a second element corresponding to the first element is shown in a drawing plane indicated by the schematic plane, and the second element is a projection of the first element on the drawing plane.
10. The method of claim 1, wherein presenting a schematic plane on a target reference surface corresponding to a current pointer in the canvas space comprises:
displaying a schematic plane on a target reference plane corresponding to the current pointer in the canvas space, and displaying prompt information at a preset position of the schematic plane, wherein the prompt information is used for prompting an operation mode of selecting the target reference plane.
11. The method of any of claims 1-10, wherein the position of the viewpoint at the three-dimensional perspective is a position of a virtual camera in perspective mode;
in response to a first selection operation of a target reference plane, switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane, comprising:
in response to a first selection operation of a target reference plane, adjusting the current viewing angle to be perpendicular to the schematic plane;
and adjusting the position of the virtual camera to be opposite to the center of the schematic plane, and setting the projection mode of the virtual camera to be an orthogonal mode.
12. The method of claim 8, wherein switching the current perspective to a two-dimensional perspective that is normal to the schematic plane and presenting a first object in the canvas space in an area of the schematic plane facing away from the point of view, de-presenting a second object between the schematic plane and the point of view, comprises:
Determining a first vertical distance between each object in the canvas space and the viewpoint based on the position of the viewpoint in the current perspective;
determining, from the respective objects, the second object located between the schematic plane and the viewpoint and a first object located in a region of the schematic plane facing away from the viewpoint based on a second perpendicular distance between the schematic plane and the viewpoint and a first perpendicular distance between the respective object and the viewpoint;
switching the current viewing angle to a two-dimensional viewing angle that is normal to the schematic plane;
and displaying the first object under the current view angle, and canceling the display of the second object.
13. A viewing angle switching device, comprising:
the first display unit is used for responding to drawing activation operation under the condition that the current view angle of the canvas space is a three-dimensional view angle, and displaying a schematic plane on a target reference plane corresponding to a current pointer in the canvas space, wherein the target reference plane is a plane intersecting with a target ray in the canvas space, the target ray is a ray taking the position of an observation point of the current view angle as an endpoint and passing through the position of the current pointer, and the schematic plane is a plane taking the intersection point of the target ray and the target reference plane as a center;
And the first switching unit is used for switching the current visual angle into a two-dimensional visual angle which is right looking at the schematic plane in response to a first selection operation on the target reference plane.
14. The apparatus of claim 13, wherein the first display unit is further configured to:
in the case where the target reference surface is planar, the schematic plane is shown in a conforming manner on the target reference surface.
15. The apparatus of claim 13, wherein the first display unit is further configured to:
and when the target reference surface is a curved surface, the schematic plane is displayed on a target sub-plane in a fitting way, wherein the target sub-plane is one sub-plane intersecting with the target ray in a plurality of sub-planes of the target reference surface.
16. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-12.
17. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311642250.0A CN117671210A (en) | 2023-12-01 | 2023-12-01 | Viewing angle switching method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311642250.0A CN117671210A (en) | 2023-12-01 | 2023-12-01 | Viewing angle switching method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117671210A true CN117671210A (en) | 2024-03-08 |
Family
ID=90067506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311642250.0A Pending CN117671210A (en) | 2023-12-01 | 2023-12-01 | Viewing angle switching method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117671210A (en) |
-
2023
- 2023-12-01 CN CN202311642250.0A patent/CN117671210A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111414225B (en) | Three-dimensional model remote display method, first terminal, electronic device and storage medium | |
JP6013583B2 (en) | Method for emphasizing effective interface elements | |
US10212351B2 (en) | Image display system, information processing apparatus, image display method, image display program, image processing apparatus, image processing method, and image processing program | |
EP2796973B1 (en) | Method and apparatus for generating a three-dimensional user interface | |
WO2016145832A1 (en) | Method of operating terminal and device utilizing same | |
US20150370322A1 (en) | Method and apparatus for bezel mitigation with head tracking | |
US10726609B2 (en) | Perspective distortion in multi-display system | |
US20140267281A1 (en) | Method for displaying a remote desktop on a portable touch screen device | |
US20180005440A1 (en) | Universal application programming interface for augmented reality | |
CN112068751A (en) | House resource display method and device | |
JP7392105B2 (en) | Methods, systems, and media for rendering immersive video content using foveated meshes | |
CN114648615B (en) | Method, device and equipment for controlling interactive reproduction of target object and storage medium | |
US20210090330A1 (en) | Virtual exhibition space providing method for efficient data management | |
US10789766B2 (en) | Three-dimensional visual effect simulation method and apparatus, storage medium, and display device | |
CN113589926B (en) | Virtual interface operation method, head-mounted display device and computer readable medium | |
US10878618B2 (en) | First-person perspective-mediated reality | |
CN108665525B (en) | Method for calculating virtual camera field angle based on engine and storage medium | |
CN117671210A (en) | Viewing angle switching method, device, equipment and storage medium | |
CN111913635A (en) | Three-dimensional panoramic picture display method and device, mobile terminal and storage medium | |
US20240037883A1 (en) | Control method and device | |
KR102683669B1 (en) | Server for providing exhibition service in metaverse environment and method for operation thereof | |
US20220215342A1 (en) | Virtual collaboration environment | |
CN117456127A (en) | Attribute configuration method, device, equipment and storage medium | |
CN118657876A (en) | Digital twin body display method, system and related equipment | |
CN117953182A (en) | Image processing method, device, equipment and medium |
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 |