CN117744186B - CAD rasterization method, CAD rasterization device, computer equipment and storage medium - Google Patents
CAD rasterization method, CAD rasterization device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN117744186B CN117744186B CN202410186661.1A CN202410186661A CN117744186B CN 117744186 B CN117744186 B CN 117744186B CN 202410186661 A CN202410186661 A CN 202410186661A CN 117744186 B CN117744186 B CN 117744186B
- Authority
- CN
- China
- Prior art keywords
- entity
- subset
- processor
- rasterization
- adopting
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 174
- 238000004590 computer program Methods 0.000 claims abstract description 29
- 238000009877 rendering Methods 0.000 claims description 36
- 230000000007 visual effect Effects 0.000 claims description 32
- 230000015556 catabolic process Effects 0.000 claims description 17
- 238000006731 degradation reaction Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 16
- 230000008030 elimination Effects 0.000 claims description 12
- 238000003379 elimination reaction Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 8
- 238000012800 visualization Methods 0.000 claims description 8
- 238000000638 solvent extraction Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000004044 response Effects 0.000 description 8
- 239000007787 solid Substances 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000007717 exclusion Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000011960 computer-aided design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
Abstract
The present application relates to a CAD rasterization method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit; for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set; and sequentially carrying out rasterization processing on the entity subsets by adopting a graphic processor so as to visualize the entity objects in the entity subsets. The method can improve the rasterization processing efficiency of CAD.
Description
Technical Field
The present application relates to the field of CAD technology, and in particular, to a CAD rasterization method, apparatus, computer device, storage medium, and computer program product.
Background
Rasterization is one of the core functions of CAD display systems, and the operations of editing, panning, scaling, etc. of entities all involve rasterization, so that the efficiency of rasterization directly determines the user experience.
Due to the characteristics of the CAD entity, the drawing sequence in the two-dimensional mode, efficiency consideration during editing and the like, a great deal of complex calculation needs to be processed during rasterization, so that the rasterization processing efficiency of the CAD in the traditional technology is lower.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a CAD rasterization method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the rasterization processing efficiency of CAD.
In a first aspect, the present application provides a CAD rasterization method, comprising:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in the any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
And adopting a graphic processor to sequentially perform rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets.
In one embodiment, before the graphics processor is used to sequentially rasterize the subset of entities, the method further includes:
storing any entity subset into a video memory of the graphics processor for the any entity subset;
Determining a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library by adopting the central processing unit;
The adoption of the graphic processor sequentially carries out rasterization processing on the entity subsets, and the method comprises the following steps:
And sequentially executing target drawing instructions corresponding to the entity types of any entity subset by adopting a graphic processor, and carrying out rasterization processing on any entity subset in the video memory.
In one embodiment, before using the graphics processor to sequentially execute the target drawing instructions corresponding to the entity types of the any entity subset, before performing the rasterization processing on the any entity subset in the video memory, the method further includes:
Acquiring a visual viewport of current visualization by adopting the central processing unit;
The method for performing rasterization processing on the arbitrary entity subset in the video memory by adopting a graphics processor sequentially executing target drawing instructions corresponding to the entity types of the arbitrary entity subset comprises the following steps:
Adopting a graphic processor to perform view port degradation processing and view port elimination processing on the entity objects in any entity subset in the video memory according to the visual view port to obtain a processed entity subset;
And sequentially executing target drawing instructions corresponding to the entity types of any entity subset, and carrying out rasterization processing on the processed entity subset.
In one embodiment, the adopting a graphics processor sequentially performs rasterization processing on the entity subsets, and further includes:
acquiring the drawing sequence of entity objects in the entity subset;
And according to the drawing sequence, carrying out rasterization processing on the entity objects in the entity subset.
In one embodiment, after the rasterizing process is sequentially performed on the subset of entities by using the graphics processor, the method further includes:
Responding to new rasterization processing requirements, and determining whether the entity object to be displayed changes by adopting the central processing unit;
Under the condition that the entity object to be displayed is not changed, adopting the graphic processor to carry out rasterization processing on the entity subset corresponding to the entity object to be displayed so as to visualize the entity object in the entity subset;
and under the condition that the entity object to be displayed is changed, determining a new entity subset by adopting the central processing unit, and carrying out rasterization processing on the new entity subset by adopting the graphic processor so as to visualize the entity objects in the new entity subset.
In one embodiment, the determining, with the central processor, a new subset of entities in the case that the entity object to be displayed changes includes:
Under the condition of responding to editing operation aiming at any entity object to be displayed, determining a target entity set corresponding to any entity object;
and reclassifying the entity objects in the target entity set to obtain a new entity subset.
In one embodiment, in the case that the entity object to be displayed changes, determining, by using the central processor, a new entity subset further includes:
under the condition of responding to the adding operation aiming at the new entity object, adding the new entity object into the entity object to be displayed to obtain the new entity object to be displayed;
and re-determining a new entity subset according to the new entity object to be displayed.
In a second aspect, the present application also provides a CAD rasterization apparatus, including:
the entity dividing module is used for dividing the entity object to be displayed of the CAD into entity sets by adopting the central processing unit;
the entity classification module is used for classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
and the rasterizing module is used for sequentially rasterizing the entity subsets by adopting a graphic processor so as to visualize the entity objects in the entity subsets.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in the any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
And adopting a graphic processor to sequentially perform rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in the any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
And adopting a graphic processor to sequentially perform rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in the any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
And adopting a graphic processor to sequentially perform rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets.
The CAD rasterization method, the device, the computer equipment, the storage medium and the computer program product firstly divide the entity object to be displayed of the CAD into entity sets by adopting the central processing unit, realize effective management and organization of scenes, are beneficial to improving the access efficiency to the entity object and provide a better data structure for the subsequent rasterization processing step; then, aiming at any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set, and adopting a more optimized processing mode for different types of entities through classifying, so that the computational complexity in the subsequent rasterization process is reduced, and the rasterization processing efficiency is improved; finally, the graphic processor is adopted to sequentially carry out rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets, the graphic processor is utilized to carry out rasterization processing on the entity objects in each entity subset, the entity objects are converted into pixel points on a screen, the parallel processing capacity of each pixel point of the graphic processor can be better utilized, the rendering efficiency of the entity objects is improved, in the rasterization process of the graphic processor, the central processor can parallelly process the data of the next entity subset, and the overall rendering efficiency can be improved by the cooperative work of the central processor and the graphic processor. In the method, the entity objects in the CAD scene can be managed and organized more efficiently through classification processing of the entity objects, and the rendering performance is optimized by adopting a proper rasterization processing mode aiming at each entity type so as to improve the display efficiency; and the image processor is adopted to carry out rasterization processing, so that the parallel computing capability of the image processor is fully exerted, and the rasterization efficiency is improved; meanwhile, the parallel cooperative working mode of the central processing unit and the graphic processor can reduce the waiting time between the central processing unit and the graphic processor and improve the overall rendering efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flow diagram of a CAD rasterization method in one embodiment;
FIG. 2 is a flow diagram that illustrates the steps of a process for rasterizing a subset of entities, in one embodiment;
FIG. 3 is a schematic diagram of a visual viewport and physical objects in one embodiment;
FIG. 4 is a flow diagram of the steps in responding to new rasterization processing requirements in one embodiment;
FIG. 5 is a flow diagram of a CAD rasterization method in another embodiment;
FIG. 6 is a flow diagram of a CAD rasterization method in one embodiment;
FIG. 7 is a block diagram of a CAD rasterization apparatus in one embodiment;
Fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in fig. 1, a CAD rasterization method is provided, where this embodiment is applied to a terminal to illustrate the method, and it is understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and implemented through interaction between the terminal and the server. The terminal may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, etc., and includes a central processor and a graphic processor. The server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers. In this embodiment, the method includes the steps of:
Step S101, dividing the entity object to be displayed of the CAD into entity sets by adopting a central processing unit.
CAD is a Computer-aided design (Computer-AIDED DESIGN), which is a tool that uses Computer technology to design and draw.
The entity object to be displayed in the CAD may be a primitive and any combination of primitives in the CAD. The graphic elements are graphic elements such as points, lines, polygons, circles and the like. Each entity object has corresponding associated information including color, texture, size, location, etc.
The terminal may divide each entity object to be displayed in the CAD file into a plurality of entity sets according to a preset division rule by using a central processing unit (i.e., CPU) in the terminal.
The preset partitioning rule may be determined based on spatial relationship, drawing order, entity complexity, or the like of the entity object. For example, according to the respective spatial position information of the entity objects, the entity objects in the same preset spatial range (i.e. the entity objects adjacent to each other in space) are determined and divided into the same entity set, so as to obtain a plurality of entity sets in different spatial ranges. According to the drawing order of the entity objects, dividing the entity objects with the preset number which are continuous in the drawing order into the same entity set. And dividing the entity sets according to the entity complexity of the entity objects under different entity types, namely, the entity objects with the same entity type and similar entity complexity are positioned in the same entity set. Further, the division may be performed by integrating multiple division rules, for example, first dividing the first entity set based on the spatial relationship of the entity objects, and then dividing the second entity set of each first entity set in each first entity set based on the entity complexity of the entity objects.
It should be noted that, the division of the entity object into the entity set may be the marking division based on the entity identifier corresponding to the entity object, that is, the association or registration of the entity identifiers of the entity objects in the same entity set; the display data of the entity objects can also be directly subjected to storage division or call division, namely, the storage positions of the entity objects in the same entity set are adjusted, the entity objects are stored in continuous positions, or call address information of the entity objects in the same entity set is associated or registered.
Step S102, for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set.
For example, for the entity objects in any entity set, the terminal adopts a central processing unit to identify the entity type of each entity object in the entity set, and then divides the entity objects of the same entity type into the entity subsets corresponding to the entity set. The criteria for partitioning may be determined based on geometric properties, material properties, or other specific identifying properties of the physical object.
Step S103, adopting a graphic processor to sequentially perform rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets.
Where rasterization (Rasterization) is the process of converting a graphic or image from its vector representation into pixels or rasters, is a key step in computer graphics rendering, with the goal of generating a visually correct image on the screen.
The terminal sends the entity subset to a Graphics Processor (GPU), and the parallel computing power of the graphics processor is utilized to perform rasterization processing on a plurality of entity objects in the entity subset, so that a large number of entity objects are efficiently processed, and the real-time performance of visualization is improved. In addition, the graphics processor may also perform optimization of processing according to entity types, different types of entities may employ different rasterization strategies, such as different rasterization algorithms for triangles and line segments.
In the CAD rasterization method, firstly, a central processing unit is adopted to divide the entity objects to be displayed of the CAD into entity sets, so that effective management and organization of scenes are realized, the access efficiency to the entity objects is improved, and a better data structure is provided for the subsequent rasterization processing step; then, aiming at any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set, and adopting a more optimized processing mode for different types of entities through classifying, so that the computational complexity in the subsequent rasterization process is reduced, and the rasterization processing efficiency is improved; finally, the graphic processor is adopted to sequentially carry out rasterization processing on the entity subsets so as to visualize the entity objects in the entity subsets, the graphic processor is utilized to carry out rasterization processing on the entity objects in each entity subset, the entity objects are converted into pixel points on a screen, the parallel processing capacity of each pixel point of the graphic processor can be better utilized, the rendering efficiency of the entity objects is improved, in the rasterization process of the graphic processor, the central processor can parallelly process the data of the next entity subset, and the overall rendering efficiency can be improved by the cooperative work of the central processor and the graphic processor. In the method, the entity objects in the CAD scene can be managed and organized more efficiently through classification processing of the entity objects, and the rendering performance is optimized by adopting a proper rasterization processing mode aiming at each entity type so as to improve the display efficiency; and the image processor is adopted to carry out rasterization processing, so that the parallel computing capability of the image processor is fully exerted, and the rasterization efficiency is improved; meanwhile, the parallel cooperative working mode of the central processing unit and the graphic processor can reduce the waiting time between the central processing unit and the graphic processor and improve the overall rendering efficiency.
In an exemplary embodiment, as shown in fig. 2, before the step S103 uses a graphics processor to sequentially rasterize the subset of entities, the method further includes the following steps:
Step S201, for any entity subset, storing any entity subset into a video memory of a graphics processor;
step S202, determining a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library by adopting a central processing unit.
Further, in an exemplary embodiment, as shown in fig. 2, step S103 is implemented by using a graphics processor to sequentially rasterize the subset of entities, which may be implemented by:
step S203, a graphics processor is adopted to sequentially execute target drawing instructions corresponding to entity types of any entity subset, and rasterization processing is carried out on any entity subset in the video memory.
For any entity subset, the terminal adopts a central processing unit to store the primitive data and related attributes of each entity object into a video memory of a graphics processor; then, the central processing unit determines a corresponding target drawing instruction from a preset drawing instruction library based on the entity type of the entity subset; then, the central processing unit sends a rendering instruction comprising the target drawing instruction to the graphics processor; the graphics processor executes a received rendering instruction and rasterizes each real object in the subset of entities in the memory based on the target rendering instruction therein. It should be noted that, when the central processing unit stores the entity subset into the video memory of the graphics processor, multiple entity subsets may be stored at the same time, and the specific number may be determined based on the size of the video memory of the graphics processor; then the rendering instructions sent by the central processor to the graphics processor need to indicate the subset of entities that currently need to be rasterized. In addition, if all the entity subsets are not stored in the video memory at the same time, the order of storing the entity subsets in the video memory by the central processing unit should be stored sequentially by taking the entity set as a unit, so that the entity subsets in the same entity set are ensured to be continuously stored, and when the rasterization processing is carried out subsequently, the rasterization of the entity subsets in the same entity set is also continuously carried out. And, the entity subset which has completed the rasterization processing, in the case of sufficient memory storage capacity, does not need to be deleted to better cope with the subsequent possible editing operation for the entity object.
In this embodiment, the rendering process may be customized for different entity subsets through a preset drawing instruction library, so that an optimal rendering algorithm and shader program are selected for each entity type, and rendering efficiency is improved. In addition, for one entity subset, the central processing unit only needs to send the rendering instruction to the graphics processor once, instead of sending each entity object once, so that the number of drawcall (rendering instructions) between the central processing unit and the graphics processor can be effectively reduced, and the data transmission and communication overhead between the central processing unit and the graphics processor can be reduced, so that the rasterization efficiency of the entity objects can be improved.
In an exemplary embodiment, before executing, with the graphics processor in step S203, the target drawing instruction corresponding to the entity type of any entity subset in sequence, and performing rasterization processing on any entity subset in the video memory, the method further includes: and acquiring a visual viewport of the current visualization by adopting a central processing unit.
Further, in an exemplary embodiment, the step S203 employs a graphics processor to sequentially execute the target drawing instructions corresponding to the entity types of any entity subset, and performs rasterization processing on any entity subset in the video memory, and further includes: adopting a graphic processor to perform view port degradation treatment and view port elimination treatment on the entity objects in any entity subset in the video memory according to the visual view port to obtain a treated entity subset; and sequentially executing target drawing instructions corresponding to the entity types of any entity subset, and carrying out rasterization processing on the processed entity subset.
Herein, a visual viewport (visual viewport) refers to an area that a user can see on a screen, that is, a portion of a graphic scene that the user can observe. It is generally represented by a rectangular area on the screen, the size and location of which may vary depending on the user or system settings.
The viewport degradation is that the current screen ratio of the entity object in the rasterized bounding box is smaller than a threshold value (such as 1 pixel), and at this time, the display data of the entity object in the bounding box can be directly drawn into a point to replace the point, without displaying the details of the entity object.
The view port exclusion refers to a process of clipping or excluding the primitives beyond the visual view port range in the graphic rendering. In the viewport exclusion process, part or all of the primitives are culled to ensure that only primitives within the viewport participate in subsequent rasterization and rendering.
Illustratively, the terminal obtains visual viewport information of current visualization by using a central processing unit; and then adopting a graphic processor to perform view port degradation processing and view port elimination processing on the entity objects in the entity subset to be rasterized in the video memory according to the view port information, wherein the view port degradation processing comprises the steps of eliminating invisible entity objects outside the view port and performing cutting or other optimization processing on partial entities in the view port. After viewport degradation and viewport exclusion processing, a subset of the processed entities is determined, including physical objects visible within the visual viewport. Finally, the graphics processor executes a target drawing instruction, and performs rasterization processing on the processed entity subset.
For example, as shown in fig. 3, based on the position information of the physical object and the visual viewport, a portion of the physical object in the visual viewport, that is, a portion in the visual viewport frame in fig. 3, and a portion outside the visual viewport frame in fig. 3, is determined, and no rasterization processing is currently required. If the physical object is moved later or the user adjusts the picture proportion to change the visual viewport, the part needing rasterization is redetermined.
In the embodiment, only the entity objects in the visual viewport participate in the subsequent rasterization through the viewport degradation and viewport exclusion processing, so that unnecessary calculation and rasterization operations are reduced, and the rasterization efficiency is improved. By executing viewport degradation and viewport exclusion processing in the graphics processor, the parallel computing capability of the graphics processor is fully utilized, the utilization of rendering computing resources is optimized, and the processing efficiency is improved. Meanwhile, the entity subset is prestored in the video memory, and the graphic processor finishes the view port degradation and view port elimination processing, after the subsequent visualization, when the user adjusts the position of the visual view port in the entity scene, the graphic processor can respond to the new view port degradation and the new view port elimination processing in time, and the central processor does not need to send the entity object subjected to the view port degradation and view port elimination processing to the graphic processor, so that the data transmission and communication expenditure is reduced, and the rasterization efficiency is improved.
In an exemplary embodiment, the step S103 uses a graphics processor to sequentially rasterize the subset of entities, and further includes: acquiring the drawing sequence of entity objects in the entity subset; and rasterizing the entity objects in the entity subset according to the drawing sequence.
Illustratively, in a two-dimensional model of CAD, the drawing order of the physical objects affects the display result. The terminal acquires drawing sequence information of entity objects in the entity subset by using a graphic processor, wherein the drawing sequence information possibly comprises a sequence determined according to criteria such as depth, distance and the like so as to ensure the correctness of subsequent rasterization; and then, according to the obtained drawing sequence, carrying out rasterization processing on the entity objects in the entity subset, so as to ensure that the drawing sequence accords with the expected visual effect, for example, the later drawn objects cover the earlier drawn objects. When the graphics processor performs the rendering processing on the entity objects based on the rendering order, it may render each entity object according to the rendering order, or may render a plurality of entity objects in parallel, and when rendering in parallel, it may perform the rendering processing after calculating the occlusion relationship of the plurality of entity objects on each pixel point based on the rendering order buffer.
In this embodiment, the display correctness after the rasterization processing is ensured by acquiring and considering the drawing order of the entity objects in the entity subset.
In an exemplary embodiment, as shown in fig. 4, after the step S103 of using a graphics processor to sequentially rasterize the subset of entities, the method further includes the following steps:
S401, responding to new rasterization processing requirements, and determining whether an entity object to be displayed changes by adopting a central processing unit;
s402, under the condition that the entity object to be displayed is not changed, adopting a graphic processor to perform rasterization processing on the entity subset corresponding to the entity object to be displayed so as to visualize the entity object in the entity subset;
s403, under the condition that the entity object to be displayed is changed, a central processing unit is adopted to determine a new entity subset, and a graphic processor is adopted to carry out rasterization processing on the new entity subset so as to visualize the entity objects in the new entity subset.
Illustratively, the terminal responds to new rasterization processing requirements, such as re-opening a CAD file. And a central processing unit is adopted to determine whether the entity object to be displayed is changed or not by comparing the front CAD file with the rear CAD file. If the entity object to be displayed is not changed, carrying out rasterization processing on the entity subsets which are divided before by using a graphic processor so as to visualize the entity objects in the entity subsets; if the entity object to be displayed changes, a new entity subset needs to be divided again according to the new change, and then rasterization processing is carried out on the new entity subset.
In this embodiment, the response mechanism of the central processing unit ensures that the response mechanism can dynamically respond to the new rasterization processing requirement and adapt to user interaction or scene change in real time. By detecting whether the entity object to be displayed changes, repeated division of the entity subset under the condition of no change can be avoided, and unnecessary computing resources are saved.
In an exemplary embodiment, in the case that the entity object to be displayed changes, step S403 above uses a central processor to determine a new entity subset, and uses a graphics processor, and further includes: under the condition of responding to the editing operation of any entity object to be displayed, determining a target entity set corresponding to any entity object; and reclassifying the entity objects in the target entity set to obtain a new entity subset.
Further, in an exemplary embodiment, in the case that the entity object to be displayed is changed, the step S403 uses a central processing unit to determine a new entity subset, uses a graphics processor, and further includes: under the condition of responding to the adding operation aiming at the new entity object, adding the new entity object into the entity object to be displayed to obtain the new entity object to be displayed; and re-determining the new entity subset according to the new entity object to be displayed.
In an exemplary embodiment, when the user edits any entity object to be displayed that is included in the previous CAD file, the central processor determines a target entity set corresponding to the edited entity object, and performs classification processing on the entity objects in the target entity set again to obtain a new entity subset. Under the condition that a user adds a new entity object relative to the entity object to be displayed contained in the previous CAD file, the central output processor adds the new entity object into the entity object to be displayed to obtain a new entity object to be displayed, and then, the new entity set is redetermined according to the new entity object to be displayed, and further, a new entity subset in each entity set is redetermined.
In the embodiment, by dynamically processing the entity subsets, more efficient entity subset division processing can be ensured on the new CAD file, so that the whole rasterization efficiency is improved.
In another exemplary embodiment, as shown in FIG. 5, the present application also provides another CAD rasterization method, comprising the steps of:
in step S501, a central processing unit is used to divide the entity objects to be displayed of the CAD into entity sets.
Step S502, for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set.
Step S503, for any entity subset, storing any entity subset in the video memory of the graphics processor.
Step S504, a central processing unit is adopted to determine a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library, and a visual viewport of the current visualization is obtained.
In step S505, a graphics processor is used to perform viewport degradation processing and viewport exclusion processing on the entity objects in any entity subset in the video memory according to the visual viewport, so as to obtain a processed entity subset.
Step S506, a graphic processor is adopted to acquire the drawing sequence of the entity objects in the entity subset, a target drawing instruction is executed according to the drawing sequence, and rasterization processing is carried out on the processed entity subset.
In step S507, a central processing unit is used to determine whether the physical object to be displayed changes in response to the new rasterization processing requirement.
In step S508, if the entity object to be displayed is not changed, a graphics processor is used to perform rasterization processing on the entity subset corresponding to the entity object to be displayed, so as to visualize the entity objects in the entity subset.
Step S509, in response to the editing operation for any entity object to be displayed, the central processing unit is used to determine a target entity set corresponding to any entity object, and re-classify the entity objects in the target entity set to obtain a new entity subset.
Step S510, in response to the adding operation for the new entity object, adding the new entity object to the entity object to be displayed by using the central processing unit to obtain the new entity object to be displayed, and redefining the new entity subset according to the new entity object to be displayed.
In step S511, a graphics processor is used to rasterize the new subset of entities to visualize the entity objects in the new subset of entities.
Illustratively, in step S502, when classifying the entity object, the entity type such as solid filled entity, line with line width, arc line, text and the like may be specifically classified.
For example, for a solid filled entity, the target drawing instruction for the solid filled entity obtained in step S504. In the target rendering instruction, solid filled entities may be further subdivided based on their entity complexity: triangle rasterization processing instructions for solid filled entities of lower complexity (i.e., rasterizing a limited number of triangles to get solid filled entities based on the idea that polygons are partitioned by a limited number of triangles); and scan line rasterization instructions for solid filled entities of higher complexity (i.e., solid filled entities are formed with a limited number of parallel lines based on the idea of line formation facets).
Aiming at line entities with line width, in the target drawing instruction, the connection part between the lines can be processed in a round head expansion mode (namely, a semicircular endpoint is used as a line end point) or in a rectangular expansion and overlapping area removing mode, based on the comparison relation between the length of the line with line width and the rendering precision, so that the overlapping area between the lines is reduced, and the influence on the display effect is avoided.
Aiming at an arc entity, in a target drawing instruction, aiming at the display proportion of an arc under a current visual window, the number of straight line segments required for drawing the arc is adjusted in real time, and a specific number of straight line segments are drawn so as to realize the display effect of the arc based on a limited number of straight line segments.
For the text entities, the central processing unit combines the data of each text into one display data by taking pixels as units, and when in rasterization, the central processing unit sends a rendering instruction to the graphic processor once, the graphic processor adopts a target drawing instruction, and for any pixel position of all the text entities, the storage position in the display data is determined through calculation, and the pixel parameters of the corresponding pixels are extracted, so that the drawing of the text entities is realized.
The above examples only represent a few cases, which are described in more detail and are not to be construed as limiting the scope of the application.
In step S503, when storing the entity subset in the video memory of the graphics processor, each entity object in the entity subset is first stored in the video memory, and the corresponding buffer information is determined; then, determining buffer information from the video memory of the entity objects in the same entity subset; during rasterization, the graphics processor determines each entity object in the entity subset based on the one buffer information to complete entity rendering. In steps S509 and S510, when there is an update of the entity object, the corresponding data in the video memory is directly updated, and then the buffer information of the same entity subset is redetermined, without changing the data of other entity objects in the video memory, so that the processing efficiency is improved.
In this embodiment, through preset partitioning rules and classification processing on entity objects, entity objects in a CAD scene can be managed and organized more efficiently, and a proper rasterization processing mode is adopted for each entity type, so that rendering performance is optimized to improve display efficiency; and the image processor is adopted to carry out rasterization processing, so that the parallel computing capability of the image processor is fully exerted, and the rasterization efficiency is improved; meanwhile, the parallel cooperative working mode of the central processing unit and the graphic processor can reduce the waiting time between the central processing unit and the graphic processor and improve the overall rendering efficiency.
In one exemplary embodiment, as shown in FIG. 6, the present application also provides another CAD rasterization method, comprising the steps of:
step S601, judging whether the entity object of the CAD divides the entity set.
Step S602, if the entity set is not divided, iteratively dividing the entity object into the entity set according to a preset division rule.
In step S603, if the entity set is divided, it is determined whether the entity set is divided into entity subsets.
In step S604, if the entity subset is not divided, the entity subset in the entity set is iteratively divided according to a preset division rule.
Step S605, determining a corresponding target drawing instruction according to the entity type of the entity subset, and associating the target drawing instruction with the entity subset.
In step S606, if the entity subset is divided, the view port degradation and the view port elimination are performed on the entity subset by using the graphics processor.
In step S607, the target drawing instruction associated with the entity subset is acquired, and the drawing order of the entity objects is determined.
In step S608, the target drawing instruction is adopted, and the corresponding entity subset is rasterized based on the drawing order.
In this embodiment, the logical entity set may correspond to a complete drawing with a size of only 1/n of the original size, and store display data of entity objects in the entity subset in a display memory of the display processor, so that rapid display after editing can be realized later. And drawing by adopting different display processors according to different entity types. And, the CPU only needs to send a rendering instruction (drawcall) to the graphics processor once to draw an entity subset, so that the parallel computing capability of the graphics processor is fully utilized, and the rasterization processing of the entity subset is more efficiently realized. In addition, the reasonable and accurate division of the entity sets greatly reduces the processing instructions of the graphic display and reduces the pressure of the graphic display when the visual port degradation and the visual port elimination processing are carried out on the entity subsets.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a CAD rasterization device for realizing the CAD rasterization method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitations in one or more embodiments of the CAD rasterization apparatus provided below may be referred to above for the limitations of the CAD rasterization method, and will not be described here.
In one exemplary embodiment, as shown in FIG. 7, there is provided a CAD rasterization apparatus comprising: an entity partitioning module 701, an entity classifying module 702, and a rasterizing module 703, wherein:
the entity dividing module 701 is configured to divide an entity object to be displayed of the CAD into entity sets by using a central processing unit;
The entity classification module 702 is configured to classify, for any entity set, entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set;
And the rasterizing module 703 is configured to sequentially perform rasterizing processing on the entity subsets by using the graphics processor, so as to visualize the entity objects in the entity subsets.
In one embodiment, the CAD rasterizing apparatus further includes an instruction determining module configured to store, for any subset of entities, any subset of entities in a video memory of the graphics processor; and determining a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library by adopting a central processing unit.
In one embodiment, the rasterizing module 703 is further configured to sequentially execute, by using a graphics processor, a target drawing instruction corresponding to an entity type of any entity subset, and perform rasterizing processing on any entity subset in the video memory.
In one embodiment, the CAD rasterization apparatus further includes a viewport determination module configured to acquire a currently visualized visual viewport using a central processing unit.
In one embodiment, the rasterizing module 703 is further configured to perform viewport degradation processing and viewport exclusion processing on the entity objects in any entity subset in the video memory according to the visual viewport by using a graphics processor, so as to obtain a processed entity subset; and sequentially executing target drawing instructions corresponding to the entity types of any entity subset, and carrying out rasterization processing on the processed entity subset.
In one embodiment, the rasterizing module 703 is further configured to obtain a drawing order of the entity objects in the entity subset; and rasterizing the entity objects in the entity subset according to the drawing sequence.
In one embodiment, the CAD rasterizing device is further configured to determine, with a central processing unit, whether a physical object to be displayed changes in response to a new rasterizing requirement; under the condition that the entity object to be displayed is not changed, adopting a graphic processor to perform rasterization processing on the entity subset corresponding to the entity object to be displayed so as to visualize the entity object in the entity subset; and under the condition that the entity objects to be displayed are changed, determining a new entity subset by adopting a central processing unit, and carrying out rasterization processing on the new entity subset by adopting a graphic processor so as to visualize the entity objects in the new entity subset.
In one embodiment, the CAD rasterizing apparatus is further configured to determine, in response to an editing operation for any entity object to be displayed, a target entity set corresponding to any entity object; and reclassifying the entity objects in the target entity set to obtain a new entity subset.
In one embodiment, the CAD rasterizing apparatus is further configured to add a new entity object to the entity object to be displayed, to obtain the new entity object to be displayed, in response to an adding operation for the new entity object; and re-determining the new entity subset according to the new entity object to be displayed.
The various modules in the CAD rasterization apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an exemplary embodiment, a computer device, which may be a terminal, is provided, and an internal structure thereof may be as shown in fig. 8. The computer apparatus includes a processor (including a central processor and a graphic processor), a memory, an input/output interface, a communication interface, a display unit, and an input device. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a CAD rasterization method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 8 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided that includes a memory and a processor, the processor including a central processor and a graphics processor, the memory having stored therein a computer program that when executed performs the steps of:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set;
and sequentially carrying out rasterization processing on the entity subsets by adopting a graphic processor so as to visualize the entity objects in the entity subsets.
In one embodiment, there is also provided a computer device including a memory and a processor including a central processor and a graphics processor, the memory storing a computer program, the processor implementing the steps of the method embodiments described above when executing the computer program.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set;
and sequentially carrying out rasterization processing on the entity subsets by adopting a graphic processor so as to visualize the entity objects in the entity subsets.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon which, when executed by a processor, implements the steps of the method embodiments described above, the processor comprising a central processor and a graphics processor.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
Dividing an entity object to be displayed of the CAD into entity sets by adopting a central processing unit;
for any entity set, classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to any entity set;
and sequentially carrying out rasterization processing on the entity subsets by adopting a graphic processor so as to visualize the entity objects in the entity subsets.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of the method embodiments described above, the processor comprising a central processor and a graphics processor.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (11)
1. A method of CAD rasterization, the method comprising:
Dividing entity objects to be displayed of the CAD into entity sets by adopting a central processing unit according to a preset dividing rule; the preset partitioning rule is determined based on the spatial relationship, the drawing sequence or the entity complexity of the entity object;
for any entity set, classifying the entity objects in the any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
sequentially carrying out rasterization processing on the entity subsets by adopting a graphic processor so as to visualize entity objects in the entity subsets;
Before adopting the graphic processor to sequentially perform rasterization processing on the entity subsets to visualize the entity objects in the entity subsets, the method further comprises:
Acquiring a visual viewport of current visualization by adopting the central processing unit;
the step of adopting a graphic processor to sequentially perform rasterization processing on the entity subsets to visualize entity objects in the entity subsets comprises the following steps:
adopting a graphic processor to perform view port degradation treatment and view port elimination treatment on the entity objects in any entity subset according to the visual view port to obtain a treated entity subset;
sequentially carrying out rasterization processing on the processed entity subsets;
the view port is degenerated into a process of drawing display data of any entity object in the bounding box into a point to replace the display data under the condition that the current screen ratio of the any entity object in the rasterized bounding box is smaller than a threshold value; the view port elimination is a process of clipping or eliminating the graphic elements beyond the visual view port range in graphic rendering.
2. The method of claim 1, further comprising, prior to sequentially rasterizing the subset of entities using a graphics processor:
storing any entity subset into a video memory of the graphics processor for the any entity subset;
Determining a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library by adopting the central processing unit;
The adoption of the graphic processor sequentially carries out rasterization processing on the entity subsets, and the method comprises the following steps:
And sequentially executing target drawing instructions corresponding to the entity types of any entity subset by adopting a graphic processor, and carrying out rasterization processing on any entity subset in the video memory.
3. The method of claim 1, wherein the rasterizing the subset of entities sequentially using a graphics processor further comprises:
acquiring the drawing sequence of entity objects in the entity subset;
And according to the drawing sequence, carrying out rasterization processing on the entity objects in the entity subset.
4. The method of claim 1, further comprising, after sequentially rasterizing the subset of entities using a graphics processor:
Responding to new rasterization processing requirements, and determining whether the entity object to be displayed changes by adopting the central processing unit;
Under the condition that the entity object to be displayed is not changed, adopting the graphic processor to carry out rasterization processing on the entity subset corresponding to the entity object to be displayed so as to visualize the entity object in the entity subset;
and under the condition that the entity object to be displayed is changed, determining a new entity subset by adopting the central processing unit, and carrying out rasterization processing on the new entity subset by adopting the graphic processor so as to visualize the entity objects in the new entity subset.
5. The method of claim 4, wherein the determining, with the central processor, a new subset of entities in the event of a change in the physical object to be displayed comprises:
Under the condition of responding to editing operation aiming at any entity object to be displayed, determining a target entity set corresponding to any entity object;
and reclassifying the entity objects in the target entity set to obtain a new entity subset.
6. The method of claim 4, wherein the determining, with the central processor, a new subset of entities in the event of a change in the entity object to be displayed, further comprises:
under the condition of responding to the adding operation aiming at the new entity object, adding the new entity object into the entity object to be displayed to obtain the new entity object to be displayed;
and re-determining a new entity subset according to the new entity object to be displayed.
7. A CAD rasterization apparatus, the apparatus comprising:
The entity dividing module is used for dividing the entity object to be displayed of the CAD into entity sets by adopting the central processing unit according to a preset dividing rule; the preset partitioning rule is determined based on the spatial relationship, the drawing sequence or the entity complexity of the entity object;
the entity classification module is used for classifying the entity objects in any entity set to obtain entity subsets of each entity type corresponding to the any entity set;
the rasterization module is used for sequentially rasterizing the entity subsets by adopting a graphic processor so as to visualize entity objects in the entity subsets;
the CAD rasterization device further comprises a view port determining module which is used for acquiring a visual view port of the current visualization by adopting a central processing unit;
The rasterization module is further used for performing viewport degradation processing and viewport elimination processing on the entity objects in any entity subset according to the visual viewport by adopting a graphic processor to obtain a processed entity subset; sequentially carrying out rasterization processing on the processed entity subsets;
the view port is degenerated into a process of drawing display data of any entity object in the bounding box into a point to replace the display data under the condition that the current screen ratio of the any entity object in the rasterized bounding box is smaller than a threshold value; the view port elimination is a process of clipping or eliminating the graphic elements beyond the visual view port range in graphic rendering.
8. The apparatus of claim 7, wherein the CAD rasterization apparatus further comprises an instruction determination module for storing any subset of entities in a memory of the graphics processor for any subset of entities; and determining a target drawing instruction corresponding to the entity type of any entity subset from a preset drawing instruction library by adopting a central processing unit.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 6 when the computer program is executed; the processor includes a central processor and a graphics processor.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of the method according to any of claims 1 to 6; the processor includes a central processor and a graphics processor.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 6; the processor includes a central processor and a graphics processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410186661.1A CN117744186B (en) | 2024-02-20 | 2024-02-20 | CAD rasterization method, CAD rasterization device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410186661.1A CN117744186B (en) | 2024-02-20 | 2024-02-20 | CAD rasterization method, CAD rasterization device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117744186A CN117744186A (en) | 2024-03-22 |
CN117744186B true CN117744186B (en) | 2024-06-18 |
Family
ID=90281564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410186661.1A Active CN117744186B (en) | 2024-02-20 | 2024-02-20 | CAD rasterization method, CAD rasterization device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117744186B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011209864A (en) * | 2010-03-29 | 2011-10-20 | Namco Bandai Games Inc | Program, information storage medium, and image creation system |
US10853994B1 (en) * | 2019-05-23 | 2020-12-01 | Nvidia Corporation | Rendering scenes using a combination of raytracing and rasterization |
US20220277472A1 (en) * | 2021-02-19 | 2022-09-01 | Nvidia Corporation | Single-stage category-level object pose estimation |
CN113256764A (en) * | 2021-06-02 | 2021-08-13 | 南京芯瞳半导体技术有限公司 | Rasterization device and method and computer storage medium |
CN113888684A (en) * | 2021-09-28 | 2022-01-04 | 阿里巴巴(中国)有限公司 | Method and apparatus for graphics rendering and computer storage medium |
-
2024
- 2024-02-20 CN CN202410186661.1A patent/CN117744186B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN117744186A (en) | 2024-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8970580B2 (en) | Method, apparatus and computer-readable medium rendering three-dimensional (3D) graphics | |
Strengert et al. | Hierarchical visualization and compression of large volume datasets using GPU clusters. | |
KR20080022551A (en) | Triangulating procedural geometric objects | |
JP2015515059A (en) | Method for estimating opacity level in a scene and corresponding apparatus | |
US20180374274A1 (en) | System and method for creating editable configurations of 3d model | |
US9898838B2 (en) | Graphics processing apparatus and method for determining level of detail (LOD) for texturing in graphics pipeline | |
US10878628B2 (en) | System and method for converting massive, single-material mesh datasets to a hierarchical format | |
US20240203030A1 (en) | 3d model rendering method and apparatus, electronic device, and storage medium | |
US11715253B2 (en) | Pixelation optimized delta color compression | |
US20170032567A1 (en) | Three-dimensional (3d) rendering method and apparatus | |
Rossignac et al. | Direct rendering of Boolean combinations of self-trimmed surfaces | |
CN106445445B (en) | Vector data processing method and device | |
Shan et al. | Interactive visual exploration of halos in large-scale cosmology simulation | |
Scholz et al. | Real‐time isosurface extraction with view‐dependent level of detail and applications | |
CN117744186B (en) | CAD rasterization method, CAD rasterization device, computer equipment and storage medium | |
KR20160068204A (en) | Data processing method for mesh geometry and computer readable storage medium of recording the same | |
WO2019042272A2 (en) | System and method for multi-view rendering | |
US20210358174A1 (en) | Method and apparatus of data compression | |
US20140146042A1 (en) | Apparatus and method for processing primitive in three-dimensional (3d) graphics rendering system | |
US11869123B2 (en) | Anti-aliasing two-dimensional vector graphics using a compressed vertex buffer | |
CN114311682B (en) | Model generation method, device, equipment and storage medium | |
CN111652807A (en) | Eye adjustment method, eye live broadcast method, eye adjustment device, eye live broadcast device, electronic equipment and storage medium | |
US11132836B2 (en) | Method for determining real world measurements from an apparel 3D model | |
CN117744187B (en) | CAD drawing method, device, computer equipment and storage medium | |
Masood et al. | A novel method for adaptive terrain rendering using memory-efficient tessellation codes for virtual globes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |