CN110442339B - Visual axial editing method and device, operator and readable storage medium - Google Patents

Visual axial editing method and device, operator and readable storage medium Download PDF

Info

Publication number
CN110442339B
CN110442339B CN201910520062.8A CN201910520062A CN110442339B CN 110442339 B CN110442339 B CN 110442339B CN 201910520062 A CN201910520062 A CN 201910520062A CN 110442339 B CN110442339 B CN 110442339B
Authority
CN
China
Prior art keywords
orthogonal view
axial
value
reference line
view
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910520062.8A
Other languages
Chinese (zh)
Other versions
CN110442339A (en
Inventor
谢成鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lanya Box Technology Co ltd
Original Assignee
Beijing Lanya Box Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lanya Box Technology Co ltd filed Critical Beijing Lanya Box Technology Co ltd
Priority to CN201910520062.8A priority Critical patent/CN110442339B/en
Publication of CN110442339A publication Critical patent/CN110442339A/en
Application granted granted Critical
Publication of CN110442339B publication Critical patent/CN110442339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a visual axial editing method, a visual axial editing device, a visual axial editing operator and a readable storage medium. The method comprises the following steps: in a visual editing mode, in an orthogonal view where an object to be edited is located, adjusting a value of an axial reference line perpendicular to the orthogonal view through an axial control component located on the orthogonal view, so as to determine the position of the object to be edited in a world coordinate system through an intersection point based on a mouse ray and a plane where the axial reference line is located in the world coordinate system. By the technical scheme, editing and developing efficiency can be improved.

Description

Visual axial editing method and device, operator and readable storage medium
Technical Field
The present application relates to the field of programming technologies, and in particular, to a visual axial editing method and apparatus, a runner, and a readable storage medium.
Background
In order to produce an elegant electronic picture, special tools are required. For example, in 3D game scene development, one requirement that is often met is to do "multiple rows of repetitions", i.e., the same object or group of objects are to be repeated at different locations in the world coordinate system. To achieve this goal, a relatively large number of tools are used, namely 3D Max software. If a "union villa" picture is to be presented, the 3D Max software is to create an object (or a group of objects) in a certain orthogonal view, then copy the object(s) in the orthogonal view, and then switch from the orthogonal view to another orthogonal view or perspective, and create or set the position of the object(s). After repeating the same operation a plurality of times, the scene of the parallel villa can be seen in the perspective view. In this case, the orthogonal view is typically a view (which may be specifically a top view, a left view or a front view) of a two-dimensional coordinate plane formed by two axes remaining after locking a certain axis in three dimensions, so that the object represented on the orthogonal view has zero coordinate value in the locked axis, and if repetitive presentation is required, the locked axis can be set after having to be adjusted to the other view. This approach is overly cumbersome, affecting the efficiency of the development of similar scenarios.
Disclosure of Invention
The embodiment of the application provides an axial programming method and device, an operator and a readable storage medium, which are used for solving or improving the problems in the axial programming in the prior art.
In one aspect, the axial programming method provided by the embodiment of the application comprises the following steps:
in an editing mode of visual programming, in an orthogonal view where an object to be edited is located, adjusting a value of an axial reference line perpendicular to the orthogonal view by an axial control component located on the orthogonal view, so as to determine the position of the object to be edited in a world coordinate system by based on an intersection point of a mouse ray and a plane where the axial reference line is located in the world coordinate system.
Preferably, the adjusting, by an axial control component located on the orthogonal view, a value of an axial reference line perpendicular to the orthogonal view specifically includes:
directly adjusting the numerical value of the axial control component on the orthogonal view; determining the value determined after adjustment as the value of an axial reference line perpendicular to the orthogonal view;
and/or the number of the groups of groups,
selecting an object to be edited in a view before entering the orthogonal view; determining a first numerical value of an axial reference line in a view where the object to be edited is located before entering the orthogonal view; after entering the orthogonal view, adjusting an axial control component on the orthogonal view according to the first numerical value, and determining the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view.
Preferably, the adjusting the axial control component on the orthogonal view according to the first value specifically includes:
the first numerical value is assigned to an axial control component on the orthogonal view and presented.
Preferably, the value of the axial reference line perpendicular to the orthogonal view is adjusted by an axial control assembly located on the orthogonal view, specifically including:
selecting an object to be edited in a view before entering the orthogonal view; determining a first numerical value of an axial reference line in a view where the object to be edited is located before entering the orthogonal view; after entering the orthogonal view, the first numerical value is given to an axial control component on the orthogonal view, the assigned axial control component is adjusted, and the adjusted numerical value is determined to be the value of an axial reference line perpendicular to the orthogonal view.
Preferably, the axial control component on the orthogonal view is a levitation component or a control bar located at a predetermined position on the orthogonal view, and the axial control component comprises a forward adjustment direction sub-component and a reverse adjustment direction sub-component, wherein the forward adjustment direction is a direction for increasing the current value of the axial control component, and the reverse adjustment direction is a direction for decreasing the current value of the axial control component.
Preferably, the method further comprises, after adjusting the value of the axial reference line perpendicular to the orthogonal view, batch copying and/or batch placement of the object to be edited in the orthogonal view.
In another aspect, an embodiment of the present application further provides an axial programming device, including: an axial control assembly and an adjustment unit, wherein: the adjusting unit is used for adjusting the value of an axial reference line perpendicular to the orthogonal view through an axial control component positioned on the orthogonal view in the orthogonal view of the object to be edited under the visual programming editing mode so as to determine the position of the object to be edited in the world coordinate system through the intersection point of the mouse ray and the plane of the axial reference line in the world coordinate system.
Preferably, the adjusting unit comprises an adjusting subunit and a determining subunit, wherein: the adjusting subunit is used for directly adjusting the numerical value of the axial control component on the orthogonal view; the determining subunit is configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view; and/or the device further comprises: the adjusting unit comprises an adjusting subunit and a determining subunit, wherein: the selected object unit is used for selecting an object to be edited in a view before entering the orthogonal view; the value determining unit is used for determining a first value of the axial reference line of the selected object to be edited before entering the orthogonal view; the adjusting subunit is used for adjusting the axial control assembly on the orthogonal view according to the first numerical value after entering the orthogonal view; the determining subunit is configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view.
In still another aspect, an embodiment of the present application provides an operator, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method as described above.
In yet another aspect, a computer readable storage medium is provided in an embodiment of the present application, on which a computer program is stored, which when executed by a processor, implements the steps of the method as described above.
The above at least one technical scheme adopted by the embodiment of the application can achieve the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, under the visual programming editing mode, the value of the axial reference line perpendicular to the orthogonal view can be determined by adjusting the axial control component positioned on the orthogonal view of the object to be edited, so that the position of the object to be edited in the world coordinate system can be conveniently determined. Compared with the prior art, the method has the advantages that the method has the channel for conveniently setting the value of the axial reference line, the current view is not required to be switched to other views to set or adjust the reference line, the position of the editable object can be determined in the world coordinate system through the intersection point of the mouse ray and the plane of the axial reference line, the operation is greatly simplified, and the programming and developing efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic four-sided view of one example of the prior art;
FIG. 2 is a schematic diagram of the basic principle of the axial editing of related content according to the present application;
FIG. 3 is a schematic view of a visual axial editing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a visual axial editing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural view of an embodiment of the present application.
Detailed Description
In the foregoing background description, there are visual editing methods in the prior art for pictures such as games and cartoons, and the following description is further provided with reference to examples for better understanding of the prior art. In the field of visual editing, 3D Max software occupies a relatively important component. In this software, to facilitate the adjustment and editing of the frames from different angles, orthogonal and perspective views are provided. As described above, the orthogonal view is a view formed by two axes remaining after one axis is locked in a 3D picture, and has no perspective relationship, and may be specifically represented as a front view, a top view, a left view, and the like. The perspective view is the view of the physical world looking at the object, with depth information. Referring to fig. 1, four views of the "teapot" are shown, from left to right, top to bottom, in sequence, a top view, a left view, a front view and a perspective view of the teapot. Also shown in these views are grid lines, i.e. reference lines, which in one view represent a line, and in fact in another view may represent a plane (and thus may be referred to as a reference plane). In the view presentation described above, it is assumed that it is now necessary to present a scene in which the above-described teapots are reproduced in batches into 10 teapot matrices each in a horizontal and vertical direction, 10 of which 10 are laid out at predetermined intervals in one view, but the positions of each column are adjusted in the same view, i.e., laid out in a row and then laid out directly. This is difficult in the existing 3 Dmax: the current view is switched to the view capable of displaying the column, then the column is set, and batch copying of the same row is performed back to the previous current view, and the process continues to be repeated when the next column is swung. The whole work is repeatedly switched, which is very complicated.
In order to solve the technical problem, in the visual axial editing method provided by the embodiment of the application, in the visual editing mode, in an orthogonal view where an object to be edited is located, a value of an axial reference line perpendicular to the orthogonal view is adjusted through an axial control component positioned on the orthogonal view. By setting the axial reference line in this way, the position of the object to be edited in the world coordinate system can be easily determined in the world coordinate system by the intersection point of the mouse ray with the plane on which the axial reference line is located. This technical scheme will be described in detail below.
In this embodiment the term "edit mode" is referred to. The editing mode is a mode of operation in which an executable file is formed and executed after editing is completed, for example, as opposed to a non-editing mode, that is, a non-editing mode. In the editing mode, attribute elements such as the spatial position, the logic control relation, the size proportion and the like of the object to be edited in the view can be set and modified, and the whole process is in a development state of the visualized programming object. It should be noted that in some cases, the visual programming tool may provide a temporary run or preview function to timely learn about the effects of editing, and in this embodiment, such a state may still be considered to be in an editing mode, although it will be understood that it is not strictly defined as a non-editing mode.
In the visual editing mode, the object to be edited is usually located in a certain orthogonal view, and in the scheme, an axial control component is arranged in the orthogonal view, so that the axial reference line can be directly adjusted in the view without being switched into other views (orthogonal view or perspective view), but the "lazy" behavior can also meet the effect of adjusting the reference line, namely, in a world coordinate system, the position of the object to be edited in the world coordinate system can still be determined by based on the intersection point of the mouse ray and the plane of the axial reference line. The principle of the axial reference line is described in detail below in connection with fig. 2:
the axial reference line is in 3D software presented as a grid marked with a certain size and has the function of a ruler, but can be used as a reference surface for ray pickup required in the process of converting 2D screen coordinates into physical positions in 3D space by means of mouse click events, touch events (Touch screen events) and the like and camera parameters besides the basic function of the ruler. For example: when a user wants to create or place an editable object (object) in the 3D world by clicking a mouse or a touch screen on the 2D screen, the user uses the coordinate position of the point clicked or touched on the 2D screen in the mouse clicking event or touch event as a base point, uses the direction characterized by the preset camera parameters (such as the direction of the camera, the observation point, the position, the angle and the like) as the projection direction, converts the direction into a ray in the 3D space, and the ray can be understood as a 3D ray (similar to the ray generated by clicking the mouse or the touch screen as the base point and commonly referred to as a mouse ray) emitted from the point on the 2D screen in the direction of the camera, and the detected ray collides with the surface of the reference line, so as to create or place the physical position of the editable object (object) in the 3D space for the user.
After the above description of the principle, it should be further pointed out in particular that, conceptually, the axial reference line is a "reference line" for determining the physical coordinates of a certain editable object, and the value of this reference line (how adjustment will be described in detail later) is not necessarily equal to the coordinate values of the editable object in the 3D coordinate system. For the sake of simplicity in the following discussion, it may not be possible to distinguish between the value of the axial reference line and the coordinate value (depth value) in the axial direction of the editable object in particular, and attention should be paid to the specific understanding.
In the foregoing description of the present application, reference is made to adjusting an axial reference line perpendicular to an orthogonal view by an axial control assembly located on the orthogonal view, and in a specific implementation, two methods may be provided by way of example:
one of the exemplary ways: a direct adjustment method, namely directly adjusting the numerical value of the axial control component on the orthogonal view; the adjusted value is determined as the value of an axial reference line perpendicular to the orthogonal view. Because the axial control component is positioned on the orthogonal view, when the axial direction to be adjusted is exactly perpendicular to the current orthogonal view, the axial control component can be directly adjusted, and the adjusted value is determined as the value of the axial reference line. The method is simple, direct and quick, and can adapt to the needs of most situations.
Two exemplary ways: an indirect adjustment method. In general, when an adjustment is required to an axial reference line, the current orthogonal view may not be entered, that is, may be in another view (orthogonal view or perspective view), in which case the axial reference line to be adjusted may already have a certain value (first value), in which case a simple method is that after an operator selects an object to be edited, when switching from the other view to the current orthogonal view, the axial control component in the current orthogonal view may be adjusted according to the first value, and then the adjusted quota value is determined as the value of the axial reference line perpendicular to the orthogonal view. When the axial control component of the current orthogonal view is adjusted according to the first value, it can be further divided into two forms: one is to assign the first value directly to the axial control component in the orthogonal view, whereby the value displayed on the axial control component is the first value and is no longer adjusted; in another form, the first value is merely used as a preliminary assignment, the axial control assembly with which the assignment is completed is adjusted according to the own needs on the basis, and the adjusted value is finally determined as the value of the axial control assembly.
In connection with the above exemplary manner, specific numerical values are exemplified below. Assuming that the currently selected orthogonal view is a front view, an object to be edited is placed in the front view, and the coordinate value of the object to be edited in an XY coordinate system is (x=100, y=200), in the prior art, the axial size, i.e. the depth value, of the object to be edited in the view is 0, and if the object to be edited needs to be adjusted to other values, for example, to be adjusted to 10, the object to be edited needs to be adjusted to other views for modification. In the embodiment of the application, the axial control assembly can be found in the current front view, and then the numerical value of the axial control assembly is directly adjusted to 10 in the axial control assembly, so that the same purpose can be achieved without switching the view. If the object to be edited placed in the view is not just one object but includes a plurality of objects, the depth values of the objects are adjusted to 10, and in this case, the advantages of the embodiment of the present application are more obvious.
In the previous example, it was mentioned that the axial value may not be previously in the current view, such as the previous left view, if the mouse selects an object to be edited in the left view, after the view in which the object to be edited is located is switched to the front view, the axial control component is adjusted to achieve the adjustment of the axial value, but this way the value of the axial control component in other views is actually abandoned, which is equivalent to resetting in the current view, and the complexity of the operation is increased. An economically viable way is to assign the axial value 10 corresponding to the object to be edited selected in the left view directly into the front view. Thus, once the front view is switched, the previous numerical values are directly used without more operations, so that the batch of editable objects can be conveniently and rapidly copied and placed.
In the foregoing example description, repeated reference is made to an "axial control assembly" and, indeed, for ease of operation, it is contemplated that the axial control assembly may be placed directly on a certain presently presented orthogonal view by way of a levitation assembly or control bar. Referring to fig. 3, there is shown an editable object as a cart U32, with the axial control assembly U31 in the lower left corner of the orthogonal view, and in other embodiments, other positions that do not interfere with operation. However, it should be emphasized that if not the current orthogonal view, but other types of orthogonal views, it should also be possible to ensure that the axial control assembly is located at a reasonable position or in a reasonable manner of presentation in the view, which is advantageous for the operator to operate directly. For example, another way that can be thought of is to locate in the menu bar of the edit mode, by means of which the axial control component is invoked. This approach is possible but may be somewhat cumbersome compared to the floating or control bar approach. In the case where the axial control assembly is a "hover assembly" or "control bar," the operator may directly utilize an input device (e.g., mouse, keyboard, etc.) to adjust the values on the axial control assembly. The axial control assembly includes a forward direction adjustment subassembly and a reverse direction adjustment subassembly, the "+" key in fig. 3 being considered as a forward direction adjustment subassembly, by which adjustment of the value from the current value to the increasing direction can be achieved, and the "-" key being considered as a reverse direction adjustment subassembly, by which adjustment of the value from the current value to the decreasing direction can be achieved.
The foregoing details various embodiments of the visual axial editing methods provided by the present application. The method described above can be virtualized as a visual axial editing device, in the same way as described above. Referring to fig. 4, there is shown one embodiment of a visual axial editing apparatus comprising: an axial control unit U41 and an adjustment unit U42, wherein:
and the adjusting unit U42 is used for adjusting the value of an axial reference line perpendicular to the orthogonal view through the axial control component U41 positioned on the orthogonal view in the orthogonal view of the object to be edited in the visual programming editing mode so as to determine the position of the object to be edited in the world coordinate system through the intersection point of the mouse ray and the plane of the axial reference line in the world coordinate system.
The adjusting unit U42 may have different embodiments based on the adjustment manner of the axial control assembly. As with the direct adjustment method mentioned in the introduction of the foregoing method embodiment, the adjustment unit U42 may further include an adjustment subunit and a determination subunit, wherein:
an adjustment subunit, configured to directly adjust a numerical value of an axial control component on the orthogonal view; a determining subunit configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view;
corresponding to the indirect adjustment method mentioned in the introduction of the embodiment of the method, the device may further comprise: a selected object unit U43 and a determination value unit U44, and an adjustment unit U45 (same as the aforementioned U42) includes an adjustment subunit and a determination subunit, wherein: the selected object unit is used for selecting an object to be edited in a view before entering the orthogonal view; the value determining unit is used for determining a first value of the axial reference line of the selected object to be edited before entering the orthogonal view; the adjusting subunit is used for adjusting the axial control assembly on the orthogonal view according to the first numerical value after entering the orthogonal view; the determining subunit is configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view.
In addition, the embodiment of the application also provides a runner. Referring to fig. 5, there is shown a schematic structural diagram of one embodiment of an operator 50, where the operator 50 includes a memory 51, a processor 52, and a computer program stored on the memory 51 and executable on the processor 52, and the computer program implements the steps of the blockchain-based data processing method described above when executed by the processor 52. Similarly, embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the above method.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (7)

1. A visual axial editing method, the method comprising:
in a visual editing mode of 3D game scene development, in an orthogonal view of an object to be edited, adjusting the value of an axial reference line perpendicular to the orthogonal view through an axial control component positioned on the orthogonal view, so as to determine the position of the object to be edited in a world coordinate system through ray collision detection based on the intersection point of a mouse ray and the plane of the axial reference line in the world coordinate system, wherein the detected mouse ray and the plane of the axial reference line are used for determining the physical coordinates of the object to be edited, and the orthogonal view is a view formed by two axes left after one axis is locked in a 3D picture;
the adjusting the value of the axial reference line perpendicular to the orthogonal view through the axial control component positioned on the orthogonal view specifically comprises the following steps:
directly adjusting the numerical value of the axial control component on the orthogonal view; determining the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view, wherein the axial control component comprises a forward adjustment direction sub-component and a reverse adjustment direction sub-component, the forward adjustment direction is a direction for increasing the current value of the axial control component, and the reverse adjustment direction is a direction for decreasing the current value of the axial control component; or alternatively, the process may be performed,
selecting an object to be edited in a view before entering the orthogonal view; determining a first value of the axial reference line of the selected object to be edited before entering the orthogonal view; after entering the orthogonal view, adjusting an axial control component on the orthogonal view according to the first numerical value; determining the adjusted value as the value of an axial reference line perpendicular to the orthogonal view; or alternatively, the process may be performed,
selecting an object to be edited in a view before entering the orthogonal view; determining a first value of the axial reference line of the selected object to be edited before entering the orthogonal view; after entering the orthogonal view, assigning the first numerical value to an axial control component on the orthogonal view and presenting the first numerical value; and adjusting the assigned axial control assembly, and determining the adjusted numerical value as the value of an axial reference line perpendicular to the orthogonal view.
2. The method according to claim 1, wherein said adjusting the axial control component on the orthogonal view according to the first value comprises:
the first numerical value is assigned to an axial control component on the orthogonal view and presented.
3. The method according to any one of claims 1-2, wherein,
the axial control assembly on the orthogonal view is a levitation assembly or control bar located at a predetermined position on the orthogonal view.
4. A method according to claim 3, characterized in that the method further comprises:
after adjusting the value of the axial reference line perpendicular to the orthogonal view, the object to be edited is copied in batches and/or placed in batches in the orthogonal view.
5. A visual axial editing device, the device comprising: an axial control assembly and an adjustment unit, wherein: the adjusting unit is used for adjusting the value of an axial reference line perpendicular to the orthogonal view through an axial control component positioned on the orthogonal view in the orthogonal view of the object to be edited under the visual programming editing mode of 3D game scene development so as to determine the position of the object to be edited in a world coordinate system through ray collision detection based on the intersection point of a mouse ray and the plane of the axial reference line in a world coordinate system, wherein the intersection point is used for determining the physical coordinates of the object to be edited, the axial reference line is used as a reference line for determining the physical coordinates of the object to be edited, and the orthogonal view is a view formed by two axes after one axis is locked in a 3D picture;
the adjusting unit comprises an adjusting subunit and a determining subunit, wherein:
the adjusting subunit is configured to directly adjust a numerical value of an axial control component on the orthogonal view, where the axial control component includes a forward direction adjusting subassembly and a reverse direction adjusting subassembly, the forward direction adjusting subassembly is a direction in which a current value of the axial control component increases, and the reverse direction adjusting subassembly is a direction in which the current value of the axial control component decreases; the determining subunit is configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view;
or alternatively, the process may be performed,
the apparatus further comprises: the adjusting unit comprises an adjusting subunit and a determining subunit, wherein:
the selected object unit is used for selecting an object to be edited in a view before entering the orthogonal view; the value determining unit is used for determining a first value of the axial reference line of the selected object to be edited before entering the orthogonal view; the adjusting subunit is configured to adjust the axial control component on the orthogonal view according to the first value after entering the orthogonal view, or is configured to assign the first value to the axial control component on the orthogonal view and display the first value after entering the orthogonal view; adjusting the assigned axial control assembly; the determining subunit is configured to determine the adjusted numerical value as a value of an axial reference line perpendicular to the orthogonal view.
6. An operator, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
CN201910520062.8A 2019-06-17 2019-06-17 Visual axial editing method and device, operator and readable storage medium Active CN110442339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910520062.8A CN110442339B (en) 2019-06-17 2019-06-17 Visual axial editing method and device, operator and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910520062.8A CN110442339B (en) 2019-06-17 2019-06-17 Visual axial editing method and device, operator and readable storage medium

Publications (2)

Publication Number Publication Date
CN110442339A CN110442339A (en) 2019-11-12
CN110442339B true CN110442339B (en) 2023-09-01

Family

ID=68429462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910520062.8A Active CN110442339B (en) 2019-06-17 2019-06-17 Visual axial editing method and device, operator and readable storage medium

Country Status (1)

Country Link
CN (1) CN110442339B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111135562B (en) * 2019-12-25 2023-10-20 北京像素软件科技股份有限公司 Land parcel pickup method, apparatus, electronic device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678832A (en) * 2016-01-05 2016-06-15 中国科学院地理科学与资源研究所 OSG-based visual scene creation method for dynamically programming stereoscopic agriculture in gully district
CN107851337A (en) * 2015-06-29 2018-03-27 皇家飞利浦有限公司 Interactive gridding editor
CN108053174A (en) * 2017-12-06 2018-05-18 北京像素软件科技股份有限公司 Scene edit methods and system
CN108888954A (en) * 2018-06-20 2018-11-27 苏州玩友时代科技股份有限公司 A kind of method, apparatus, equipment and storage medium picking up coordinate
CN108961418A (en) * 2018-06-06 2018-12-07 杭州亿间科技有限公司 A kind of Knowledge Visualization interface system and method based on virtual three-dimensional space
CN109631757A (en) * 2018-12-13 2019-04-16 珠海博明软件有限公司 A kind of grating scale scaling method, device and vision inspection apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1349114A3 (en) * 2002-03-19 2011-06-15 Canon Kabushiki Kaisha Sensor calibration apparatus, sensor calibration method, program, storage medium, information processing method, and information processing apparatus
US20120078589A1 (en) * 2010-09-27 2012-03-29 Siemens Corporation Unified handle approach for moving and extruding objects in a 3-d editor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851337A (en) * 2015-06-29 2018-03-27 皇家飞利浦有限公司 Interactive gridding editor
CN105678832A (en) * 2016-01-05 2016-06-15 中国科学院地理科学与资源研究所 OSG-based visual scene creation method for dynamically programming stereoscopic agriculture in gully district
CN108053174A (en) * 2017-12-06 2018-05-18 北京像素软件科技股份有限公司 Scene edit methods and system
CN108961418A (en) * 2018-06-06 2018-12-07 杭州亿间科技有限公司 A kind of Knowledge Visualization interface system and method based on virtual three-dimensional space
CN108888954A (en) * 2018-06-20 2018-11-27 苏州玩友时代科技股份有限公司 A kind of method, apparatus, equipment and storage medium picking up coordinate
CN109631757A (en) * 2018-12-13 2019-04-16 珠海博明软件有限公司 A kind of grating scale scaling method, device and vision inspection apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
在OSG中的实现三维物体的标准变换;程菊明;张泊平;罗娜;;许昌学院学报(第02期);全文 *

Also Published As

Publication number Publication date
CN110442339A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
US10061496B2 (en) Snapping of object features via dragging
KR101497172B1 (en) Altering the appearance of a digital image using a shape
KR100631763B1 (en) 3D motion graphic user interface and method and apparatus for providing same
CN105184839B (en) Seamless representation of video and geometry
US9298348B2 (en) Mobile device and method for providing widgets
KR102433857B1 (en) Device and method for creating dynamic virtual content in mixed reality
KR20110050382A (en) Method and system for designing an assembly of objects in a system of computer-aided design
CN111142669B (en) Interaction method, device, equipment and storage medium from two-dimensional interface to three-dimensional scene
CN102779202B (en) Method and apparatus for the executor of selecting object
CN104049880A (en) Method and device for batch selection of multiple pictures
CN109993822B (en) Ink and wash style rendering method and device
US7098933B1 (en) Acquiring and unacquiring alignment and extension points
CN110442339B (en) Visual axial editing method and device, operator and readable storage medium
CN111782114B (en) Element display method, device, equipment and medium in manuscript editing application
CN111954895A (en) Package arrangement determination for 3D printing of objects
CN102445998A (en) Method to obtain projection position of remote-control light spot and interactive projection system
US20130108187A1 (en) Image warping method and computer program product thereof
US5982382A (en) Interactive selection of 3-D on-screen objects using active selection entities provided to the user
CN111428455B (en) Form management method, device, equipment and storage medium
CN115129191A (en) Three-dimensional object pickup method, device, equipment and storage medium
US11797719B2 (en) Dynamic preview generation in a product lifecycle management environment
KR101933886B1 (en) Program developer and object editing method
CN112767419A (en) Method and system for cutting nine-grid of atlas
US8359549B1 (en) Multiple-function user interactive tool for manipulating three-dimensional objects in a graphical user interface environment
Limberger et al. Interactive, height-based filtering in 2.5 D treemaps

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 100094 1301, building 4, area 4, courtyard 81, Beiqing Road, Haidian District, Beijing

Applicant after: Beijing LANYA Box Technology Co.,Ltd.

Address before: 100097 Room 303, 3rd floor, building 1, No. 25, lantianchang South Road, Haidian District, Beijing

Applicant before: SOUYOU NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant