View Navigation Method and Device
By using the view navigation method of 26-hedron and compass in a three-dimensional scene, the problem of inconvenience in view navigation in the prior art is solved, and a more efficient and intuitive view navigation experience is achieved.
Patent Information
- Application Number
- CN202410302302.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-07-14
- Filing Date
- 2022-07-28
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-07-28
AI Technical Summary
In the prior art, the view navigation method has shortcomings in terms of convenience and user experience, especially in complex drawing scenarios, which makes the user inconvenient to operate, which increases the computing volume and power consumption of the computer, and also increases the learning cost of new users.
Using a view navigation method in a three-dimensional scene, by displaying a compass formed by 26 heads formed by 26 first operation planes and 8 second operation planes, the user can directly select the view direction by clicking the surface and invert the view through the inverting control, simplifying the operation process.
It realizes more intuitive and convenient view navigation, reduces the computing volume and power consumption of the computer, reduces the learning cost of users, and improves the efficiency and accuracy of view navigation.
Smart Images

Figure CN118051966B_ABST
Abstract
Description
[0001] Priority Application
[0002] This application claims priority to Chinese Application CN2022108337997, filed on July 14, 2022, the entire disclosure of which is incorporated herein by reference.
[0003] Division Application
[0004] This application is a divisional application of Chinese Patent Application No. CN202210901075.1, filed on July 28, 2022, with the invention title "View Navigation Method and Device". Technical Field
[0005] The present invention relates to a method and device for view navigation of a three-dimensional scene or a three-dimensional model in a computer-aided design (CAD) system. Background Art
[0006] Many computer systems process graphic data to display a model of an object on a screen. For example, a computer-aided design ("CAD") system can display a graphic model of a physical object to be designed. Generally, a user needs to change the view of the model displayed on the screen. For example, in a CAD environment, the user hopes to be able to view the model from different angles or directions in order to better view the shape, size, and structure of the model. To change the view of the model on the screen, the user can view it by rotating the model; or, the user can select a preset viewpoint such as "top view", "side view", etc. commonly used in the field of drawing and design through a menu; or, the user can operate the view of the model by operating the direction of the cube in the ViewCube on the screen and combine the ring around the cube to operate the four directions of east, south, west, and north of the model. For example, the invention patent of US Patent No. US20130332889 discloses a configurable view box (VIEWCUBE) controller, which views the camera angle of the existing scene or model in the viewport by setting a cube. For example, view the scene / model from perspectives such as front, back, left, right, upper left, upper right, etc. Another example is the invention patent of Korean Patent No. KR101491035, which discloses a 3D model view navigation device that sets a cube covering the 3D model as a view navigation device and uses the faces, edges, and vertices of the cube as manipulation objects.
[0007] Although the existing ViewCube can locate some view directions, such as six views and axonometric views, there are still some disadvantages in the convenience of these view switching operations. For example, in the actual operation process, the system first needs to identify whether the user is hovering on a specific line segment or the corresponding vertex on the edge, and then determine whether the hovering time reaches the threshold. If the threshold is reached, it is considered that the corresponding edge or vertex is selected, and then the view direction is switched. From the perspective of the computer, this undoubtedly increases the computing power of the computer and increases the power consumption of the computer. From the user's perspective, on the one hand, since the drawing interface cannot be affected, the cube is usually relatively small. Therefore, for the user, accurately clicking on the corresponding edge or vertex with the mouse undoubtedly increases a certain degree of difficulty; on the other hand, for new users who are not familiar with the system, they need to fully learn and understand the cube before they can know the view switching functions of each operation area (such as points, lines, and surfaces) of the cube, which undoubtedly increases the learning cost of new users. In addition, a ring is set around the cube, so that the four directions of east, south, west, and north can be switched by rotation. For the user, it is difficult to achieve precise positioning by rotating the mouse.
[0008] Therefore, there is an urgent need for a view navigation method that is easy to operate and can adapt to complex drawing scenarios. Summary of the Invention
[0009] The purpose of the present invention is to provide a view navigation method, which partially solves or alleviates the above deficiencies in the prior art, and can provide a more intuitive and convenient view navigation method for users.
[0010] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions:
[0011] In the first aspect of the present invention, it is to provide a view navigation method in a three-dimensional scene, which includes the steps of:
[0012] Display a three-dimensional scene or a three-dimensional model;
[0013] Display a three-dimensional representation of a view navigation device, where the three-dimensional representation includes a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or the three-dimensional model. Among them, the first operation plane is used to reflect the user coordinate space, and each first operation plane corresponds to a view direction of a standard view plane, and the first operation plane corresponds to the corresponding standard view plane both in space and function;
[0014] In response to any operation plane selected by the user, the view direction corresponding to the selected operation plane of the user is used as the current view direction, and the three-dimensional scene or the three-dimensional model is reoriented to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction.
[0015] In some embodiments, there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron. Among them, the first operation planes correspond to the corresponding standard view planes both spatially and functionally.
[0016] In some embodiments, the three-dimensional representation further includes: a plurality of second operation planes, which are used to reflect the world coordinate space, and each second operation plane corresponds to the view direction of a standard view plane.
[0017] In some embodiments, a plurality of the second operation planes surround the 26-sided polyhedron.
[0018] In some embodiments, it further includes the step: when the user selects any first type of operation plane in the first operation planes and the second type of operation planes in the first operation planes are hidden, the second operation planes are used to assist in positioning the hidden second type of operation planes.
[0019] In some embodiments, there are 8 second operation planes, and they surround the 26-sided polyhedron in the form of a compass.
[0020] In some embodiments, when the user coordinate space is consistent with the world coordinate space, 8 of the second operation planes correspond to 8 of the first operation planes in the 26-sided polyhedron one-to-one spatially.
[0021] In some embodiments, it further includes the step: displaying the control controls of the view navigation device; the control controls include: an inversion control; when the user selects the inversion control, the view navigation device is inverted based on at least one preset inversion scheme, and the three-dimensional scene or the three-dimensional model is inverted based on the corresponding inversion scheme. The inversion scheme includes: an inversion direction and an inversion angle.
[0022] In some embodiments, the inversion direction optionally includes: up, and / or down, and / or left, and / or right.
[0023] In some embodiments, it further includes the steps of: displaying an attribute configuration control of the view navigation device, and when the user selects the attribute configuration control, the attributes of the view navigation device can be configured, where the attributes include: the sizes of each of the first operation planes, and / or the size of the second operation plane, and / or the font of the text displayed on the first and second operation planes, and / or the colors of each of the first and second operation planes.
[0024] A second aspect of the present invention lies in that, correspondingly based on the above view navigation method, a view navigation device in a three-dimensional scene is further provided, including:
[0025] A display module, configured to display a three-dimensional scene or a three-dimensional model;
[0026] A view navigation display module, configured to display a three-dimensional representation of the view navigation device, the three-dimensional representation including a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or the three-dimensional model, where the first operation plane is used to reflect the user coordinate space, and each of the first operation planes corresponds to the view direction of one of the standard view planes, and the first operation plane corresponds to the corresponding standard view plane both spatially and functionally;
[0027] A view navigation operation module, configured to, in response to any operation plane selected by the user, use the view direction corresponding to the operation plane selected by the user as the current view direction, and reorient the three-dimensional scene or the three-dimensional model to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction.
[0028] In some embodiments, there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron, where the first operation plane corresponds to the corresponding standard view plane both spatially and functionally.
[0029] In some embodiments, the three-dimensional representation further includes: a plurality of second operation planes, where the second operation plane is used to reflect the world coordinate space, and each of the second operation planes corresponds to the view direction of one of the standard view planes.
[0030] In some embodiments, a plurality of the second operation planes surround the 26-sided polyhedron.
[0031] A third aspect of the present invention lies in that a computer program product for displaying a three-dimensional scene on a display device used in a computer system is further provided, the computer program product including a computer-usable medium having computer-readable program code thereon, and the computer-readable program code includes:
[0032] Program code for processing graphic data to present a 3D model / 3D scene;
[0033] Program code for displaying the 3D model or the 3D scene;
[0034] Program code for presenting a 3D representation of a view navigation device, wherein the 3D representation includes a plurality of first operation planes corresponding to different standard view planes of the 3D scene or 3D model, wherein the first operation planes are used to reflect the user coordinate space, and each of the first operation planes corresponds to the view direction of one of the standard view planes, and the first operation planes are spatially and functionally corresponding to the respective standard view planes;
[0035] Program code for displaying the view navigation device, and when any operation plane of the view navigation device is selected on the display device, the view direction corresponding to the selected operation plane is used as the current view direction, and the 3D scene or the 3D model is reoriented to display the standard view plane of the 3D scene or the 3D model in the current view direction.
[0036] Advantageous technical effects:
[0037] All forms of surface operations are selected in this application. Among them, a plurality of first operation planes for operations respectively correspond one-to-one in space and abstract representation (or function) to each observation direction (or view direction) of the entity, and the surface corresponding to the object to be operated (such as the first operation plane) in space is the observation direction that the user hopes to switch (in other words, the "face-to-face" operation mode of this application realizes the unity of visual correspondence and functional correspondence). On the one hand, this "face-to-face" operation can omit the steps of computer judgment and recognition. From the perspectives of computer operation and user operation, both its efficiency and convenience have been improved; and this "face-to-face" operation method is more in line with the user's abstract thinking mode, and is more intuitive and easy to understand in terms of operation method and visual presentation (in other words, the "face-to-face" operation mode of this application can well fit the user's abstract thinking habit to assist the user in spatial imagination).
[0038] Moreover, different from the "point-line-plane hybrid operation" method adopted in the prior art, the present application comprehensively adopts a "plane operation" design, and preferably presents the corresponding first operation plane through a 26-sided polyhedron. Compared with a cube (with an operation area having more vertices and edges) in the prior art, the presentation form of the 26-sided polyhedron is more concise and intuitive in the presentation effect. From the perspective of user learning and use, in the face of this "point-line-plane hybrid operation" method, it is necessary to learn and understand which areas in the cube can be operated or selected, that is, it is necessary to separately learn the operation functions of points, lines, planes, etc. (such as whether the perspective can be switched and the corresponding relationship with each perspective). And in the present application, the form of "plane operation" is comprehensively adopted, and another technical effect is achieved - the visual difference between each operation area is reduced (the operation areas in the prior art include: points, lines, planes, and the operation areas in the present application are basically presented through planes, such as 26 first operation planes, etc.), further enhancing the unity between the visual effect and the actual function. Whether from the visual presentation or the usage habit, users can more intuitively understand the equal status of each plane in the operation function. Therefore, for users, the "face-to-face" operation mode is more intuitive and easy to understand in learning and use.
[0039] In addition, the polyhedron design (or 26-sided polyhedron design) proposed in the present application can, on the one hand, well realize the multi-angle view navigation function; on the other hand, in terms of the visual presentation effect, the polyhedron also provides a kind of "reduced model". For users, when the entity presented by CAD is relatively complex (for example, when the CAD graph involves an overall building model), it may be difficult for users to quickly imagine the specific observation plane only from the entity observation. When the user combines this polyhedron for selection and imagination, when performing mental abstraction, the perspective graph of the entity can be more intuitively imagined (since the planes in this "reduced model" correspond one-to-one with the observation planes of the entity in terms of space and abstract representation, the perspective direction can be more intuitively displayed). At the same time, the model design of the 26-sided polyhedron can not only better assist users in spatial imagination, but also will not cause a sense of spatial chaos.
[0040] Moreover, in the actual CAD operation and use process, in order to better present the entity, usually as much display area as possible is left for the entity display, and correspondingly, the display area left for the view navigation function is relatively small. Therefore, one of the advantages of the present application is that when the display size of the navigation function is small, the selection of planes is more accurate than the selection of points and lines.
[0041] In the actual use process of CAD, when drawing or reviewing the graph of an entity, viewing the plane as a whole is a relatively basic application requirement with a very high usage frequency. The simplicity and accuracy of the "face-to-face" operation form selected in the present application can well meet this user requirement of viewing the plane as a whole.
[0042] Furthermore, in the present application, it is preferably to display the world coordinate space in the form of a compass. Each second operation plane in the compass corresponds to a specific view direction. When the user needs to perform direction positioning, in addition to being able to operate through the 26-sided body, it is also possible to perform positioning through the eight second operation planes in the compass to quickly and accurately locate a specific observation azimuth. Moreover, when the user coordinate space is consistent with the world coordinate space, the settings of the eight second operation planes in the compass exactly correspond one-to-one with eight of the first operation planes of the 26-sided body in three-dimensional space (i.e., corresponding one-to-one in terms of visual effect). It can be understood that the relationship between the second operation plane and the first operation plane is not fixed. For example, when the user coordinate space and the world coordinate space are inconsistent, there is no one-to-one correspondence between the first and second operation planes. Among them, the positional relationship between the first and second operation planes can be flexibly changed based on actual usage conditions to better assist the user in positioning operations.
[0043] CAD is a professional drawing software with many and complex operation functions. For users, the learning cost (such as learning time) required to proficiently use CAD is relatively high. On the other hand, the user group targeted by CAD is relatively extensive, and the usage requirements of different user groups are also different. For example, for some users (such as architectural engineers, plumbing engineers, etc.), they need to proficiently master most of the functions of CAD to draw corresponding engineering drawings; while for other users, their usage requirements mainly involve the review of engineering graphics, so the learning requirements for using CAD are relatively low. The "face-to-face" operation mode in the present application has relatively low learning and usage difficulties for users. Even for beginners or users who are not proficient in using CAD, they can quickly understand and master the functions. Therefore, the "face-to-face" operation method in the present application not only has the characteristics of being easy to learn and quickly getting started, but also can meet various requirements (accuracy, flexibility, etc.) in the actual use of CAD, thus can well meet the usage needs of different types of users.
[0044] In the present application, the compass design not only adds an optional view switching direction (specifically, the ring design of existing CAD drawing devices can only click on 4 directions, while the compass design provides view switching in 8 directions). Moreover, the 8 directions in the compass (corresponding to 8 second operating planes) can cooperate with the 8 directions (corresponding to 8 second operating planes) in the 26-sided polyhedron to assist in positioning in coordination with the optimized design of the 26-sided polyhedron. Furthermore, this corresponding design of the compass further improves the flexibility and accuracy of the positioning operation. Through the eight second operating planes, the view can be flexibly rotated to the corresponding perspective, and the rotation angle of the perspective can be accurately controlled, enabling accurate positioning to a specific perspective (for example, the left view perspective, the right view perspective, etc.). At the same time, the compass further enriches the pointing function of the view navigation device in space, making it easier for users to understand and operate.
[0045] The 26-sided cube of the present invention corresponds to the user coordinate space (UCS), while the compass corresponds to the world coordinate space (WCS). Usually, when drawing with CAD software, the display space (or drawing space) is the user coordinate space. Users edit the drawing based on the current user coordinate space. The spatial positioning is relative, intuitive and accurate in operation, and the user coordinate space often changes. Therefore, in the design, using a 26-sided cube to represent the user coordinate space has a significant graphical effect and a direct spatial expression. By default, the graphical elements of CAD are based on the world coordinate space, which is absolute, invariant, and unique. Therefore, in the design, using a compass diagram to represent the unique world coordinate space facilitates users to make spatial references. The user coordinate space is equivalent to the world coordinate space. With the compass diagram, users can intuitively observe the relative spatial form of the current user coordinate space. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. In all the drawings, similar elements or parts are generally denoted by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to actual scale. Obviously, the following-described drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0047] Figure 1 Schematic three-dimensional representation of the view navigation device according to an exemplary embodiment of the present invention;
[0048] Figure 2 Schematic three-dimensional representation of the view navigation device according to an exemplary embodiment of the present invention when the top view perspective (or the top view perspective) is the current perspective;
[0049] Figure 3 Schematic diagram showing a first operation plane being selected in a three - dimensional representation of the view navigation device shown; Figure 1
[0050] Figure 4 Schematic diagram showing that when the first operation plane selected in the view navigation device shown is selected, its corresponding viewing angle is used as the current viewing angle; Figure 3
[0051] Figure 5 Schematic diagram showing a second operation plane representing the northwest viewing angle being selected in the view navigation device shown; Figure 2
[0052] Figure 6 Schematic diagram showing that when the northwest viewing angle corresponding to the selected second operation plane in the view navigation device shown is used as the current viewing angle, two faces of the three - dimensional model in the three - dimensional scene can be observed simultaneously, and all second operation planes are switched from the working state to the auxiliary state; Figure 5
[0053] Figure 7 Schematic diagram showing that the reverse control of the view navigation device shown is selected; Figure 1
[0054] Figure 8 Schematic diagram showing the view navigation device shown after being reversed. Correspondingly, the three - dimensional model in the three - dimensional scene will also be reversed to provide a new viewing angle so as to observe multiple faces of the three - dimensional model simultaneously; Figure 7
[0055] Figure 9 Schematic diagram showing an exemplary three - dimensional representation of the view navigation device shown after re - configuring its properties; Figure 1
[0056] Figure 10 Schematic diagram showing that when the first operation plane representing the front - view angle in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the front - view angle is used as the current viewing angle), the front view of the table three - dimensional model, and at this time, the second operation plane is switched to the auxiliary state; Figure 1
[0057] Figure 11 Schematic diagram showing that when the first operation plane representing the right - view angle, which is hidden in, is assisted in positioning through the second operation plane in the auxiliary state and the right - view angle is used as the current viewing angle, the right view of the table three - dimensional model;
[0058] Figure 12 Schematic diagram showing that when the first operation plane representing the right - view angle, which is hidden in, is assisted in positioning through the second operation plane in the auxiliary state and the right - view angle is used as the current viewing angle, the right view of the table three - dimensional model; Figure 10
[0059] Figure 13 To reflect Figure 12 The axonometric view of the table three-dimensional model when the first operation plane represented in Figure 12 is selected (i.e., the first axonometric view is the current view);
[0060] Figure 14 The top view of a component three-dimensional model when the first operation plane representing the top view (or bottom view) in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the top view is the current view);
[0061] Figure 15 The bottom view of a component three-dimensional model when the first operation plane representing the bottom view (or top view) in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the bottom view is the current view);
[0062] Figure 16 The right view of a component three-dimensional model when the first operation plane representing the right view in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the right view is the current view), and at this time, the second operation plane switches to the auxiliary state;
[0063] Figure 17 To reflect Figure 16 The right rear view of a component three-dimensional model when the first operation plane representing the right rear view in Figure 16 is selected and the current view switches to the right rear view;
[0064] Figure 18 To reflect Figure 17 The rear view of a component three-dimensional model when the first operation plane representing the rear view in Figure 17 is selected (i.e., the rear view is the current view);
[0065] Figure 19 To reflect the first operation plane that is assisted in positioning the hidden upper right view represented in Figure 18 through the second operation plane in the auxiliary state, and when the upper right view is used as the current view, the upper right view of a component three-dimensional model, and at this time, the second operation plane switches from the auxiliary state to the working state; Figure 18 The upper right view of a component three-dimensional model, and at this time, the second operation plane switches from the auxiliary state to the working state;
[0066] Figure 20 The northeast isometric view of the building three-dimensional model when the second operation plane representing the northeast isometric view in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the northeast isometric view is the current view);
[0067] Figure 21 The front view of the building three-dimensional model when the first operation plane representing the front view in the view navigation device of an exemplary embodiment of the present invention is selected (i.e., the front view is the current view);
[0068] Figure 22 The southwest isometric view of the building 3D model when the second operation plane representing the southwest isometric view in the view navigation device reflecting an exemplary embodiment of the present invention is selected (i.e., the southwest isometric view is the current view).
[0069] Figure 23 The southwest isometric views of multiple 3D models when the second operation plane representing the southwest isometric view in the view navigation device reflecting an exemplary embodiment of the present invention is selected, i.e., the southwest isometric view is the current view.
[0070] Figure 24 To reflect Figure 23 The views (or front views or principal views or front elevations) of multiple 3D models in the drawing interface when the first operation plane representing the front view (or front elevation view) in the 3D representation in [[ ]] is selected, or the second operation plane representing the south view is selected (i.e., the front view or the south view is the current view).
[0071] Figure 25 To reflect Figure 23 The views (or rear views) of multiple 3D models in the drawing interface when the first operation plane representing the rear view in the 3D representation in [[ ]] is selected, or the second operation plane representing the north view is selected (i.e., the rear view or the north view is the current view).
[0072] Figure 26 To reflect Figure 23 The views (or left views) of multiple 3D models in the drawing interface when the first operation plane representing the left view in the 3D representation in [[ ]] is selected, or the second operation plane representing the west view is selected (i.e., the left view or the west view is the current view).
[0073] Figure 27 To reflect Figure 23 The views (or right views) of multiple 3D models in the drawing interface when the first operation plane representing the right view in the 3D representation in [[ ]] is selected, or the second operation plane representing the east view is selected (i.e., the right view or the east view is the current view).
[0074] Figure 28 To reflect Figure 23 The top views of multiple 3D models in the drawing interface when the first operation plane representing the top view (or plan view) in the 3D representation in [[ ]] is selected (i.e., the plan view is the current view).
[0075] Figure 29 To reflect Figure 23 The bottom views of multiple 3D models in the drawing interface when the first operation plane representing the bottom view (or bottom elevation view) in the 3D representation in [[ ]] is selected (i.e., the bottom elevation view is the current view).
[0076] Figure 30 To reflect Figure 23 when the first operation plane representing the upper front view in the three-dimensional representation (i.e., the first operation plane between the first operation planes representing the top view and the front view) is selected, the upper front views of multiple three-dimensional models in the drawing interface;
[0077] Figure 31 To reflect Figure 23 when the first operation plane representing the lower front view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the bottom view and the front view) is selected, the lower front views of multiple three-dimensional models in the drawing interface;
[0078] Figure 32 To reflect Figure 23 when the first operation plane representing the left front view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the left view and the front view) is selected, or when the second operation plane representing the southwest view is selected (i.e., the left front view or the southwest view is used as the current view), the views of multiple three-dimensional models in the drawing interface;
[0079] Figure 33 To reflect Figure 23 when the first operation plane representing the right front view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the right view and the front view) is selected, or when the second operation plane representing the southeast view is selected (i.e., the right front view or the southeast view is used as the current view), the views of multiple three-dimensional models in the drawing interface;
[0080] Figure 34 To reflect Figure 23 when the first operation plane representing the upper rear view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the top view and the rear view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0081] Figure 35 To reflect Figure 23 when the first operation plane representing the lower rear view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the bottom view and the rear view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0082] Figure 36 To reflect Figure 23 when the first operation plane representing the left rear view in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the left view and the rear view) is selected, or when the second operation plane representing the northwest view is selected (i.e., the left rear view or the northwest view is used as the current view), the views of multiple three-dimensional models in the drawing interface;
[0083] Figure 37 To reflect Figure 23 when the first operation plane representing the right rear view angle in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the right view angle and the rear view angle) is selected, the views of multiple three-dimensional models in the drawing interface;
[0084] Figure 38 To reflect Figure 23 when the first operation plane representing the upper left view angle in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the left view angle and the top view angle) is selected, or when the second operation plane representing the northeast view angle is selected (i.e., the upper left view angle or the northeast view angle as the current view angle), the views of multiple three-dimensional models in the drawing interface;
[0085] Figure 39 To reflect Figure 23 when the first operation plane representing the lower left view angle in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the left view angle and the bottom view angle) is selected, the lower left side views of multiple three-dimensional models in the drawing interface;
[0086] Figure 40 To reflect Figure 23 when the first operation plane representing the upper right view angle in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the top view angle and the right view angle) is selected, the upper right side views of multiple three-dimensional models in the drawing interface;
[0087] Figure 41 To reflect Figure 23 when the first operation plane representing the lower right view angle in the three-dimensional representation (i.e., the first operation plane between the two first operation planes representing the bottom view angle and the right view angle) is selected, the lower right side views of multiple three-dimensional models in the drawing interface;
[0088] Figure 42 To reflect Figure 23 when the first operation plane representing the lower southwest isometric view angle in the three-dimensional representation (i.e., the first operation plane or triangular surface between the two first operation planes representing the lower left view angle and the lower front view angle) is selected, the views of the lower southwest isometric side of multiple three-dimensional models in the drawing interface;
[0089] Figure 43 To reflect Figure 23 when the first operation plane representing the upper southeast isometric view angle in the three-dimensional representation (i.e., the first operation plane or triangular surface between the two first operation planes representing the upper front view angle and the upper right view angle) is selected, the views of the upper southeast isometric side of multiple three-dimensional models in the drawing interface;
[0090] Figure 44 To reflect Figure 23When the first operation plane representing the southeast isometric lower view in the three-dimensional representation (i.e., the first operation plane or triangular plane between the two first operation planes representing the lower front view and the lower right view) is selected, the views of multiple three-dimensional models on the lower side of the southeast isometric in the drawing interface;
[0091] Figure 45 To reflect Figure 23 When the first operation plane representing the northwest isometric upper view in the three-dimensional representation (i.e., the first operation plane or triangular plane between the two first operation planes representing the upper rear view and the upper left view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0092] Figure 46 To reflect Figure 23 When the first operation plane representing the northwest isometric lower view in the three-dimensional representation (i.e., the first operation plane or triangular plane between the two first operation planes representing the lower rear view and the lower left view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0093] Figure 47 To reflect Figure 23 When the first operation plane representing the northeast isometric upper view in the three-dimensional representation (i.e., the first operation plane or triangular plane between the two first operation planes representing the upper rear view and the upper right view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0094] Figure 48 To reflect Figure 23 When the first operation plane representing the northeast isometric lower view in the three-dimensional representation (i.e., the first operation plane or triangular plane between the two first operation planes representing the lower rear view and the lower right view) is selected, the views of multiple three-dimensional models in the drawing interface;
[0095] Figure 49 To reflect the southwest isometric views of multiple three-dimensional models when the 26-sided polyhedron in the three-dimensional representation of the view navigation device according to another exemplary embodiment of the present invention is rotated to an inclined state and the second operation plane representing the southwest isometric view is selected (i.e., the southwest isometric view is used as the current view);
[0096] Figure 50 Schematic flow diagram of the method in an exemplary embodiment of the present invention;
[0097] Figure 51 Schematic structural diagram of the device in an exemplary embodiment of the present invention. Detailed implementation
[0098] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0099] In this document, suffixes such as "module", "component" or "unit" used to denote elements are only for the convenience of describing the present invention and have no specific meaning in themselves. Therefore, "module", "component" or "unit" can be used interchangeably.
[0100] In this document, terms such as "upper", "lower", "inner", "outer", "front", "rear", "one end", "the other end", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0101] In this document, unless otherwise clearly defined and limited, terms such as "installed", "provided with", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium, and can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0102] In this document, "and / or" includes any and all combinations of one or more of the listed related items.
[0103] In this document, "a plurality of" means two or more, that is, it includes two, three, four, five, etc.
[0104] In this document, "entity": refers to the graphic data on a CAD file, which is displayed on the CAD drawing interface. An entity has attributes, that is, data values that control the specific visual characteristics (such as visibility, color, and line style) of the entity or element. In different embodiments, an entity can also be referred to as "graphic element", "primitive".
[0105] "Object" in this article refers to the information on a CAD file that will not be displayed on the CAD drawing interface. For example, layers, text styles, dimension styles, etc. In this article, "style" refers to a named set of attributes used to classify and define specific geometric and text elements (such as line styles or text styles).
[0106] "Element" in this article refers to all possible information on a CAD file, that is, it includes "entities" and "objects", and can also be blocks, groups, and cell definitions based on "entities" and / or "objects".
[0107] "File" in this article refers to various types of files that can run in a CAD system and are used for drawing, editing, modifying, storing, and viewing CAD drawings. Common CAD file formats include, but are not limited to, DWG, DXF, DWT, DWF, DWL, DWS, DWX, MNU, MNC, MNL, MNS, CUI, CUIX, SHX, PAT, LIN, CTB, STB, PLT, PC3, etc.
[0108] "Standard view plane" or "standard view" in this article refers to various standard drawing planes adopted by the industry during the drawing process using CAD drawing tools (including: plan view, side elevation, front elevation, back elevation, southwest isometric view, etc.), and its normal vector is used as the screen visual positive direction, that is, the view direction or perspective. For example, the normal vector corresponding to the front elevation is called the front view direction (or front view perspective, or front view orientation), the normal vector corresponding to the right side elevation is called the right view direction (or right view perspective), the normal vector corresponding to the left side elevation is called the left view direction (left view perspective), the normal vector corresponding to the back elevation is called the back view direction (or rear view perspective, or rear view orientation), the normal vector corresponding to the right rear side elevation is called the right rear side direction (or right rear side view perspective), the normal vector corresponding to the southwest isometric view is called the southwest isometric direction (or southwest isometric view perspective), etc.
[0109] "Operation plane" in this article: When the view navigation device is represented in three dimensions, it refers to the plane that is intuitive and convenient for users to operate and corresponds to each standard view direction. For example, each plane of the 26-sided polyhedron (also called the first operation plane), and the eight planes designed by the compass around the 26-sided polyhedron (also called the second operation plane). Among them, the second operation plane has two states. One is the working state: that is, each second operation plane corresponds to a standard view plane of the three-dimensional scene or three-dimensional model. For example, the southwest isometric view. The other is the auxiliary state, that is, each second operation plane is used to assist in positioning the eight first operation planes (that is, the second type of operation plane) that are hidden in the current perspective. Of course, in different perspectives, the hidden first operation planes are different. For example, when the current perspective is the front view perspective (or the front view perspective), the first operation planes corresponding to the left view perspective, the right view perspective, the top view perspective (that is, the top view perspective), the bottom view perspective (that is, the bottom view perspective), etc. are hidden, and at this time the second operation plane is in the auxiliary state, and it is positioned at the corresponding first operation plane that is hidden. Only when the first type of first operation plane is selected, the state of the second operation plane will switch to the auxiliary state. Correspondingly, the second type of first operation plane will be hidden.
[0110] Embodiment 1
[0111] In order to enable users to select or switch the view direction more intuitively and quickly, and at the same time, reduce the learning cost of new users, as Figure 50 shown, the present invention provides a view navigation method in a three-dimensional scene, which includes the steps:
[0112] S02, display a three-dimensional scene or a three-dimensional model;
[0113] S04, display a three-dimensional representation of the view navigation device. The three-dimensional representation includes a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or three-dimensional model. Among them, the first operation plane is used to reflect the user coordinate space, and each first operation plane corresponds to the view direction of a standard view plane. The first operation plane corresponds to the corresponding standard view plane both in space and function;
[0114] S06, in response to any operation plane selected by the user, use the view direction corresponding to the operation plane selected by the user as the current view direction, and reorient the three-dimensional scene or three-dimensional model to display the standard view plane of the three-dimensional scene or three-dimensional model in the current view direction.
[0115] In some embodiments, there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron. As Figures 1 - 10 shown, the 26 first operation planes enclose the Figures 1 - 10 26-sided polyhedron shown in
[0116] In some embodiments, the three-dimensional representation further includes: a plurality of second operation planes, wherein the second operation planes are used to reflect the world coordinate space, and each of the second operation planes corresponds to the view direction of one of the standard view planes.
[0117] In some embodiments, the plurality of second operation planes surround the 26-sided polyhedron.
[0118] In some embodiments, each of the first operation planes corresponds one-to-one in space and abstract representation (i.e., the representation relationship in function) to each observation direction (or view direction) of the entity, and the spatial visual presentation of all the first operation planes in this embodiment corresponds to their abstract representation. Specifically, each of the first operation planes of the 26-sided polyhedron corresponds one-to-one to each observation direction of the entity in three-dimensional space, and in terms of function setting, selecting a first operation plane means selecting the corresponding observation direction. For example, in some embodiments, the first operation plane located between the first operation planes corresponding to "up" and "left" is the "upper left operation plane", and the normal vector of the "upper left operation plane" is parallel or approximately parallel to the "upper left observation direction", so that visually the "upper left operation plane" is the same as or approximately the same as the "upper left view plane" (corresponding to the "upper left observation direction"); moreover, the view plane actually corresponding to the "upper left operation plane" in the abstract representation is also the "upper left view plane", and when the user selects the "upper left operation plane", the "upper left view plane" of the entity will be presented to the user. In other words, the design of the "26-sided polyhedron" in this embodiment provides a "face-to-face" operation mode, and this "face-to-face" operation mode realizes the unity of visual correspondence and functional correspondence, and is more in line with the user's abstract thinking mode and operation habits.
[0119] When the entity to be observed is a three-dimensional graph with irregular shape or relatively complex line relationships, selecting the view direction through the 26-sided polyhedron is more helpful for users to perform abstract thinking. As Figure 21 、 22 shown, Figure 21 、 22 the entity shown in is a house, and its external structure is relatively complex. For users, there may be some hesitation or doubts when making a choice of which face to observe, and the image of the 26-sided polyhedron can assist users in imagining the perspectives corresponding to each face of the house (or rather, especially for three-dimensional graphs with irregular shapes or relatively complex line relationships, the spatial correspondence relationship between the 26-sided polyhedron and the three-dimensional graph is stronger), so as to select the face to be presented. And the 26-sided polyhedron is also relatively simple in visual effect, will not cause a sense of spatial chaos, and reduce the user experience.
[0120] In some embodiments, the view navigation method in the three-dimensional scene further includes the step: when the user selects any first type of operation plane in the first operation plane, causing the second type of operation plane in the first operation plane to be hidden, the second operation plane is used to assist in positioning the hidden second type of operation plane, that is, the second operation plane switches to an auxiliary state.
[0121] For example, in some embodiments, as Figure 6 shown, since a 26-sided polyhedron can only display some faces simultaneously, such as the left face, the back face, the left-back face, etc. (corresponding to the first type of operation plane), at this time, it is impossible to display the upper face, the lower face, etc. (corresponding to the second type of operation plane) simultaneously. That is, only some faces of the 26-sided polyhedron are visible when it is relatively stationary. At this time, operating the 26-sided polyhedron alone can only directly select some of its faces (such as Figure 6 the 9 faces shown in Figure 6 ), and if you want to select other faces on the 26-sided polyhedron, you need to rotate the 26-sided polyhedron. In this embodiment, when the second type of operation plane is hidden, the second operation plane can assist in positioning the hidden second type of operation plane as shown in Figure 5 . And, as shown in Figure 6 , the design of the 26-sided polyhedron and the design of the compass can cooperate with each other, and eight of the faces of the compass can correspond one-to-one in space with eight of the hidden faces of the 26-sided polyhedron. In other words, through the design of the compass, it can assist the user to quickly switch to more hidden perspective direction options. Therefore, by selecting any second operation plane, it is also possible to quickly and accurately locate the required perspective direction (as shown in Figure 6 , the directly switchable perspective directions are 9 + 8 = 17).
[0122] For example, as shown in Figure 12 and Figure 19 , in some embodiments, the second operation plane corresponds one-to-one in space with some of the hidden second type of operation planes.
[0123] In some embodiments, there are 8 second operation planes, and they are arranged around the 26-sided polyhedron in the form of a compass, so that the 8 second operation planes correspond one-to-one in space with 8 faces of the 26-sided polyhedron, as shown in Figures 1 - 9 .
[0124] Compared with the circular design in the world coordinate space in the prior art, the combined design of the 8 second operation planes in this embodiment (preferably presented through a compass) divides the functional area visually. From the user's perspective, it can be more intuitive to understand that different second operation planes (that is, the eight regions of the compass) represent different view directions. This clear division in space and function enables the user to more directly select the required view direction, and it also more conforms to the user's thinking habit.
[0125] Moreover, the form design of this compass also improves the view switching efficiency to a certain extent. For example, when the user needs to switch to the direction represented by "South", in the traditional circular design, the system needs to wait to identify whether the arrow icon is floating in the area representing "South". When the user determines that the arrow icon is floating on "South", then "South" is selected. In this embodiment, the clear area division omits the judgment step, and the user can select the corresponding area more quickly.
[0126] In some embodiments, the standard view plane includes: standard six views, and isometric views, such as southwest isometric view, southeast isometric view, northeast isometric view, etc.
[0127] The view navigation method in this embodiment is very convenient during the application process mainly involving navigating the standard view plane. Through the cooperation of the 26-sided body function setting and the auxiliary function of the compass, the user can accurately and quickly switch between multiple standard view planes, and the operation is very convenient. Especially when switching to perspective directions such as the southwest isometric view and the southeast isometric view, through "plane operation", the operation area (i.e., the corresponding operation plane) can be accurately and quickly selected, and the view can be switched. For example, when reviewing architectural graphics, through the cooperation of the 26-sided body and the compass, it is possible to quickly switch to the southwest isometric view, southeast isometric view, etc. of the building.
[0128] In some embodiments, the view displayed by the entity in CAD in the initial operation state is the southwest isometric view.
[0129] In some embodiments, it further includes the step of: displaying the control controls of the view navigation device; the control controls include: an inversion control; when the user selects the inversion control, the view navigation device is inverted, and the three-dimensional scene or three-dimensional model is inverted.
[0130] Specifically, in some embodiments, when the user selects the inversion control, the view navigation device is inverted based on at least one preset inversion scheme, and the three-dimensional scene or three-dimensional model is inverted based on the corresponding inversion scheme. The inversion scheme includes: inversion direction and inversion angle. For example, in some embodiments, as Figure 7 、 Figure 8 shown, when the icon corresponding to the inversion control is selected and clicked (such as Figure 7 the rightmost icon at the top), Figure 7 the three-dimensional model in it is inverted from top to bottom.
[0131] Preferably, in some embodiments, the inversion direction may optionally include: one or more directions such as up, down, left, right, etc.
[0132] For example, in some embodiments, when the icon corresponding to the inversion control is selected and clicked, the 3D model can rotate in the horizontal direction. For example, when the current view is the front view, clicking the inversion control can reverse from the front view to the rear view. Or, in other embodiments, the inversion angle can be set to other values, such as clicking the inversion control can reverse from the front view to the right view.
[0133] In this embodiment, the 26-sided polyhedron can be used to quickly and accurately switch between the standard view faces of the entity (such as the front, the rear, etc.). (For example, when "front" is selected, it can directly switch to the front view of the entity). The compass can be further used to assist in switching perspectives in different directions. On the one hand, the specific perspective directions such as "south", "southwest" can be quickly switched through the directions in the compass; on the other hand, the compass can also assist in positioning some hidden perspective options. The two switching modes of the 26-sided polyhedron and the compass can basically adapt to most CAD application scenarios. And the inversion method in this embodiment further improves the flexibility of view switching from another aspect (or provides more choices for the convenience of view switching). It can be understood that the switching mode of the selection surface of the 26-sided polyhedron is to switch to fixed standard perspective faces. For an entity, its various standard perspective faces are fixed, while inversion can perform orientation and angle-fixed inversion on the entity in any position. Therefore, with the mutual cooperation of the three functions of inversion, 26-sided polyhedron switching, and compass switching, more operation options for switching can be provided for users; and while providing more operation options (that is, improving flexibility), the convenience and accuracy of the operation are also ensured. In this embodiment, the superposition of the inversion method and the two different switching modes (i.e., navigation methods) of 26-sided polyhedron switching and compass switching produces a synergistic effect to further increase the flexibility of this method.
[0134] The synergistic effect of the three navigation methods in this embodiment can well adapt to application scenarios that require rapid and large-scale fixed-angle switching, such as when a user reviews a drawn graph.
[0135] In this embodiment, the inversion control can be used to manipulate a 3D scene or 3D model in any spatial state. It can be understood that the inversion in this embodiment is not to switch the standard views (or not to switch the conventional six views of the 3D scene or 3D model), but to perform a perspective switch with a fixed switching amplitude (direction, angle) on the 3D scene or 3D model in any position state.
[0136] The inversion function in this embodiment can be adapted to scenarios where large-angle view switching is performed quickly. For example, when a user is performing interior design of a kitchen, after drawing structures such as cabinets and cabinet handles, it is necessary to view the spatial intervals between the cabinets and other objects from multiple directions to evaluate whether the design plan is feasible. Or, when the user has drawn structures such as tables and chairs, it is necessary to view the arrangement relationship between the tables and chairs and their spatial intervals with other objects to determine whether the spatial relationship is reasonable.
[0137] For another example, when a user needs to review a completed building model, it is usually necessary to perform rapid and large-angle view switching on the building model for rapid review and inspection. At this time, by using the inversion function, the 26-sided polyhedron switching, and the compass switching in combination, the rapid review of the building model can be achieved quickly.
[0138] In some embodiments, the view navigation method in the three-dimensional scene further includes the step of: displaying an attribute configuration control of the view navigation device. When the user selects the attribute configuration control, the attributes of the view navigation device can be configured, where the attributes include: the size of each of the first operation planes, and / or the size of the second operation plane, and / or the font of the text displayed on the first and second operation planes, and / or the colors of the first and second operation planes. For example, configure the font style on the 26-sided polyhedron or compass, and the colors of each operation plane.
[0139] For example, in some embodiments, the sizes of the first and second operation planes include attributes such as the length, width, and side length of the plane, such as the prism width and the compass width.
[0140] See Figures 1 - 4 , in some embodiments of the present invention, the three-dimensional representation of the view navigation device includes a 26-sided polyhedron, which is composed of a total of 24 vertices. That is, the faces, edges, and corner points of the cube are all transformed into view operation planes, namely 26 operation planes: the six faces of the cube (presented as squares in the three-dimensional representation), the 12 faces corresponding to the 12 edges of the original cube (presented as rectangles in the three-dimensional representation), and the 8 faces corresponding to the 8 vertices of the original cube (presented as triangular faces in the three-dimensional representation). When the corresponding view operation plane is selected, the view navigation device (i.e., the ViewCube) rotates so that the normal vector of the operation plane serves as the screen visual forward direction, and at the same time, the three-dimensional scene or the three-dimensional model rotates to the standard view in the view direction corresponding to the operation plane.
[0141] For example, when selecting Figure 1 the first operation plane representing the top view angle, the three-dimensional representation of the view navigation device rotates so that the top view angle represents the current view direction. See Figure 2; Correspondingly, the 3D model of the component is reoriented to display the standard view plane - top view in the current view direction, see Figure 13 .
[0142] See Figures 1 - 6 , the view navigation device of the present invention further includes a second view operation plane designed with a compass, which provides operation planes for eight view directions of east, south, west, north, northeast, southwest, northwest, and southeast respectively.
[0143] See Figures 7 - 8 , the view navigation device of the present invention can also perform an inversion operation through an inversion control.
[0144] See Figure 10 , the 26 - faced polyhedron in the view navigation device of the present invention can also be placed obliquely. Since the oblique placement of the 26 - faced cube corresponds to the user coordinate space (UCS), and the user coordinate space is defined by the user himself when drawing, the purpose is to facilitate drawing. Therefore, its rotation depends on the user. While the compass corresponds to the world coordinate space, the space is fixed and unique. Its rotation depends on the current viewing direction. The co - existence of the two enables the user to visually observe the relative spatial form of the current user coordinate space relative to the world coordinate space.
[0145] In some embodiments, when the user coordinate space and the world coordinate space are inconsistent, there is no corresponding relationship in space between any one of the first operation planes in the 26 - faced polyhedron and the eight second operation planes corresponding to the compass, as Figure 10 shown. And when the user coordinate space and the world coordinate space are consistent, there are eight first operation planes in the 26 - faced polyhedron that are in one - to - one correspondence (i.e., there is a corresponding relationship) in space with the eight second operation planes corresponding to the compass.
[0146] In this embodiment, the relationship between the 26 - faced polyhedron and the compass is not fixed and can be flexibly adjusted based on the user's real - time needs.
[0147] On the other hand, generally, the placement of the 26 - faced polyhedron corresponds to the design of the compass, as Figure 23 shown, where the eight perspectives / directions of the front, back, left, right, front - left, front - right, back - left, and back - right of the 26 - faced polyhedron respectively correspond to the eight perspectives / directions of south, north, west, east, southwest, southeast, northwest, and northeast on the compass. For example, when the first operation plane representing the front - view perspective and the second operation plane representing the south - view perspective are selected, the view of the 3D scene or 3D model Figure 1 is the same, see Figure 24 .
[0148] Since the 26-sided polyhedron corresponds to the UCS and the compass corresponds to the WCS, when the orientation of the 26-sided polyhedron is adjusted, the corresponding relationship between the operating planes on it and the operating planes on the compass is automatically adjusted adaptively. For example, when the 26-sided polyhedron is reset so that its first operating plane representing the rear view angle corresponds to the second operating plane representing the south view angle on the compass (or other first operating planes representing non-front view angles correspond to the second operating plane representing the south view angle on the compass), correspondingly, the other operating planes of the hexahedron and the 8 directions of the compass are also adjusted adaptively.
[0149] Of course, in some other embodiments, when the UCS and the WCS are inconsistent, if the 26-sided polyhedron tilts to produce relative tilt or rotation, its above-mentioned 8 directions do not correspond to the 8 directions of the compass. See Figure 10 or Figure 49 . This way of tilting or rotating the 26-sided polyhedron, compared with the way of corresponding any first operating plane in the 26-sided polyhedron to any second operating plane, since any first operating plane in the 26-sided polyhedron does not correspond to any second operating plane, not only reflects the spatial transformation of the UCS relative to the WCS, but also provides more viewing perspectives / viewing directions, which is applicable to application scenarios that require more viewing angles.
[0150] See Figure 9 and Figure 10 . The view navigation device of the present invention can perform display style configuration, including prism width, compass width, font (such as font style, color, size, etc.) and plane area color, which can be modified by setting system variables.
[0151] Application scenario 1: Through the ViewCube, that is, the 26 operating planes of the 26-sided polyhedron, it can assist in drawing design. For example, the drawing size of an object can be accurately designed or dimensioned by switching views in all directions, and the design effects from all viewing angles can be observed. See Figures 11 - 13 .
[0152] See Figure 11 . When the first operating surface corresponding to the front view angle in the three-dimensional representation is selected, the second type of first operating planes (for example, the first operating planes in the eight view directions of up, down, left, right, upper left, upper right, lower left, and lower right) are hidden. At the same time, the second operating surface switches to the auxiliary state and is respectively positioned on the operating planes corresponding to the eight hidden perspectives. And at this time, the compass respectively corresponds to the eight hidden second operating surfaces. When the user needs to switch to the hidden first operating surface, it can be quickly positioned through the compass.
[0153] Scenario 2: Switching angles for observing part design. For example: For the design drawing of a part, the design structure can be observed by switching angles through the ViewCube. SeeFigures 14 - 20 。
[0154] Scenario 3: Architectural drawings. Architectural drawings often require the provision of southwest isometric drawings. See Figures 21 - 22 。
[0155] Scenario 4: Multiple 3D models in a 3D scene. To facilitate the observation of multi-directional or multi-perspective views of each 3D model, views from each perspective are often required. See Figures 23 - 48 。
[0156] See Figures 24 - 27 , when some first operation planes in the 3D representation are selected, some other second type of operation planes will be hidden. At the same time, the second operation plane switches to the corresponding auxiliary state (for example, becomes a triangular operation plane), and is respectively positioned at the operation planes corresponding to the eight hidden perspectives. Thus, when another second operation plane is selected, the current perspective switches to the corresponding first operation plane. For example, when selecting Figure 25 a second operation plane in the auxiliary state in the middle on the left side of the 26-sided body in Figure 26 , the current perspective of the drawing area switches to the left view perspective. See Figure 25 what is presented is the left view of the 3D model; or, when selecting Figure 27 a second operation plane in the auxiliary state in the middle on the right side of the 26-sided body in
[0157] The view navigation device of the present invention uses a 26-sided body. Compared with the existing view navigation devices, it provides more visually intuitive view directions for users. Each face has a normal direction, and each normal direction can reflect the user's observation direction (or view direction). From the user's perspective, the observation direction can be intuitively imagined through the clicked face, and the view direction (or perspective direction) to be observed can be intuitively and accurately positioned through the corresponding view operation plane, and the operation is very simple, convenient, and rapid. That is to say, the present invention presents the selection area (or view direction) in the form of a face, which allows users to more intuitively, conveniently, and quickly select the corresponding view direction for switching, greatly improving the user experience.
[0158] From the perspective of learning a new function, the design of the view navigation device of the present invention is more in line with the user's usage habits, conforms to the rules and requirements of designs in various industries, and effectively reduces the learning cost. At the same time, for a user who is not familiar with the ViewCube function, there is no need for the user to have a certain degree of understanding of it in advance, but can directly start using it. Compared with the prior art method of taking the points, edges (lines), and faces of the cube as the view operation objects, there is no need for the user to understand in advance where to operate, where to click, and what effects will occur after clicking, and finally verify through actual operation. Instead, the operation planes corresponding to each standard view plane can be obtained intuitively. That is to say, comparatively speaking, the design of the 26-sided body and the compass in this application enables users to more easily realize that these operation planes represent different observation directions (or view directions, or perspectives) at a glance, and can switch views by clicking on the operation planes, so that it is very natural to imagine / correspond to the view observation direction after clicking. In other words, this "face-to-face" operation mode is also relatively easy to accept from the user's thinking mode.
[0159] On the other hand, the user can set the color of each operation surface and font according to their own preferences, making it more personalized.
[0160] The 26-sided design of the ViewCube of the present invention is particularly suitable for industry applications of CAD, especially in the fields of industrial design and architecture. In the field of engineering drawing production, considering the usage scenarios of designers, the views of CAD software are the 6 basic planes of up, down, front, back, left, and right, the 45-degree bevel planes (12 edge planes), and the axonometric views (8 corner planes), a total of 26 planes. This 26-plane design already includes all standard drawing planes (such as plan view, side elevation, front elevation, back elevation, southwest axonometric, etc.). Users can comprehensively observe the drawn entity at a glance through these 26 planes for auxiliary design. And the ViewCube allows users to drag in any direction. Therefore, the 26-sided body design can basically well meet the user's usage needs, and there will be no problem of weak sense of direction caused by too many operable surfaces, which is likely to trouble designers in drawing.
[0161] Moreover, the compass design has another function: when combined with the 26-sided polyhedron, it serves to locate positions. During the CAD drawing process, designers usually need to use UCS (User Coordinate System) in their work. The cube of the ViewCube rotates following the UCS coordinates, while the direction of the compass is fixed under the WCS (World Coordinate System). Users can determine a rotation relationship of the design entity through the relative positions of the compass and the cube. When the view switches to the front, back, left, right, and related prisms, the compass transforms into 8 triangles, pointing to 8 hidden operating planes perpendicular to the view, which is used to assist in selecting these 8 planes. This is also an ingenious design of the ViewCube.
[0162] In addition, through the 26-sided polyhedron, it is possible to quickly and accurately locate to a standard view direction, while in the existing free rotation (or spherical manipulation for dynamic observation) method, it is very difficult to perform precise positioning.
[0163] In some embodiments, the view navigation device can also perform omnidirectional rotation (such as the 26-sided polyhedron rotating together with the compass, or the 26-sided polyhedron rotating relative to the compass). Specifically, the view navigation device can rotate in any direction pointed out by the user (for example, an operation instruction issued through the mouse). During the operation application process, the user can, based on the actual requirements of the current scene, select different operations on the view navigation device, such as rotating to switch views, reversing to switch views, or selecting a specific operating plane to switch views.
[0164] In some embodiments, the view navigation device further includes a left-turn control. The method further includes the step of: when the user selects the left-turn control, rotating the view navigation device by at least one preset angle (for example, 90°) to the left, and rotating the three-dimensional scene or the three-dimensional model by the corresponding angle to the left.
[0165] Similarly, in some embodiments, the view navigation device further includes a right-turn control. When the user selects the right-turn control, rotating the view navigation device by at least one preset angle (for example, 90°) to the right, and rotating the three-dimensional scene or the three-dimensional model by the corresponding angle to the right.
[0166] Embodiment 2
[0167] Based on the above method, the present invention further provides a view navigation device in a three-dimensional scene, as Figure 51 shown, which includes:
[0168] A display module 10, configured to display a three-dimensional scene or a three-dimensional model;
[0169] The view navigation display module 20 is configured to display a three-dimensional representation of a view navigation device. The three-dimensional representation includes a plurality of first operation planes corresponding to different standard view planes of a three-dimensional scene or a three-dimensional model. The first operation planes are used to reflect the user coordinate space, and each first operation plane corresponds to the view direction of a standard view plane. The first operation planes are spatially and functionally corresponding to the respective standard view planes.
[0170] The view navigation operation module 30 is configured to, in response to any first operation plane (or any operation plane) selected by the user, use the view direction corresponding to the selected first operation plane as the current view direction, and reorient the three-dimensional scene or the three-dimensional model to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction.
[0171] In some embodiments, there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron. The first operation planes are spatially and functionally corresponding to a standard view plane. As Figures 1 - 10 shown, the first operation planes are the respective faces of the 26-sided polyhedron in the figure.
[0172] In some embodiments, a plurality of second operation planes surround the 26-sided polyhedron. As Figure 1 shown, the plurality of second operation planes enclose a ring (preferably in the form of a compass) provided below the second operation 26-sided polyhedron.
[0173] In some embodiments, when the user selects any first type of operation plane in the first operation planes, causing the second type of operation plane in the first operation planes to be hidden, the second operation plane is used to assist in positioning the hidden second type of operation plane.
[0174] In some embodiments, there are 8 second operation planes, and they surround the 26-sided polyhedron in the form of a compass, as Figures 1 - 10 shown.
[0175] In some embodiments, the 26-sided polyhedron is used to reflect the user coordinate space, and the compass is used to reflect the world coordinate space. When the user coordinate space is consistent with the world coordinate space, the 8 second operation planes and 8 first operation planes in the 26-sided polyhedron are spatially corresponding one by one.
[0176] In some embodiments, the view navigation device further includes: a multifunctional module. The multifunctional module includes: an inversion unit configured to display the control controls of the view navigation device. The control controls include: an inversion control. When the user selects the inversion control, the view navigation device is inverted based on at least one preset inversion scheme, and the three-dimensional scene or three-dimensional model is inverted based on the corresponding inversion scheme. The inversion scheme includes: an inversion direction and an inversion angle, where the inversion direction optionally includes: up, and / or down, and / or left, and / or right.
[0177] In this embodiment, any view can be accurately positioned (or rather, by selecting the corresponding button, the three-dimensional scene or three-dimensional model can be directly inverted to a spatially determined view plane). The inversion function in this embodiment improves the accuracy and convenience of view switching. Moreover, this method is more adaptable to some special scenarios in CAD. For example, when a user is editing a three-dimensional object, they need to view or modify it from different directions. For instance, when a user views a table from top to bottom, sometimes they may hope to quickly switch to the bottom, that is, view it from bottom to top.
[0178] The synergistic effect of the inversion function, the 26-sided polyhedron switching, and the compass switching in this embodiment enables the user to quickly review the entity during actual operation based on the mutual cooperation of the three modes. Or rather, the synergistic effect in this embodiment enables the user to quickly and conveniently switch precisely between multiple viewing directions (including standard views or non-standard views) to achieve a quick review of multiple viewing positions of the entity.
[0179] In some embodiments, the multifunctional module includes: an attribute configuration unit configured to display the attribute configuration controls of the view navigation device, and when the user selects the attribute configuration controls, the attributes of the view navigation device can be configured.
[0180] Further, in some embodiments, the attributes include: the size of each first operation plane, and / or the size of the second operation plane, and / or the font of the text displayed on the first and second operation planes, and / or the colors of the first and second operation planes.
[0181] For example, in some embodiments, the sizes of the first and second operation planes include attributes such as the length, width, and side length of the plane.
[0182] Embodiment Three
[0183] A third aspect of the present invention lies in providing a computer program product for displaying a three-dimensional scene on a display device used in a computer system. The computer program product includes a computer-usable medium having computer-readable program code thereon. The computer-readable program code includes: program code for processing graphic data to present a three-dimensional model / three-dimensional scene; program code for displaying the three-dimensional model or the three-dimensional scene; program code for presenting a three-dimensional representation of a view navigation device, wherein the three-dimensional representation includes a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or the three-dimensional model. The first operation planes are used to reflect the user coordinate space, and each of the first operation planes corresponds to the view direction of one of the standard view planes. The first operation planes are spatially and functionally corresponding to the respective standard view planes; program code for displaying the view navigation device, and when any operation plane of the view navigation device is selected on the display device, the view direction / view angle direction corresponding to the selected operation plane is used as the current view direction / current view angle direction, and the three-dimensional scene or the three-dimensional model is reoriented to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction.
[0184] Exemplary hardware and software environments for implementing one or more embodiments of the present invention include a computer, which can be a user / client computer, a server computer, or a database computer. The computer includes a processor and a memory, such as a random access memory (RAM). The computer can be coupled and / or integrated with other devices, including input / output (I / O) devices, such as a keyboard, a cursor control device (such as a mouse, a pointing device, a pen, and a tablet computer, a touch screen, a multi-touch device, etc.), and a printer. In one or more embodiments, the computer can be coupled to or form a portable or media viewing / listening device (e.g., an MP3 player, an iPod TM , a Nook TM , a portable digital video player, a cellular device, a personal digital assistant, etc.). In another embodiment, the computer can include a multi-touch device, a mobile phone, a game system, an Internet-enabled television, a set-top box, or other Internet-enabled devices that execute on various platforms and operating systems.
[0185] In one embodiment, the computer operates through a general-purpose processor and executes instructions defined by a computer program under the control of an operating system. The computer program and / or the operating system can be stored in the memory and can be connected to a user and / or other devices to receive input and commands, and provide output and results according to the input, commands, and instructions defined by the computer program and the operating system.
[0186] The output / result can be displayed on a monitor or provided to other devices for display or further processing or operation. In one embodiment, the monitor includes a liquid crystal display (LCD) having a plurality of individually addressable liquid crystals. Alternatively, the monitor can include a light emitting diode (LED) display having clusters of red, green, and blue diodes driven together to form full-color pixels. Each liquid crystal or pixel of the monitor becomes opaque or translucent to form part of an image on the monitor in response to data or information generated by the application of inputs and commands by the processor in accordance with instructions of a computer program and / or an operating system.
[0187] In various embodiments of the present invention, the monitor is a 3D display device and can include a 3D-enabled monitor (e.g., a 3D television or monitor), a head-mounted display (e.g., a helmet or glasses with two small LCD or OLED [organic light emitting diode] displays with magnifying glasses, one for each eye), an active or passive 3D viewer (e.g., LC shutter glasses, linear polarization glasses, circular polarization glasses, etc.), and the like. In this regard, any technology that can be used to view 3D stereoscopic images is represented by the monitor. Additionally, one or more stereoscopic cameras can be configured to communicate with the computer to enable 3D display on the 3D monitor.
[0188] The 3D image can be provided through a graphical user interface (GUI) module. Although the GUI module is described as a separate module, the instructions for performing the GUI functions can reside or be distributed in the operating system, computer program, or implemented using special-purpose memory and processors.
[0189] In one or more embodiments, the monitor is integrated with the computer and includes a multi-touch device having a touch-sensitive surface (e.g., a trackpad or touchscreen) capable of recognizing two or more contact points with the surface. Examples of multi-touch devices include mobile devices (such as iPhone TM , Nexus S TM , Droid TM devices, etc.), tablet computers (such as iPad TM , HP Touchpad TM ), portable / handheld game / music / video player / console devices (such as iPod Touch TM , MP3 player, Nintendo 3DS TM , PlayStation portable TM etc.), touch desks and walls (such as by projecting an image through acrylic and / or glass and then backlighting the image with LEDs).
[0190] Some or all of the operations performed by a computer in accordance with computer program instructions may be implemented in a special-purpose processor. In this embodiment, some or all of the instructions of the computer program may be implemented as firmware instructions stored in a read-only memory (ROM), programmable read-only memory (PROM), or flash memory, which is located in the special-purpose processor or memory. The special-purpose processor may also be hard-wired by circuit design to perform some or all of the operations implementing the present invention. Additionally, the special-purpose processor may be a hybrid processor that includes special-purpose circuitry for performing a subset of functions, as well as other circuitry for performing more general functions, such as responding to computer program instructions. In one embodiment, the special-purpose processor is an application-specific integrated circuit (ASIC).
[0191] A computer may also implement a compiler that allows application programs or computer programs written in a programming language, such as COBOL, Pascal, C++, FORTRAN, or other languages, to be translated into processor-readable code. Alternatively, the compiler may be an interpreter that can directly execute instructions / source code, convert the source code into an intermediate representation to be executed, or execute stored precompiled code. Such source code may be written in various programming languages, such as Java TM 、Perl TM 、Basic TM and so on. Once completed, the application program or computer program uses the relationships and logic generated by the compiler to access and manipulate data received from I / O devices and stored in the computer's memory.
[0192] The computer may also optionally include external communication devices, such as a modem, satellite link, Ethernet card, or other devices for receiving input from and providing output to other computers.
[0193] In one embodiment, the instructions implementing the operating system, computer program, and compiler are tangibly embodied in a non-transitory computer-readable medium, such as a data storage device, which may include one or more fixed or removable data storage devices, such as a zip drive, floppy drive, hard drive, CD-ROM drive, tape drive, etc. Additionally, the operating system and computer program consist of computer program instructions that, when accessed, read, and executed by the computer, cause the computer to perform the necessary steps.
[0194] Of course, those skilled in the art will recognize that any combination of the above components, or any number of different components, peripherals, and other devices, may be used with the computer.
[0195] A distributed computer system uses a network to connect client computers to a server computer. A typical combination of resources may include a network, which includes the Internet, a LAN (Local Area Network), a WAN (Wide Area Network), an SNA (Systems Network Architecture) network, or a similar personal computing client.
[0196] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising that element.
[0197] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a computer terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0198] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the spirit and scope protected by the claims of the present invention. All of these are within the protection scope of the present invention.
Claims
1. A view navigation method in a three-dimensional scene, characterized in that, it includes the steps of: displaying a three-dimensional scene or a three-dimensional model; displaying a three-dimensional representation of a view navigation device, the three-dimensional representation including a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or the three-dimensional model, and each of the first operation planes corresponding to the view direction of one of the standard view planes, and the first operation planes corresponding to the corresponding standard view planes both spatially and functionally; the three-dimensional representation further includes: a plurality of second operation planes, and when the second operation planes are in a working state, each of the second operation planes corresponds to the view direction of one of the standard view planes; there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided body, there are 8 second operation planes, and they surround the 26-sided body in the form of a compass, and the standard view planes include: standard six views, and isometric views; in response to any operation plane selected by the user, taking the view direction corresponding to the selected operation plane by the user as the current view direction, and reorienting the three-dimensional scene or the three-dimensional model to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction; wherein, when any first type of operation plane in the first operation planes is selected by the user so that the second type of operation planes in the first operation planes are hidden, the second operation planes switch from the working state to the corresponding auxiliary state, which are used to respectively assist in positioning the eight hidden second type of operation planes, and the second operation planes correspond to the eight hidden second type of operation planes one by one spatially, the first operation planes are used to reflect the user coordinate space, and the second operation planes are used to reflect the world coordinate space.
2. The view navigation method in a three-dimensional scene according to claim 1, characterized in that, when the second operation planes switch from the working state to the corresponding auxiliary state, the second operation planes become triangular operation planes.
3. The view navigation method in a three-dimensional scene according to claim 1, characterized in that, when the user coordinate space is consistent with the world coordinate space, 8 of the second operation planes correspond to 8 of the first operation planes in the 26-sided body one by one spatially.
4. The view navigation method in a three-dimensional scene according to any one of claims 1-2, characterized in that, it further includes the step of: displaying an attribute configuration control of the view navigation device, and when the user selects the attribute configuration control, the attributes of the view navigation device can be configured, wherein the attributes include: the size of each of the first operation planes, and / or the size of the second operation planes, and / or the font of the text displayed on the first and second operation planes, and / or the color of each of the first and second operation planes.
5. A view navigation device in a three-dimensional scene, characterized in that, it includes: a display module configured to display a three-dimensional scene or a three-dimensional model; A view navigation display module, configured to display a three-dimensional representation of a view navigation device, the three-dimensional representation including a plurality of first operation planes corresponding to different standard view planes of a three-dimensional scene or a three-dimensional model, each of the first operation planes corresponding to the view direction of one of the standard view planes, and the first operation planes corresponding to the respective standard view planes both spatially and functionally; The three-dimensional representation further includes: a plurality of second operation planes, each of the second operation planes corresponding to the view direction of one of the standard view planes when the second operation planes are in a working state; there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron, there are 8 second operation planes, and they surround the 26-sided polyhedron in the form of a compass, and the standard view planes include: standard six views, and isometric views; A view navigation operation module, configured to, in response to any operation plane selected by a user, use the view direction corresponding to the first operation plane selected by the user as the current view direction, and reorient the three-dimensional scene or the three-dimensional model to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction; when the user selects any first type of operation plane among the first operation planes, causing the second type of operation plane among the first operation planes to be hidden, the second operation planes switch from the working state to the corresponding auxiliary state, for respectively assisting in positioning the eight hidden second type of operation planes, and the second operation planes correspond one-to-one spatially with the eight hidden second type of operation planes, the first operation planes are used to reflect the user coordinate space, and the second operation planes are used to reflect the world coordinate space.
6. A computer program product for use on a computer system for displaying a three-dimensional scene on a display device, the computer program product including a computer-usable medium having computer-readable program code thereon, the computer-readable program code including: Program code for processing graphic data to present a three-dimensional model / three-dimensional scene; Program code for displaying the three-dimensional model or the three-dimensional scene; Program code for presenting a three-dimensional representation of a view navigation device, wherein the three-dimensional representation includes a plurality of first operation planes corresponding to different standard view planes of the three-dimensional scene or the three-dimensional model, each of the first operation planes corresponding to the view direction of one of the standard view planes, and the first operation planes corresponding to the respective standard view planes both spatially and functionally; the three-dimensional representation further includes: a plurality of second operation planes, each of the second operation planes corresponding to the view direction of one of the standard view planes when the second operation planes are in a working state; there are 26 first operation planes, and the 26 first operation planes enclose a 26-sided polyhedron, there are 8 second operation planes, and they surround the 26-sided polyhedron in the form of a compass, and the standard view planes include: standard six views, and isometric views; Program code for displaying the view navigation device, and when any operation plane of the view navigation device is selected on the display device, taking the view direction corresponding to the selected operation plane as the current view direction, and reorienting the three-dimensional scene or the three-dimensional model to display the standard view plane of the three-dimensional scene or the three-dimensional model in the current view direction; wherein, when the user selects any first type of operation plane in the first operation plane, causing the second type of operation plane in the first operation plane to be hidden, the second operation plane switches from the working state to the corresponding auxiliary state, which is used to respectively assist in positioning the eight hidden second type of operation planes, and the second operation plane corresponds one-to-one in space with the eight hidden second type of operation planes, the first operation plane is used to reflect the user coordinate space, and the second operation plane is used to reflect the world coordinate space.
Citation Information
Patent Citations
3-D Model View Manipulation Apparatus
KR101491035B1
Configurable viewcube controller
US20130332889A1