CN109949413A - Model display method, system and electronic equipment - Google Patents

Model display method, system and electronic equipment Download PDF

Info

Publication number
CN109949413A
CN109949413A CN201910242404.4A CN201910242404A CN109949413A CN 109949413 A CN109949413 A CN 109949413A CN 201910242404 A CN201910242404 A CN 201910242404A CN 109949413 A CN109949413 A CN 109949413A
Authority
CN
China
Prior art keywords
point cloud
object module
cloud model
model
vertex
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910242404.4A
Other languages
Chinese (zh)
Inventor
王少华
刘庆
邹云枫
刘朝雪
史文玉
刘守军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Number Of Wuhan Science And Technology Co Ltd
Original Assignee
Number Of Wuhan Science And 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 Number Of Wuhan Science And Technology Co Ltd filed Critical Number Of Wuhan Science And Technology Co Ltd
Priority to CN201910242404.4A priority Critical patent/CN109949413A/en
Publication of CN109949413A publication Critical patent/CN109949413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention provides a kind of model display method, system and electronic equipment, is related to image/video processing technology field.This method is applied to distributed server, this method comprises: respectively synchronizing load to the data information of multiple object modules simultaneously from server by primary server control, and corresponding point cloud model is constructed according to the three-dimensional information after load, and point cloud model is rendered according to the attribute information after load, multiple point cloud models after rendering are individually shown in corresponding display area respectively, so that improving the efficiency of multiple model loads, processing and display, user experience is improved.

Description

Model display method, system and electronic equipment
Technical field
The present invention relates to image animation processing technology fields, in particular to a kind of model display method, system and electricity Sub- equipment.
Background technique
During cultural relic exhibition, normally due to historical relic itself is more precious, it will usually be carried out using computer to historical relic Then model load will be shown after the corresponding object module load of historical relic.
In the prior art, the corresponding object module load of historical relic can be generally shown at two dimensional image.
But if when the historical relic quantity shown is bigger, and the load data volume of the corresponding object module of each historical relic It is very big, it is only capable of that the object module of multiple historical relics is loaded and shown one by one in the prior art, causes to show that efficiency is lower, shadow Ring user experience.
Summary of the invention
It is an object of the present invention in view of the deficiency of the prior art, provide a kind of model display method, system and Electronic equipment causes to show efficiency to solve that the object module of multiple historical relics is loaded and shown one by one in the prior art It is lower, the problem of influencing user experience.
To achieve the above object, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, being applied to distributed server, method packet the embodiment of the invention provides a kind of model display method It includes:
The data information of multiple object modules is respectively loaded from server sync by primary server control, wherein data letter Breath includes the three-dimensional information and attribute information of object module;
According to the three-dimensional information of object module, the corresponding point cloud model of object module is obtained;
According to the attribute information of object module, point cloud model is rendered respectively, the rendering mould after obtaining multiple renderings Type;
Multiple rending models are shown respectively according to corresponding display area.
Optionally, according to the three-dimensional information of object module, after the step of obtaining object module corresponding point cloud model, on State method further include:
Obtain vertex and the vertex information of point cloud model;
According to preset rules, point cloud model is carried out to subtract surface treatment according to vertex and vertex information, obtains subtracting the point behind face Cloud model.
Optionally, according to the attribute information of object module, point cloud model is rendered respectively, after obtaining multiple renderings The step of rending model, comprising:
According at least one of the material of object module, index of refraction and reflecting rate, respectively to subtracting the point Yun Mo behind face Type is rendered, the object module after obtaining multiple renderings.
Optionally, the above method further include:
The 3-D image of the object module after obtaining rendering;
Sampled pixel is determined according to 3-D image, and antialiasing processing is carried out to object module according to sampled pixel.
Optionally, the above method further include:
The operational order for receiving user carries out secondary rendering to the object module, and the operational order includes demonstration line Reason, colour switching and at least one of appear dust.
Optionally, when operational order is demonstration texture, the step of rendering to point cloud model, comprising:
Obtain the apex coordinate of point cloud model;
According to the apex coordinate of preset vertex transformation rule and the point cloud model, obtains transformed representative points and sit Mark obtains the demonstration texture operation and instructs corresponding object module.
Optionally, when operational order is colour switching, the step of rendering to point cloud model, comprising: obtain point cloud The vertex color of model;
According to the vertex color of preset vertex color transformation rule and point cloud model, transformed representative points face is obtained Color obtains color change operation and instructs corresponding object module.
Optionally, when operational order is to appear dust, the step of rendering to point cloud model, comprising:
Obtain apex coordinate, vertex quantity and the triangular facet quantity of the point cloud model;
Appear dust transformation rule, the apex coordinate of the point cloud model, vertex quantity and triangular facet number according to preset Amount, obtains transformed representative points quantity and coordinate and target triangular facet quantity, obtains described appearing dust operational order pair The object module answered.
Second aspect, the embodiment of the invention also provides a kind of model display systems, are applied to distributed server, system It include: synchronous loading module, point cloud variation module, rendering module and display module;
Synchronous loading module, for the synchronous data information for loading multiple object modules, wherein data information includes target The three-dimensional information and attribute information of model;
Point cloud variation module obtains the corresponding point cloud model of object module for the three-dimensional information according to object module;
Rendering module respectively renders point cloud model for the attribute information according to object module, obtains multiple wash with watercolours Rending model after dye;
Display module, for being shown multiple rending models respectively according to corresponding display area.
The third aspect is deposited in memory the embodiment of the invention provides a kind of electronic equipment, including memory, processor The computer program that can be run on a processor is contained, processor realizes the side of any one of first aspect when executing computer program The step of method.
The beneficial effects of the present invention are: being applied to this application provides a kind of model display method, system and electronic equipment Distributed server adds this method comprises: being synchronized respectively from server to multiple object modules by primary server control It carries, then under the control of primary server, target mould is each obtained according to the threedimensional model of corresponding object module from server The corresponding point cloud information of type, and corresponding point cloud model is rendered according to the attribute information of object module from server, And show the rending model after rendering in corresponding region, to increase multiple object module loads, processing and display effect Rate increases user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of model display system module schematic diagram provided by the embodiment of the present application;
Fig. 2 shows a kind of model display method flow schematic diagrams provided by the embodiment of the present application;
Fig. 3 shows another kind model display method flow schematic diagram provided by the embodiment of the present application;
Fig. 4 shows another kind model display method flow schematic diagram provided by the embodiment of the present application;
Fig. 5 shows another kind model display method flow schematic diagram provided by the embodiment of the present application;
Fig. 6 shows another kind model display method flow schematic diagram provided by the embodiment of the present application;
Fig. 7 shows another kind model display method flow schematic diagram provided by the embodiment of the present application;
Fig. 8 shows another kind model display system module schematic diagram provided by the embodiment of the present application;
Fig. 9 shows another kind electronic device module schematic diagram provided by the embodiment of the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.
As shown in Figure 1, a kind of model display system, is applied to distributed server, which includes one Primary server 11 is communicated to connect at least one from server 12, primary server 11 and between server 12, from server 12 May include it is multiple, set according to the actual situation from the setting quantity of server 12, by primary server 11 control respectively from Server 12 carries out the processing such as load, optimization, decoding of data information to the corresponding object module of historical relic, so as to preferably to text Object carries out model display.
As shown in Fig. 2, a kind of model display method includes:
S201, the data information for respectively loading multiple object modules from server sync by primary server control.
Wherein, data information includes the three-dimensional information and attribute information of object module.
In the present embodiment, the object module for the historical relic that primary server is shown as needed, Xiang Gecong server send same Step loads the control instruction of multiple object modules, can respectively be connected from server with the scanner for scanning each historical relic, directly obtain The data information for taking the corresponding object module of each scanner scanning historical relic is also possible to the corresponding target mould of multiple historical relics in advance The data information memory of type within one device, directly acquires the data information of object module from the equipment, the data information Three-dimensional information and attribute information including object module, wherein three-dimensional information is that description historical relic corresponds to the size of object module, ruler The data such as very little, attribute information are that description historical relic corresponds to the data such as the material of object module, texture, these historical relics correspond to object module Data information data volume it is all very big, loaded by multiple from server sync, so that the loading tasks of multiple object modules More parts can be divided into, be also possible to it is each from the corresponding object module of server, thus simultaneously to more parts of loading tasks or Multiple object modules synchronize load.
It should be noted that the three-dimensional information of the object module can specifically include: the length of the object module, top Point number, vertex position, the number of lines, the position of lines, the number in face and the position in face etc.;The specific of the object module can It include: color, the shape in face, the roughness in face, the reflectance in face and the material etc. of the object module with attribute information, herein not It limits.
Optionally, primary server and multiple from server can be set in distributed server, wherein each from service Device loads a part of data of object module respectively, for convenience of explanation, is carried out with a primary server and three from server For example, three from server be respectively from server A, from server B and from server C, if necessary to the multiple of load Object module includes bronze ware, glassware and porcelain, from server A read the roughness of bronze ware, normal information, color, Get rusty the data informations such as region, from data informations such as refractive index, the reflectivity of server B glass-loaded vessel, adds from server C Carry the information such as roughness, the reflection colour of porcelain, it can be seen that, it can each load the data of object module simultaneously from server Information loads the synchronous of the information data of multiple object modules to realize, in the present embodiment, from the setting of number of servers It can set with staff's experience, be not specifically limited herein according to actual needs.
S202, the three-dimensional information according to object module obtain the corresponding point cloud model of object module.
Three-dimensional information after being loaded according to object module, such as: length, number of vertices, vertex position, lines number Mesh, the position of lines, the number in face and the position in face etc., the available point cloud data to object module, then according to these Point cloud data carries out structure surface treatment, to obtain the corresponding point cloud model of the corresponding object module.
Wherein, point cloud model is to generate the energy constituted by Points And lines in a computer by computer modeling technology Enough embody a model of the three-dimensional feature of historical relic structure.
It should be noted that passing through the structure proportion of the point cloud model of historical relic building and the knot of historical relic in actual needs Structure ratio is identical, but since point cloud model is dummy model in a computer, it is possible to it zooms in or out, but it is whole Body structure proportion is constant.
S203, the attribute information according to object module, respectively render point cloud model, the wash with watercolours after obtaining multiple renderings Contaminate model.
Attribute information after being loaded according to object module, such as: color, the shape in face, the roughness in face, face of object module Reflectance and material etc., the spatial cue of the corresponding point cloud model of available object module, which includes to wash with watercolours The three-dimensional information and rendering parameter for contaminating structure face, according to the three-dimensional information and rendering parameter in structure face to be rendered, respectively to multiple targets Each structure face in the corresponding point cloud model of model is rendered and optimizes operation, to obtain the rendering mould after multiple renderings Type.
Specifically, the rendering step includes: the three-dimensional information for obtaining each structure face in the corresponding point cloud model of object module, i.e., Seat of coordinate value, texture coordinate value and the normal tangent vector of the vertex in each structure face of point cloud model in a coordinate system in tangent line space Scale value;Then obtain the rendering parameter in each structure face, such as: the color in face, the shape in face, the roughness in face, face reflectance and material Material etc., is rendered according to three-dimensional data to be rendered according to rendering parameter, so that the point cloud model after rendering is closer to target Model corresponds to the truth of historical relic.
For example, being a gold inlaid jade cup as object module is corresponding, by gold inlaid jade cup, gold and jade are made into master respectively Texture according to the corresponding point cloud model of the object module, i.e., can obtain the three-dimensional data in each structure face of point cloud model, and Index of refraction, the reflecting rate of golden material and beautiful material, render each structure face of the point cloud model of gold inlaid jade cup, to complete The rendering of the corresponding point cloud model of gold inlaid jade cup, or according to the point cloud model of object module make mask textures, indicate out which A part be gold which be partially it is beautiful, different renderings is then carried out to different parts in the same material, to complete The rendering of the corresponding point cloud model of gold inlaid jade cup.
S204, multiple rending models are shown respectively according to corresponding display area.
After rendering to multiple object modules, primary server sends the multiple target moulds of display to from server The instruction of type receives from server and executes the instruction for showing corresponding object module, by corresponding object module corresponding Display area is shown.
In practical applications, the display area of the object module can be a viewing area made of multiple screen splicings Domain is also possible to the multiple display areas of full screen point and is shown that the particular content of the display area is according to practical need It sets, it is not limited here, the object module in corresponding display area can each be loaded, be rendered from server Or other processing, by treated, object module is shown in corresponding display area, such as: multiple object modules include Bronze ware, glassware and porcelain, after the rendering for completing corresponding point cloud model, by individually being opened up in corresponding display area Show, be independent of each other, so that showing the object module after multiple historical relic renderings simultaneously.
Model display method provided in this embodiment is applied to distributed server, this method comprises: passing through primary server Control respectively synchronizes load to the data information of multiple object modules simultaneously from server, and according to the three-dimensional information after load Corresponding point cloud model is constructed, and point cloud model is rendered according to the attribute information after load, by the point cloud after rendering Model is individually shown in corresponding display area respectively, so that improving multiple object module loads, processing and display Efficiency, improve user experience.
It should be noted that model display method is not limitation with Fig. 2 and specific order below in the present embodiment, It should be appreciated that in other embodiments, the sequence of the attack protection message method part step of the embodiment of the present disclosure can root It is exchanged with each other according to actual needs or part steps therein also can be omitted or delete.
As shown in figure 3, optionally, in the three-dimensional information according to object module, obtaining the corresponding point cloud model of object module The step of after, further includes:
S301, the vertex for obtaining point cloud model and vertex information.
After obtaining corresponding point cloud model according to object module, need to obtain each structure face of the point cloud model vertex and Vertex information, the vertex include at least: vertex number, the vertex information include at least: vertex position information.
S302, according to preset rules, point cloud model is carried out to subtract surface treatment according to vertex and vertex information, is obtained after subtracting face Point cloud model.
The point cloud model of the object module is carried out according to the default face rule that subtracts according to object module vertex and vertex information Subtract surface treatment, obtain the vertex number and vertex position information of the point cloud model, the vertex for closing on 2 or 4 is closed And collapse, obtain subtracting the point cloud model behind face.
Optionally, when the vertex of the corresponding point cloud model of object module is excessive, the data mistake from server process can be made It is more, will cause it is subsequent to object module corresponding point cloud model rendering, optimization etc. processing speeds it is slower, cause Caton phenomenon, can Subtract surface treatment to use to the corresponding point cloud model of object module, so that the vertex of the corresponding point cloud model of the object module becomes It is few, data to be treated are greatly reduced, to accelerate the processing speed from server.
In practical applications, if the corresponding point cloud model of the object module has 400 vertex, using two mutually closed on Vertex merges, and first point cloud model subtracted after face has 200 vertex, and point cloud model has after subtracting face for the second time 100 vertex, subtracting point cloud model after face for the third time has 50 vertex, and point cloud model has 25 tops after subtracting face the 4th time Point, but the point cloud model after the 4th time subtracts face have 25 vertex when it is poor compared with the corresponding point cloud model of object module It is different larger, so subtract in the operation of face actual, when being merged using two vertex mutually closing on, set subtract face threshold value as 3, specifically subtracting face rule can be selected according to actual needs, be not specifically limited herein.
Optionally, according to the attribute information of object module, point cloud model is rendered respectively, after obtaining multiple renderings The step of rending model includes:
According at least one of the material of object module, index of refraction and reflecting rate, respectively to subtracting the point Yun Mo behind face Type is rendered, the object module after obtaining multiple renderings.
In order to enable object module is closer to cultural relic entity after load, so needing from server to the point after subtracting face Cloud model is rendered, according at least one of the material of cultural relic entity, index of refraction and reflecting rate rendering parameter and each The corresponding three-dimensional information of kind of rendering parameter renders, the rending model after being rendered to the point cloud model behind face is subtracted.
It should be noted that also needing to consider outside sometimes when the point cloud model to object module renders Therefore influence of the environment to rendering when the point cloud model to object module renders, also needs the environment outside obtaining Information, the environmental information include: that external light intensity and outside are photochromic.
As shown in figure 4, optionally, after being rendered to object module further include:
S401, the 3-D image for obtaining the object module after rendering.
The 3-D image of object module after obtaining rendering includes: vertex, line and the face of the object module after the rendering Coordinate, specifically, in the space coordinates for constructing object module from server, by each vertex of object module, every Line and each face are come out in space coordinates using coordinate representation.
S402, sampled pixel is determined according to 3-D image, antialiasing processing is carried out to object module according to sampled pixel.
According to each vertex of the 3-D image of the object module after the rendering got, the coordinate of every line and each face, The quantity for determining the sampled pixel of corresponding 3-D image is occupied according to each vertex of the 3-D image, every line and each face Pixel quantity, to each vertex of the 3-D image, every line and each face carry out antialiasing processing so that obtained target The 3-D image of model is more smooth.
Explanation of nouns, antialiasing processing also make edge softening, elimination aliasing, the folding of anti-image damage.It is that one kind disappears Except the technology of concave-convex sawtooth occurs in figure object edge in the picture of display output, those concave-convex sawtooth are usually because high-resolution Signal indicated with low resolution or can not exact arithmetic go out 3D figure coordinate positioning when caused figure aliasing and generate, Antialiasing technology can efficiently solve these problems.It is normally used for Digital Signal Processing, digital photography, computer graphics with Digital audio and electronic game etc., softening is by the digital signal of aliasing.
Optionally, this method further include:
The operational order for receiving user carries out secondary rendering to the object module, and operational order includes demonstration texture, face Colour change and at least one for appearing dust.
When being shown rending model respectively according to corresponding display area, primary server receives the behaviour of user It instructs, secondary rendering is carried out to object module, which includes: specific region and the type of rendering of rendering, the wash with watercolours The type of dye includes: at least one of to demonstrate texture, colour switching and appear dust.
As shown in figure 5, optionally, when operational order is demonstration texture, the step of rendering to point cloud model, packet It includes:
S501, the apex coordinate for obtaining point cloud model.
When the operational order that primary server receives is demonstration texture, primary server control obtains object module from server The apex coordinate of corresponding point cloud model.
S502, according to the apex coordinate of preset vertex transformation rule and point cloud model, obtain transformed representative points Coordinate obtains demonstration texture operation and instructs corresponding object module.
Point cloud model is a structure being made of multiple top point, line, surface, so being carried out by the vertex to point cloud model Positioning obtains the coordinate on vertex in point cloud model, can be by the cloud from server when executing the operational order of demonstration texture The vertex that the apex coordinate of model is converted as one, the specific region for needing to demonstrate texture is determined with this, to the demonstration texture The texture in specific region carry out demonstration texture operation, the apex coordinate of point cloud model after being converted, obtained rending model It exactly demonstrates texture operation and instructs corresponding rending model.
For clearer explanation, now with object module be single historical relic model for example, historical relic model carry out When displaying, the operational order of user is received, which is demonstration texture, obtains single historical relic from server The apex coordinate of the point cloud model of model passes through the point Yun Mo of the corresponding specific location of the user instruction and the model of single historical relic The apex coordinate of type carries out demonstration shading processing to the region that the point cloud model of the model of the historical relic needs to demonstrate texture.It needs Illustrate, from server or primary server, by receiving user instructions, so that it may which the vertex of object module is in screen Coordinate system is mutually converted with space coordinates, and then completes the conversion process of demonstration texture;In order to enable the corresponding target of historical relic Model has a variety of bandwagon effects, can be can be set more by carrying out secondary rendering to the corresponding point cloud model of object module The texture of kind unlike material, color and brightness, instructs according to the demonstration texture operation of user, corresponding to show that the object module is corresponding Texture.
As shown in fig. 6, optionally, when operational order is colour switching, the step of rendering to point cloud model, packet It includes:
S601, the vertex color for obtaining point cloud model.
When the operational order that primary server receives is colour switching, primary server control obtains object module from server Point cloud model vertex color.
It should be noted that due to inputting object module for point cloud model, so vertex corresponding on each face Colouring information, so that it may represent the colouring information in this face, thus obtain object module point cloud model vertex color, just It could be aware that the colouring information in face related with this vertex.
S602, according to the vertex color of preset vertex color transformation rule and point cloud model, obtain transformed target Vertex color obtains color change operation and instructs corresponding object module.
The vertex face of the colour switching instruction, preset color change rule and point cloud model that are received according to primary server Color determines the region for needing color change by colour switching instruction, and the region of color change will be needed to carry out colour switching behaviour Make, then obtain the apex coordinate of transformed point cloud model, and then obtains color change operation and instruct corresponding rending model, Wherein, colour switching instruction is used to indicate which kind of color the existing colouring information of the point cloud model is transformed to, and pre-set color becomes Change rule for indicate how being the color needed, the vertex face of the point cloud model by the existing color change of the point cloud model Color is used to indicate the color of existing point cloud model, and in practical applications, server is according to preset vertex transformation rule and point The apex coordinate of cloud model, and the screen coordinate on each vertex of last demonstration on the screen, obtain transformed representative points Coordinate is gone forward side by side row interpolation transition, and the corresponding object module with rendering effect of demonstration texture operation instruction is obtained.
For clearer explanation, now with object module be single historical relic model for example, historical relic model carry out When displaying, the operational order of user is received, which is colour switching, obtains single historical relic from server The vertex color of the point cloud model of model passes through the point Yun Mo of the corresponding specific location of the user instruction and the model of single historical relic The vertex color of type needs the region of colour switching to carry out colour switching processing the point cloud model of the model of the historical relic.
It should be noted that the colour switching by receiving user instructs, from clothes from server or primary server The color vertex corresponding with needing to change color that business device or primary server change according to object module needs is in world coordinates System and the coordinate in space coordinates need the region of colour switching to carry out color change operation object module.
As shown in fig. 7, optionally, when operational order is to appear dust, the step of rendering to point cloud model, packet It includes:
S701, apex coordinate, vertex quantity and the triangular facet quantity for obtaining point cloud model.
When the operational order that primary server receives is to appear dust, primary server control obtains point cloud model from server Apex coordinate, vertex quantity and triangular facet quantity.
It should be noted that a face is made of three vertex, but total number of vertex of a model does not have with total face number Corresponding relationship.
S702, appear dust transformation rule, the apex coordinate of point cloud model and triangular facet quantity according to preset, obtain and become Representative points coordinate and target triangular facet quantity after changing, obtain appearing the corresponding object module of dust operational order.
According to primary server receive appear the instruction of dust transformation rule, the apex coordinate of point cloud model got and The quantity on vertex, it is true by appearing the instruction of dust transformation rule, the quantity of the apex coordinate of point cloud model and vertex that get Surely it needs to appear the region of dust, then the region for needing to appear dust is carried out to appear dust operation, obtains appearing dust pair The rending model answered.
For clearer explanation, now using object module as the model of historical relic for example, being shown in historical relic model When, the operational order of user is received, which is to appear dust, and the top of the model of historical relic is obtained from server Point coordinate, vertex quantity and triangular facet quantity, pass through the corresponding specific location of the user instruction, the point cloud of the model of multiple historical relics Apex coordinate, vertex quantity and the triangular facet quantity of model, need to appear dust to the point cloud model of the model of multiple historical relic Region appear dust processing.
For clearer explanation model display method flow provided in this embodiment, using the object module of load as historical relic Model is for example, the loading tasks of historical relic model are divided into more parts by primary server, each from the corresponding load of server execution Task loads corresponding object module under the control of primary server, after load, obtains corresponding text respectively The point cloud model of object model subtract surface treatment to the point cloud model of corresponding historical relic model, and to after subtracting surface treatment Point cloud model is rendered, so that the historical relic model after rendering is more close to true historical relic, then primary server is by historical relic The displaying task of model is divided into more parts, and controls and each execute corresponding displaying task from server, if primary server is according to connecing The operational order of the user received, operational order is corresponding renders from server to corresponding historical relic model for control.
Model display method provided in this embodiment, this application provides a kind of model display method, system and electronics to set It is standby, it is applied to distributed server, this method comprises: respectively can be simultaneously to multiple targets from server by primary server control The data information of model synchronizes load, and according to the corresponding point cloud model of three-dimensional information building after load, and according to Attribute information after load renders point cloud model, and the point cloud model after rendering is carried out in corresponding display area respectively Individually display improves user experience so that improving the efficiency of multiple object module loads, processing and display.
As shown in figure 8, a kind of model display system provided in an embodiment of the present invention, is applied to distributed server, system It include: synchronous loading module 801, point cloud variation module 802, rendering module 803 and display module 804;
Synchronous loading module 801, for the synchronous data information for loading multiple object modules, wherein data information includes The three-dimensional information and attribute information of object module;
Point cloud variation module 802 obtains the corresponding point Yun Mo of object module for the three-dimensional information according to object module Type;
Rendering module 803 respectively renders point cloud model for the attribute information according to object module, obtains more Rending model after a rendering;
Display module 804, for being shown multiple rending models respectively according to corresponding display area.
Model display system provided in this embodiment, is applied to distributed server, which includes: synchronous load mould Block, point cloud variation module, rendering module and display module;It respectively can be simultaneously to multiple mesh from server by primary server control The data information of mark model synchronizes load, and constructs corresponding point cloud model, Yi Jigen according to the three-dimensional information after load Point cloud model is rendered according to the attribute information after load, by the point cloud model after rendering respectively corresponding display area into Row individually display improves user experience so that improving the efficiency of multiple object module loads, processing and display.
As shown in figure 9, the embodiment of the invention also provides a kind of electronic equipment, including memory 901, processor 902, it deposits The computer program that can be run on processor 902 is stored in reservoir 901, processor 902 is realized when executing computer program The step of method of above-mentioned any one.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair The part steps of bright each embodiment method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), the various media that can store program code such as magnetic or disk.

Claims (10)

1. a kind of model display method, which is characterized in that be applied to distributed server, the distributed server includes one Primary server and at least one from server, which comprises
The data information of multiple object modules is respectively loaded from server sync by primary server control, wherein the data letter Breath includes the three-dimensional information and attribute information of the object module;
According to the three-dimensional information of the object module, the corresponding point cloud model of the object module is obtained;
According to the attribute information of the object module, the point cloud model is rendered respectively, the wash with watercolours after obtaining multiple renderings Contaminate model;
Multiple rending models are shown respectively according to corresponding display area.
2. the method according to claim 1, wherein the three-dimensional information according to the object module, obtains After the step of object module corresponding point cloud model, the method also includes:
Obtain vertex and the vertex information of the point cloud model;
According to preset rules, the point cloud model is carried out to subtract surface treatment according to the vertex and vertex information, is obtained after subtracting face Point cloud model.
3. according to the method described in claim 2, it is characterized in that, according to the attribute information of the object module, respectively to institute It states point cloud model to be rendered, the step of rending model after obtaining multiple renderings, comprising:
According at least one of the material of the object module, index of refraction and reflecting rate, respectively to subtracting the point Yun Mo behind face Type is rendered, the object module after obtaining multiple renderings.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The 3-D image of the object module after obtaining rendering;
Sampled pixel is determined according to the 3-D image, and the object module is carried out at antialiasing according to the sampled pixel Reason.
5. method according to claim 1 or 2, which is characterized in that the method also includes:
The operational order for receiving user carries out secondary rendering to the object module, and the operational order includes demonstration texture, face Colour change and at least one of appear dust.
6. according to the method described in claim 5, it is characterized in that, when the operational order be demonstration texture when, to the point The step of cloud model is rendered, comprising:
Obtain the apex coordinate of the point cloud model;
According to the apex coordinate of preset vertex transformation rule and the point cloud model, transformed representative points coordinate is obtained, It obtains the demonstration texture operation and instructs corresponding object module.
7. according to the method described in claim 5, it is characterized in that, when the operational order be colour switching when, to the point The step of cloud model is rendered, comprising:
Obtain the vertex color of the point cloud model;
According to the vertex color of preset vertex color transformation rule and the point cloud model, transformed representative points face is obtained Color obtains the color change operation and instructs corresponding object module.
8. according to the method described in claim 5, it is characterized in that, when the operational order be appear dust when, to the point The step of cloud model is rendered, comprising:
Obtain apex coordinate, vertex quantity and the triangular facet quantity of the point cloud model;
Appear dust transformation rule, the apex coordinate of the point cloud model, vertex quantity and triangular facet quantity according to preset, obtains Transformed representative points coordinate, vertex quantity and target triangular facet quantity are taken, the dust operational order that appears is obtained and corresponds to Object module.
9. a kind of model display system, which is characterized in that it is applied to distributed server, the system comprises: synchronous load mould Block, point cloud variation module, rendering module and display module;
The synchronous loading module, for the synchronous data information for loading multiple object modules, wherein the data information includes The three-dimensional information and attribute information of the object module;
Described cloud variation module obtains the corresponding point of the object module for the three-dimensional information according to the object module Cloud model;
The rendering module respectively renders the point cloud model, obtains for the attribute information according to the object module Rending model to after multiple renderings;
The display module, for being shown multiple rending models respectively according to corresponding display area.
10. a kind of electronic equipment, including memory, processor, it is stored with and can runs on the processor in the memory Computer program, which is characterized in that the processor realizes the claims 1 to 8 when executing the computer program The step of method described in one.
CN201910242404.4A 2019-03-27 2019-03-27 Model display method, system and electronic equipment Pending CN109949413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910242404.4A CN109949413A (en) 2019-03-27 2019-03-27 Model display method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910242404.4A CN109949413A (en) 2019-03-27 2019-03-27 Model display method, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN109949413A true CN109949413A (en) 2019-06-28

Family

ID=67012031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910242404.4A Pending CN109949413A (en) 2019-03-27 2019-03-27 Model display method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN109949413A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063032A (en) * 2019-12-26 2020-04-24 北京像素软件科技股份有限公司 Model rendering method and system and electronic device
CN111617480A (en) * 2020-06-04 2020-09-04 珠海金山网络游戏科技有限公司 Point cloud rendering method and device
CN112802183A (en) * 2021-01-20 2021-05-14 深圳市日出印像数字科技有限公司 Method and device for reconstructing three-dimensional virtual scene and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281345A (en) * 2013-02-16 2013-09-04 赞奇科技发展有限公司 Three-dimensional digital model real-time rendering realizing method and cloud service system based on cloud computing architecture
CN108074210A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object acquisition system and method rendered for cloud
CN108320330A (en) * 2018-01-23 2018-07-24 河北中科恒运软件科技股份有限公司 Real-time three-dimensional model reconstruction method and system based on deep video stream
CN109118582A (en) * 2018-09-19 2019-01-01 东北大学 A kind of commodity three-dimensional reconstruction system and method for reconstructing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281345A (en) * 2013-02-16 2013-09-04 赞奇科技发展有限公司 Three-dimensional digital model real-time rendering realizing method and cloud service system based on cloud computing architecture
CN108074210A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object acquisition system and method rendered for cloud
CN108320330A (en) * 2018-01-23 2018-07-24 河北中科恒运软件科技股份有限公司 Real-time three-dimensional model reconstruction method and system based on deep video stream
CN109118582A (en) * 2018-09-19 2019-01-01 东北大学 A kind of commodity three-dimensional reconstruction system and method for reconstructing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴晓瑜: "基于云计算的分布式视频渲染服务平台", 《网络技术》, pages 169 - 53 *
孙启善等著: "《3DS MAX、VRAY室内效果图完美空间表现》", 天津科学技术出版社, pages: 106 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063032A (en) * 2019-12-26 2020-04-24 北京像素软件科技股份有限公司 Model rendering method and system and electronic device
CN111063032B (en) * 2019-12-26 2024-02-23 北京像素软件科技股份有限公司 Model rendering method, system and electronic device
CN111617480A (en) * 2020-06-04 2020-09-04 珠海金山网络游戏科技有限公司 Point cloud rendering method and device
CN112802183A (en) * 2021-01-20 2021-05-14 深圳市日出印像数字科技有限公司 Method and device for reconstructing three-dimensional virtual scene and electronic equipment

Similar Documents

Publication Publication Date Title
EP2705501B1 (en) Texturing in graphics hardware
CN112933599B (en) Three-dimensional model rendering method, device, equipment and storage medium
US20230120253A1 (en) Method and apparatus for generating virtual character, electronic device and readable storage medium
CN109427088A (en) A kind of rendering method and terminal of illumination simulation
CN108351864A (en) At recessed geometry Mi Pu
CN106910236A (en) Rendering indication method and device in a kind of three-dimensional virtual environment
CN101021952A (en) Method and apparatus for realizing three-dimensional video special efficiency
CN109771951A (en) Method, apparatus, storage medium and the electronic equipment that map generates
US20230230311A1 (en) Rendering Method and Apparatus, and Device
CN109949413A (en) Model display method, system and electronic equipment
US20130120386A1 (en) Systems and Methods for Simulating the Effects of Liquids on a Camera Lens
CN111445563A (en) Image generation method and related device
CN103426199A (en) Low-noise real-time global illumination drawing method for three-dimensional geometric scene
CN116958344A (en) Animation generation method and device for virtual image, computer equipment and storage medium
KR102713170B1 (en) Geometry-aware augmented reality effects using real-time depth maps
CN117788689A (en) Interactive virtual cloud exhibition hall construction method and system based on three-dimensional modeling
CN115082607B (en) Virtual character hair rendering method, device, electronic equipment and storage medium
CN108230430A (en) The processing method and processing device of cloud layer shade figure
CN109829963A (en) A kind of image drawing method and device calculate equipment and storage medium
CN109002185A (en) A kind of method, apparatus, equipment and the storage medium of three-dimensional animation processing
CN115311395A (en) Three-dimensional scene rendering method, device and equipment
Min et al. Soft shadow art
CN117252982A (en) Material attribute generation method and device for virtual three-dimensional model and storage medium
CN117974856A (en) Rendering method, computing device and computer-readable storage medium
CN116824043A (en) Method and system for generating training scene

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628

RJ01 Rejection of invention patent application after publication