CN109448137A - Exchange method, interactive device, electronic equipment and storage medium - Google Patents
Exchange method, interactive device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109448137A CN109448137A CN201811235940.3A CN201811235940A CN109448137A CN 109448137 A CN109448137 A CN 109448137A CN 201811235940 A CN201811235940 A CN 201811235940A CN 109448137 A CN109448137 A CN 109448137A
- Authority
- CN
- China
- Prior art keywords
- interaction
- single channel
- interaction models
- coordinate
- models
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/04—Texture mapping
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Architecture (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment provides a kind of exchange method and device, electronic equipment, storage mediums, are related to computer graphics techniques field.This method comprises: obtaining the interaction locations of the interactive operation as unit of frame in response to the interactive operation on interaction models;According to the interaction locations, the texture coordinate of the corresponding local coordinate point on the interaction models is obtained;Texture coordinate based on the local coordinate point modifies the color of corresponding position on the single channel height textures of the interaction models, to generate corresponding interaction track on the single channel height textures of the interaction models;According to the single channel height textures for generating the interactive track, corresponding normal map is obtained, interaction results of the interactive operation on the interaction models are presented.The technical solution of the embodiment of the present invention can improve the sense of reality of three-dimensional scenic according to user's interaction real time modifying model resource.
Description
Technical field
The present invention relates to computer graphics techniques fields, in particular to a kind of exchange method, interactive device, electricity
Sub- equipment and computer readable storage medium.
Background technique
With the development of internet technology, dimensional Modeling Technology is widely used in game modeling, film making, building are set
The multiple fields such as meter.In order to make user possess better experience in three-dimensional scenic, need user that can interact with model.
Currently, object of the user by way of clicking and in three-dimensional scenic interacts, in general, when interacting pair
The processing that model carries out is only limitted to the material parameters of modification model itself, some model is carried out entirety when such as choosing and is highlighted, or
Addition model silhouette light, model retouch side etc., and to carry out represented object selected.In this scheme, it is difficult to according to the interactive operation of user
Model is modified in real time, influence user is used interchangeably experience.
It should be noted that information is only used for reinforcing the reason to background of the present invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention be designed to provide a kind of exchange method, interactive device, electronic equipment and computer can
Storage medium is read, and then overcomes the limitation and defect due to the relevant technologies at least to a certain extent and leads to not according to user
Interactive operation model is modified in real time, influence the problem of being used interchangeably experience of user.
According to a first aspect of the embodiments of the present invention, a kind of exchange method is provided, comprising: in response on interaction models
Interactive operation obtains the interaction locations of the interactive operation as unit of frame;According to the interaction locations, obtain in the interaction
The texture coordinate of corresponding local coordinate point on model;Texture coordinate based on the local coordinate point modifies the interaction models
Single channel height textures on corresponding position color, it is corresponding to be generated on the single channel height textures of the interaction models
Interaction track;According to the single channel height textures for generating the interactive track, corresponding normal map is obtained, to present
State interaction results of the interactive operation on the interaction models.
In some example embodiments of the present invention, aforementioned schemes are based on, according to the interaction locations, are obtained in the friendship
The texture coordinate of corresponding local coordinate point on mutual model, comprising: the screen coordinate for obtaining the interaction locations determines the screen
Curtain coordinate corresponding ray in the world coordinate system of three-dimensional scenic;Determine the ray in the world coordinate system with it is described
The world coordinates of the intersection point of interaction models;Determine that the interaction locations are projected in the interaction according to the world coordinates of the intersection point
Local coordinate point on model;It is closed based on the local coordinate point with the mapping of the texture coordinate on corresponding triangle surface vertex
System, determines the texture coordinate of the local coordinate point.
In some example embodiments of the present invention, aforementioned schemes are based on, institute is determined according to the world coordinates of the intersection point
State the local coordinate point that interaction locations are projected on the interaction models, comprising: square is converted according to the world of the interaction models
Battle array, determines corresponding inverse matrix;World coordinates and the inverse matrix based on the intersection point, determine that the interaction locations are projected in
Local coordinate point on the interaction models.
In some example embodiments of the present invention, aforementioned schemes are based on, are based on the local coordinate point and corresponding three
The mapping relations of the texture coordinate on angular dough sheet vertex determine the texture coordinate of the local coordinate point, comprising: obtain with it is described
The local coordinate and texture coordinate on the corresponding triangle surface vertex of the world coordinates of intersection point;According to the triangle surface vertex
Local coordinate and texture coordinate determine transformation matrix;Based on the local coordinate on the transformation matrix and the interaction models
Point determines texture coordinate corresponding with the local coordinate point on the interaction models.
In some example embodiments of the present invention, the texture of the corresponding local coordinate point on the interaction models is obtained
Coordinate, the exchange method include: the texture coordinate of the local coordinate point saved as unit of frame.
In some example embodiments of the present invention, it is based on aforementioned schemes, the texture coordinate based on the local coordinate point
Modify the color of corresponding position on the single channel height textures of the interaction models, comprising: the line based on the local coordinate point
Reason coordinate determines the corresponding position on the single channel height textures of the interaction models by the way of tape symbol distance field;Modification
The color of respective pixel on the corresponding position.
In some example embodiments of the present invention, aforementioned schemes are based on, the interaction is determined using tape symbol distance field
Corresponding position on the single channel height textures of model, comprising: by the way of tape symbol distance field and axis aligned bounding box
Determine the corresponding position on the single channel height textures of the interaction models.
In some example embodiments of the present invention, aforementioned schemes are based on, in the single channel height of the interaction models
Corresponding interaction track is generated on textures, comprising: the texture coordinate based on the local coordinate point is existed using Bresenham mode
Corresponding interactive track is generated on the single channel height textures of the interaction models.
In some example embodiments of the present invention, aforementioned schemes are based on, according to the list for generating the interactive track
Channel height textures obtain corresponding normal map, interaction results of the interactive operation on the interaction models are presented,
It include: that the single channel height textures are converted into corresponding normal map using Sobel operator;Based on the normal map,
The interaction models are drawn using the rendering pipeline based on physics, the interactive operation is presented in the interaction models
On interaction results.
In some example embodiments of the present invention, it is based on aforementioned schemes, the exchange method further include: in response to described
The series data of the stored texture coordinate is serialized and uploads to server-side by the end of interactive operation.
In some example embodiments of the present invention, it is based on aforementioned schemes, the exchange method further include: in response to cleaning
The single channel height textures are reverted to original single channel height textures by the operation of all interactive tracks again.
According to a second aspect of the embodiments of the present invention, a kind of interactive device is provided, comprising: acquiring unit, for responding
In the interactive operation on interaction models, the interaction locations of the interactive operation are obtained as unit of frame;Texture coordinate acquiring unit,
For obtaining the texture coordinate of the corresponding local coordinate point on the interaction models according to the interaction locations;Unit is modified,
Corresponding position on the single channel height textures of the interaction models is modified for the texture coordinate based on the local coordinate point
Color, to generate corresponding interaction track on the single channel height textures of the interaction models;Display unit, for according to life
At the single channel height textures of the interactive track, corresponding normal map is obtained, the interactive operation is presented in institute
State the interaction results on interaction models.
According to the third aspect of the invention we, a kind of electronic equipment is provided, comprising: processor;And memory, the storage
It is stored with computer-readable instruction on device, is realized when the computer-readable instruction is executed by the processor according to above-mentioned any
Exchange method described in one.
According to the fourth aspect of the invention, a kind of computer readable storage medium is provided, computer program is stored thereon with,
The exchange method according to above-mentioned any one is realized when the computer program is executed by processor.
Exchange method in an exemplary embodiment of the invention is single with frame when detecting that user interacts operation
Position obtains the interaction locations of the interactive operation on the screen and is projected in the point of the local coordinate on interaction models;According to the part of acquisition
The mapping relations of the texture coordinate on coordinate points and its corresponding triangle surface vertex determine the texture coordinate of local coordinate point;
According to former frame, the generation on the single channel height textures of interaction models is corresponding with the texture coordinate of the local coordinate of present frame point
Interaction track;Modified single channel height textures are calculated and generate normal map, interactive operation is shown according to normal map
Interaction results on interaction models.On the one hand, the part that interactive operation acts on interaction models is obtained as unit of frame to sit
Punctuate can obtain position of the interactive operation of user on model in real time;On the other hand, based on present frame and previous frame
The texture coordinate of local coordinate point generates corresponding interactive track on the single channel height textures of interaction models, can be in real time
Recording interactive operates the interaction track on model;In another aspect, generating normal patch according to modified single channel height textures
Figure can be carried out real time modifying to model according to the interactive operation of user, be improved by the effect of normal map display interaction
The sense of reality of scene and user's is used interchangeably experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the schematic diagram of exchange method process according to some embodiments of the present invention;
Fig. 2 diagrammatically illustrates the schematic diagram of Bresenham line drawing method principle according to some embodiments of the present invention;
Fig. 3 diagrammatically illustrates the schematic diagram of the principle of tape symbol distance field according to some embodiments of the present invention;
Fig. 4 diagrammatically illustrates the schematic diagram of the principle of axis aligned bounding box according to some embodiments of the present invention;
Fig. 5 diagrammatically illustrates the power that Sobel warp factor according to some embodiments of the present invention calculates pixel color
The schematic diagram indicated again;
Fig. 6 diagrammatically illustrates the schematic diagram using normal map model according to some embodiments of the present invention;
Fig. 7 diagrammatically illustrates the single channel height textures that the interaction of user according to some embodiments of the present invention generates
Schematic diagram;
Fig. 8 diagrammatically illustrates use Sobel operator according to some embodiments of the present invention for single channel height textures
Be converted to the schematic diagram of normal map;
Fig. 9 diagrammatically illustrates according to some embodiments of the present invention the normal map being calculated and model is original
The schematic diagram of normal map superposition;
Figure 10 diagrammatically illustrates addition model other textures according to some embodiments of the present invention and carries out based on physics
Rendering calculate final mask draw effect schematic diagram;
Figure 11 diagrammatically illustrates the schematic diagram that the present invention according to some embodiments of the present invention is applied to three-dimensional scenic;
Figure 12 diagrammatically illustrates the schematic diagram of interactive device according to some embodiments of the present invention;
The structure that Figure 13 diagrammatically illustrates the computer system of electronic equipment according to some embodiments of the present invention is shown
It is intended to;
Figure 14 diagrammatically illustrates the schematic diagram of computer readable storage medium according to some embodiments of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the present invention will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
In the present example embodiment, a kind of exchange method is provided firstly, Fig. 1 diagrammatically illustrates according to the present invention
The schematic diagram of the exchange method process of some embodiments.With reference to shown in Fig. 1, which be may comprise steps of:
Step S110 obtains the interaction of the interactive operation in response to the interactive operation on interaction models as unit of frame
Position;
Step S120, according to the interaction locations, the texture for obtaining the corresponding local coordinate on the interaction models is sat
Mark;
Step S130, the texture coordinate based on the local coordinate point modify the single channel height textures of the interaction models
The color of upper corresponding position, to generate corresponding interaction track on the single channel height textures of the interaction models;
Step S140 obtains corresponding normal map according to the single channel height textures for generating the interactive track,
Interaction results of the interactive operation on the interaction models are presented.
Exchange method according to the present exemplary embodiment, on the one hand, obtain interactive operation as unit of frame and act on friendship
Local coordinate point on mutual model, can obtain position of the user interactive operation on model in real time;On the other hand, based on working as
Previous frame generates corresponding interaction on the single channel height textures of interaction models with the texture coordinate of the local coordinate of previous frame point
Track can operate the interaction track on model by recording interactive in real time;In another aspect, according to modified single channel height
Textures generate normal map, by the effect of normal map display interaction, can be carried out according to the interactive operation of user to model
Real time modifying, the sense of reality and user for improving scene are used interchangeably experience.
In the following, by the exchange method in the present exemplary embodiment is further detailed.
In step s 110, in response to the interactive operation on interaction models, the interactive operation is obtained as unit of frame
Interaction locations.
In a kind of example embodiment of the invention, when detecting that user interacts operation, the interactive operation is detected
Interaction locations on the screen, such as when user carries out drag operation using finger, the dragging track of finger on the screen is
For the interaction locations of user on the screen, the information of the interaction locations is obtained as unit of frame, and is determined according to the interaction locations
It is projected in the point of the local coordinate on interaction models.
In a kind of example embodiment of the invention, the interaction locations pair are determined according to the interaction locations of user on the screen
The screen coordinate answered, the screen coordinate be using the screen of terminal device as the pre-set coordinate of the plane for having boundary, according to
Determining interaction locations of screen coordinate calculating of interaction locations corresponding ray in the world coordinates in three-dimensional scenic.By penetrating
Line detects (Raycast), obtains in world coordinates first and intersects with the model of ray intersection and ray with model surface
Intersection point, and obtain the information of the corresponding triangle surface of intersection point place local coordinate and the world coordinates P of intersection pointworld, should
Triangle surface refers to the face that irregularity body Model is constituted in 3 d modeling software, i.e. irregularity body Model is by a large amount of
What triangle surface connected and composed.
Further, it is contemplated that calculate the world transformation matrix M of interaction modelsworld, according to world's transformation matrix of model
Mworld, calculate corresponding inverse matrix Minverse, according to world transformation matrix MworldAnd inverse matrix Minverse, calculate the generation of intersection point
Boundary coordinate PworldIn the local coordinate point P of modellocal, calculated relationship such as formula (1):
Plocal=Pworld×Minverse (1)
Wherein, PlocalFor the local coordinate on model corresponding with the world coordinates of ray and the intersection point of model, PworldFor
The world coordinates for the intersection point that ray intersects with model, MinverseFor the world transformation matrices M of modelworldInverse matrix.
In the step s 120, according to the interaction locations, the corresponding local coordinate point on the interaction models is obtained
Texture coordinate.
In a kind of example embodiment of the invention, intersecting triangles dough sheet top corresponding with the world coordinates of intersection point is obtained
The local coordinate and texture coordinate (UV coordinate) information of point are calculated according to the local coordinate on triangle surface vertex and texture coordinate
Transformation matrix MUV, it is based on transformation matrix MUVWith the local coordinate point on interaction models, calculate and the local coordinate on interaction models
The corresponding texture coordinate P of pointUV, calculated relationship such as following formula (2):
PUV=MUV×Plocal (2)
Wherein, PUVFor the corresponding texture coordinate of local coordinate point of interaction models, MUVFor transformation matrix of coordinates, PlocalFor
For the coordinate of the local coordinate point of interaction models.
In step s 130, the texture coordinate based on the local coordinate point modifies the single channel height of the interaction models
The color of corresponding position on textures, to generate corresponding interaction track on the single channel height textures of the interaction models.
In a kind of example embodiment of the invention, it is single that a white is initialized for the material channel of the interaction models in advance
The height of the single channel height textures is normalized to 0-1 herein by channel height textures (Heightmap), wherein 1 represent it is white
Color, 0 represents black, and white single channel height textures indicate that full figure is highest point, can only be carved to interior of articles when interactive
I.e. recessed, black single channel height textures indicate that full figure is minimum point, and when interaction can only be i.e. convex to being carved outside object.
According to the method for calculating the corresponding texture coordinate of local coordinate point in step S120, present frame texture coordinate P is calculatedUV1, and obtain
The texture coordinate P of previous frameUV2, according to the texture coordinate P of acquisitionUV1And PUV2Line segment is drawn on single channel height textures
(PUV1, PUV2)。
In a kind of example embodiment of the invention, sat according to the texture of present frame and the local coordinate point of previous frame
Mark generates corresponding interactive track on the single channel height textures of interaction models using Bresenham line drawing method.It should
Bresenham line drawing method is a kind of accurate effective grid stroke generating algorithm proposed by Bresenham, which is used only
Increment integer calculations, such as refering to what is shown in Fig. 2, adjust the value of y according to slope within the scope of the traversal of x, do not need floating-point meter
It calculates, but the lines sawtooth that this method generates is more.
In another example embodiment of the invention, according to the local coordinate of the local coordinate of present frame and previous frame point
The texture coordinate of point determines interaction models using tape symbol distance field (Signed distance function, SDF) mode
Single channel height textures on interaction area, by change interaction area on respective pixel color to generate corresponding interaction
Track, such as the corresponding region of texture coordinate is changed to black.By using tape symbol distance field, it is able to use the interaction rail at family
Mark is smoother.
Refering to what is shown in Fig. 3, in the circle of Fig. 3 left figure, the SDF value of each location of pixels is represented by taking a round SDF as an example
To the distance on this boundary of circle, the internal SDF value of circle is negative, justify outside SDF value be positive.Right figure shows the circle in Fig. 3
Distribution of the symbolic distance field in 2D, be even transition on circular boundary, enable to single channel height textures i.e.
Heightmap setting-out is smoother, has the function of antialiasing.
Further, it can be combined with SDF and line segment (PUV1, PUV2) axis aligned bounding box (Axis Aligned
Bounding Box, AABB) mode come with CPU simulate GPU rasterisation when super-sampling (SuperSampling) process, really
The interaction area on the single channel height textures of interaction models is determined, by the color of respective pixel in change interaction area to generate
Corresponding interactive track.By way of axis aligned bounding box, it is only necessary to update on single channel height textures texture inside AABB
Pixel color improve the computational efficiency of system so as to reduce the pixel calculation amount of every frame.
Refering to what is shown in Fig. 4, user's interaction track is movably apart from past due to such as 0.033s within the time of each frame
Toward shorter, it is assumed that user's interaction locations by a to b, then only needing to update the pixel on Heightmap texture inside AABB
Color can terminate the calculating of the frame, compared with the re-computation of entire texture, it is possible to reduce a large amount of to calculate.
In step S140, according to the single channel height textures for generating the interactive track, corresponding normal is obtained
Textures, interaction results of the interactive operation on the interaction models are presented.
In a kind of example embodiment of the invention, use Sobel operator (Sobel operator) by basis in GPU
Single channel height textures after the interaction locations change of user are converted to corresponding normal map, which is mainly used for
Edge detection is a kind of discreteness difference operator, for the gray approximation of operation brightness of image function.Using Sobel volumes
The product factor needs to sample the color of nine pixels around the location of pixels when calculating the color of each pixel, and weight indicates
Refering to what is shown in Fig. 5, shown in detailed calculation formula such as formula (3), formula (4):
Gx=(- 1) × f (x-1, y-1)+0*f (x, y-1)+1*f (x+1, y-1)
+(-2)*f(x-1,y)+0*f(x,y)+2*f(x+1,y)
+(-1)*f(x-1,y+1)+0*f(x,y+1)+1*f(x+1,y+1)
=[f (x+1, y-1)+2*f (x+1, y)+f (x+1, y+1)]-[f (x-1, y-1)+2*f (x-1, y)+f (x-1, y+
1)] (3)
Gy=1 × f (x-1, y-1)+2*f (x, y-1)+1*f (x+1, y-1)
+0*f(x-1,y)+0*f(x,y)+0*f(x+1,y)
+(-1)*f(x-1,y+1)+(-2)*f(x,y+1)+(-1)*f(x+1,y+1)
=[f (x+1, y-1)+2*f (x, y-1)+f (x+1, y-1)]-[f (x-1, y+1)+2*f (x, y+1)+f (x+1, y+
1)] (4)
Wherein, the color of the single channel height textures of f (x, y) expression (x, y) point, and Gx, GyThen expression is calculated
The color value of normal map at (x, y).According to the normal map being calculated, original PBR (Physically is used
Based Rendering, the rendering based on physics) pipeline draws interaction models, to show interactive operation in interaction mould
Interaction results in type.Such as refering to what is shown in Fig. 6, Fig. 6 diagrammatically illustrates application method according to some embodiments of the present invention
The schematic diagram of line textures model, it can be observed that the modification by normal map, the concave-convex sense of model surface is closer to existing
It is real, improve the sense of reality of model.
It should be noted that above-mentioned steps a part of can execute in CPU, a part executes in GPU, can also be complete
Portion executes in GPU, and the present invention is to this without particular determination.
Refering to what is shown in Fig. 7, Fig. 7 is the signal after being modified according to the interaction track of user to single channel height textures
Figure;Refering to what is shown in Fig. 8, being that the single channel height textures according to user's interaction track change for obtaining Fig. 7 pass through in Fig. 8
Sobel operator is converted into normal map;Refering to what is shown in Fig. 9, Fig. 9 is that the normal map that Fig. 8 is calculated and model are original
What normal map was overlapped;Refering to what is shown in Fig. 10, other patches of model are added to the normal map of the obtained superposition of Fig. 9
Legend such as color map (AlbedoMap) and mixing textures (MixMap) then carry out PBR and Figure 10 are calculated, and Figure 10 is most
Whole modeling rendering effect;With reference to shown in Figure 11, Figure 11 is that example embodiments of the present invention is applied to three-dimensional scenic, with three-dimensional
The effect diagram that " sand ground " in scene interacts.
Further, it in a kind of example embodiment of the invention, when detecting user's stopping drag operation, that is, does not need
When carrying out texture modification again, at this time by the series data of obtained texture coordinate such as (PUV1, PUV2, PUV3...) carry out sequence
Change and upload to server-side or local is stored in document form, the interaction results of user are saved, so that in next time
Still it can be seen that the interaction results of last time when into scene.
Compared with the preservation to whole image, the method that example embodiments of the present invention uses track to save, the rail of preservation
Mark is that the primary user of every frame recording drags track, for example, the form of the track be [<0.1,0.2><0.3,0.2><0.4,0.3
>...<-1, -1>], have recorded the texture coordinate<X of each point on the diagram, Y>position, X, the range of Y all can be 0 to 1,<-
1, -1 > expression one terminates.This method can save more complicated interaction results with less memory source, can accomplish
Whole storage is synchronous with effect.Such as the textures for 512*512,99% or more sky can be saved in the method that track saves
Between occupy.
In addition, in a kind of example embodiment of the invention, in the behaviour for detecting all interactive tracks of user's execution cleaning
When instructing, original white single channel height will be reverted to again according to single channel height textures after user's interaction track change
Textures restore the region according to user's interaction trajectory modification even the height of the single channel height textures full figure reverts to 1.
Further, the white single channel height textures initialized in above-mentioned steps, user's interaction of completion is for example to carve
Carve or interaction that sand ground, which is drawn a picture etc., makes model surface be recessed based on.Make model surface raised if necessary, then needs precomputation raw
At the single channel height textures of black, when interacting, white will be changed at the corresponding texture coordinate in user's interaction track.
It should be noted that although describing each step of method in the present invention in the accompanying drawings with particular order,
This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole
Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps
Row, and/or a step is decomposed into execution of multiple steps etc..
In addition, in this exemplary embodiment, additionally providing a kind of interactive device.Referring to Fig.1 shown in 2, the interactive device packet
It includes: acquiring unit 1210, texture coordinate acquiring unit 1220, modification unit 1230 and display unit 1240.Wherein: obtaining single
Member 1210 as unit of frame for obtaining the interaction locations of the interactive operation in response to the interactive operation on interaction models;Line
Coordinate acquiring unit 1220 is managed to be used to obtain the corresponding local coordinate point on the interaction models according to the interaction locations
Texture coordinate;Modification unit 1230 modifies the single channel of the interaction models for the texture coordinate based on the local coordinate point
The color of corresponding position on height textures, to generate corresponding interaction rail on the single channel height textures of the interaction models
Mark;Display unit 1240 is used to obtain corresponding normal patch according to the single channel height textures for generating the interactive track
Figure, interaction results of the interactive operation on the interaction models are presented.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, texture coordinate acquiring unit 1220 includes: screen
Curtain coordinate acquiring unit determines the screen coordinate in the generation of three-dimensional scenic for obtaining the screen coordinate of the interaction locations
Corresponding ray in boundary's coordinate system;World coordinates determination unit, for determine the ray in the world coordinate system with institute
State the world coordinates of the intersection point of interaction models;Local coordinate point determination unit, for being determined according to the world coordinates of the intersection point
The interaction locations are projected in the local coordinate point on the interaction models;Texture coordinate determination unit, for being based on the office
The mapping relations of portion's coordinate points and the texture coordinate on corresponding triangle surface vertex determine that the texture of the local coordinate point is sat
Mark.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, local coordinate point determination unit is configured as:
According to world's transformation matrix of the interaction models, corresponding inverse matrix is determined;World coordinates based on the intersection point and described
Inverse matrix determines the local coordinate point that the interaction locations are projected on the interaction models.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, texture coordinate determination unit is configured as: being obtained
Take the local coordinate and texture coordinate on intersecting triangles dough sheet vertex corresponding with the world coordinates of the intersection point;According to described three
The local coordinate and texture coordinate on angular dough sheet vertex determine transformation matrix;Based on the transformation matrix and the interaction models
Local coordinate point, determine corresponding with the local coordinate point on interaction models texture coordinate.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, modification unit 1230 includes: that interaction area is true
Order member, for determining the interaction models by the way of tape symbol distance field based on the texture coordinate of the local coordinate point
Single channel height textures on corresponding position;Changing unit, for modifying the color of respective pixel on the corresponding position.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, interaction area determination unit is configured as: being adopted
The interaction on the single channel height textures of the interaction models is determined with the mode of tape symbol distance field and axis aligned bounding box
Region.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, modification unit 1230 is configured as: based on institute
The texture coordinate of local coordinate point is stated to generate on the single channel height textures of the interaction models pair using Bresenham mode
The interaction track answered.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, display unit 1240 is configured as: used
The single channel height textures are converted to corresponding normal map by Sobel operator;Based on the normal map, using based on object
The rendering pipeline of reason draws the interaction models, to show interaction knot of the interactive operation on the interaction models
Fruit.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, the interactive device is configured as: in response to
The series data of the stored texture coordinate is serialized and uploads to server-side by the end of the interactive operation.
In a kind of exemplary embodiment of the invention, aforementioned schemes are based on, the interactive device is configured as: in response to
The single channel height textures are reverted to original single channel height textures by the operation for clearing up all interactive tracks again.
The detail of each module of interactive device is described in detail in corresponding exchange method among the above,
Therefore details are not described herein again.
It should be noted that although being referred to several modules or unit of interactive device in the above detailed description, this
Kind divides not enforceable.In fact, embodiment according to the present invention, two or more above-described modules or list
The feature and function of member can embody in a module or unit.Conversely, an above-described module or unit
Feature and function can with further division be embodied by multiple modules or unit.
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of electronics that can be realized above-mentioned exchange method
Equipment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, completely
Software implementation (including firmware, microcode etc.) or hardware and software in terms of combine embodiment, may be collectively referred to as here
Circuit, " module " or " system ".
The electronic equipment 1300 of this embodiment according to the present invention is described referring to Figure 13.Electronics shown in Figure 13
Equipment 1300 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 13, electronic equipment 1300 is showed in the form of universal computing device.The component of electronic equipment 1300 can
To include but is not limited to: at least one above-mentioned processing unit 1310, connects not homologous ray at least one above-mentioned storage unit 1320
The bus 1330 of component (including storage unit 1320 and processing unit 1310), display unit 1340.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1310
Row, so that various according to the present invention described in the execution of the processing unit 1310 above-mentioned " illustrative methods " part of this specification
The step of exemplary embodiment.For example, the processing unit 1310 can execute step S110 as shown in fig. 1, in response to
Interactive operation on interaction models obtains the interaction locations of the interactive operation as unit of frame;Step S120, according to the friendship
Mutual position obtains the texture coordinate of the corresponding local coordinate point on the interaction models;Step S130 is sat based on the part
The texture coordinate of punctuate modifies the color of corresponding position on the single channel height textures of the interaction models, in the interactive mould
Corresponding interaction track is generated on the single channel height textures of type;Step S140, according to the list for generating the interactive track
Channel height textures obtain corresponding normal map, interaction results of the interactive operation on the interaction models are presented.
Storage unit 1320 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 1321 and/or cache memory unit 1322, it can further include read-only memory unit (ROM) 1323.
Storage unit 1320 can also include program/utility with one group of (at least one) program module 1325
1324, such program module 1325 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1330 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 1300 can also be with one or more external equipments 1370 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1300 communicate, and/or with make
The electronic equipment 1300 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation
Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1350.Also, electronic equipment 1300
Network adapter 1360 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through
Common network network, such as internet) communication.As shown, network adapter 1360 passes through its of bus 1330 and electronic equipment 1300
The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1300
Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic
Tape drive and data backup storage system etc..
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, terminal installation or network equipment etc.) it executes according to the page switching of the embodiment of the present disclosure
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium 1400 is additionally provided, is stored thereon
There is the program product that can be realized this specification above method.In some possible embodiments, various aspects of the invention are also
It can be implemented as a kind of form of program product comprising program code, when described program product is run on the terminal device,
Said program code is for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this
The step of inventing various exemplary embodiments.
With reference to shown in Figure 14, the program product for realizing above-mentioned exchange method of embodiment according to the present invention is described
1400, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, touch control terminal or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (14)
1. a kind of exchange method characterized by comprising
In response to the interactive operation on interaction models, the interaction locations of the interactive operation are obtained as unit of frame;
According to the interaction locations, the texture coordinate of the corresponding local coordinate point on the interaction models is obtained;
Texture coordinate based on the local coordinate point modifies corresponding position on the single channel height textures of the interaction models
Color, to generate corresponding interaction track on the single channel height textures of the interaction models;
According to the single channel height textures for generating the interactive track, corresponding normal map is obtained, the friendship is presented
Interoperate the interaction results on the interaction models.
2. exchange method according to claim 1, which is characterized in that according to the interaction locations, obtain in the interaction
The texture coordinate of corresponding local coordinate point on model, comprising:
The screen coordinate for obtaining the interaction locations determines that the screen coordinate is corresponding in the world coordinate system of three-dimensional scenic
Ray;
Determine world coordinates of the ray in the world coordinate system with the intersection point of the interaction models;
The local coordinate point that the interaction locations are projected on the interaction models is determined according to the world coordinates of the intersection point;
Based on the mapping relations of the local coordinate point and the texture coordinate on corresponding triangle surface vertex, the part is determined
The texture coordinate of coordinate points.
3. exchange method according to claim 2, which is characterized in that determine the friendship according to the world coordinates of the intersection point
Mutual position is projected in the local coordinate point on the interaction models, comprising:
According to world's transformation matrix of the interaction models, corresponding inverse matrix is determined;
World coordinates and the inverse matrix based on the intersection point, determine that the interaction locations are projected on the interaction models
Local coordinate point.
4. exchange method according to claim 2, which is characterized in that based on the local coordinate point and corresponding triangle
The mapping relations of the texture coordinate on dough sheet vertex determine the texture coordinate of the local coordinate point, comprising:
Obtain the local coordinate and texture coordinate on triangle surface corresponding with the world coordinates of intersection point vertex;
Transformation matrix is determined according to the local coordinate on the triangle surface vertex and texture coordinate;
Based on the local coordinate point on the transformation matrix and the interaction models, the determining part on the interaction models is sat
The corresponding texture coordinate of punctuate.
5. exchange method according to claim 1, which is characterized in that obtain the corresponding part on the interaction models and sit
The texture coordinate of punctuate, the exchange method include:
The texture coordinate of the local coordinate point saved as unit of frame.
6. exchange method according to claim 1, which is characterized in that the texture coordinate modification based on the local coordinate point
The color of corresponding position on the single channel height textures of the interaction models, comprising:
The single-pass of the interaction models is determined by the way of tape symbol distance field based on the texture coordinate of the local coordinate point
Corresponding position on road height textures;
Modify the color of respective pixel on the corresponding position.
7. exchange method according to claim 6, which is characterized in that determine the interaction models using tape symbol distance field
Single channel height textures on corresponding position, comprising:
It is determined by the way of tape symbol distance field and axis aligned bounding box on the single channel height textures of the interaction models
Corresponding position.
8. exchange method according to claim 1, which is characterized in that in the single channel height textures of the interaction models
The upper corresponding interaction track of generation, comprising:
Single channel height of the texture coordinate based on the local coordinate point using Bresenham mode in the interaction models is pasted
Corresponding interactive track is generated on figure.
9. exchange method according to claim 1, which is characterized in that according to the single channel for generating the interactive track
Height textures obtain corresponding normal map, interaction results of the interactive operation on the interaction models are presented, packet
It includes:
The single channel height textures are converted into corresponding normal map using Sobel operator;
Based on the normal map, the interaction models are drawn using the rendering pipeline based on physics, described in presenting
Interaction results of the interactive operation on the interaction models.
10. exchange method according to claim 1, which is characterized in that the exchange method further include:
In response to the end of the interactive operation, the series data of the stored texture coordinate is serialized and uploaded
To server-side.
11. exchange method according to claim 1, which is characterized in that the exchange method further include:
In response to clearing up the operation of all interactive tracks, it is high that the single channel height textures are reverted into original single channel again
Spend textures.
12. a kind of interactive device, comprising:
Acquiring unit, for obtaining the interaction of the interactive operation as unit of frame in response to the interactive operation on interaction models
Position;
Texture coordinate acquiring unit, for obtaining the corresponding local coordinate on the interaction models according to the interaction locations
The texture coordinate of point;
Unit is modified, the single channel height textures of the interaction models are modified for the texture coordinate based on the local coordinate point
The color of upper corresponding position, to generate corresponding interaction track on the single channel height textures of the interaction models;
Display unit, for obtaining corresponding normal map according to the single channel height textures for generating the interactive track,
Interaction results of the interactive operation on the interaction models are presented.
13. a kind of electronic equipment, comprising:
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor
The exchange method as described in any one of claims 1 to 11 is realized when row.
14. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Exchange method of the Shi Shixian as described in any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811235940.3A CN109448137B (en) | 2018-10-23 | 2018-10-23 | Interaction method, interaction device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811235940.3A CN109448137B (en) | 2018-10-23 | 2018-10-23 | Interaction method, interaction device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109448137A true CN109448137A (en) | 2019-03-08 |
CN109448137B CN109448137B (en) | 2023-01-10 |
Family
ID=65547899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811235940.3A Active CN109448137B (en) | 2018-10-23 | 2018-10-23 | Interaction method, interaction device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109448137B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110196746A (en) * | 2019-05-30 | 2019-09-03 | 网易(杭州)网络有限公司 | Interactive interface rendering method and device, electronic equipment, storage medium |
CN111340598A (en) * | 2020-03-20 | 2020-06-26 | 北京爱笔科技有限公司 | Method and device for adding interactive label |
CN111787081A (en) * | 2020-06-21 | 2020-10-16 | 张伟 | Information processing method based on Internet of things interaction and intelligent communication and cloud computing platform |
CN112435312A (en) * | 2020-09-04 | 2021-03-02 | 上海哔哩哔哩科技有限公司 | Motion trajectory generation method and device, computer equipment and readable storage medium |
CN112435304A (en) * | 2020-07-20 | 2021-03-02 | 上海哔哩哔哩科技有限公司 | Water body interactive mapping method and system |
CN113064539A (en) * | 2021-03-04 | 2021-07-02 | 北京达佳互联信息技术有限公司 | Special effect control method and device, electronic equipment and storage medium |
CN114429518A (en) * | 2021-12-28 | 2022-05-03 | 清华大学 | Face model reconstruction method, device, equipment and storage medium |
CN115270032A (en) * | 2022-08-10 | 2022-11-01 | 上海图客科技有限公司 | WebGL-based dynamic high-definition character display method and system |
CN116152444A (en) * | 2023-04-04 | 2023-05-23 | 山东捷瑞信息技术产业研究院有限公司 | Automatic adsorption method, device and medium for three-dimensional scene model based on digital twin |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120194517A1 (en) * | 2011-01-31 | 2012-08-02 | Microsoft Corporation | Using a Three-Dimensional Environment Model in Gameplay |
CN106815881A (en) * | 2017-04-13 | 2017-06-09 | 腾讯科技(深圳)有限公司 | The color control method and device of a kind of actor model |
CN107103638A (en) * | 2017-05-27 | 2017-08-29 | 杭州万维镜像科技有限公司 | A kind of Fast rendering method of virtual scene and model |
CN108062784A (en) * | 2018-02-05 | 2018-05-22 | 深圳市易尚展示股份有限公司 | Threedimensional model texture mapping conversion method and device |
CN108564646A (en) * | 2018-03-28 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Rendering intent and device, storage medium, the electronic device of object |
-
2018
- 2018-10-23 CN CN201811235940.3A patent/CN109448137B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120194517A1 (en) * | 2011-01-31 | 2012-08-02 | Microsoft Corporation | Using a Three-Dimensional Environment Model in Gameplay |
CN106815881A (en) * | 2017-04-13 | 2017-06-09 | 腾讯科技(深圳)有限公司 | The color control method and device of a kind of actor model |
CN107103638A (en) * | 2017-05-27 | 2017-08-29 | 杭州万维镜像科技有限公司 | A kind of Fast rendering method of virtual scene and model |
CN108062784A (en) * | 2018-02-05 | 2018-05-22 | 深圳市易尚展示股份有限公司 | Threedimensional model texture mapping conversion method and device |
CN108564646A (en) * | 2018-03-28 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Rendering intent and device, storage medium, the electronic device of object |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110196746A (en) * | 2019-05-30 | 2019-09-03 | 网易(杭州)网络有限公司 | Interactive interface rendering method and device, electronic equipment, storage medium |
CN111340598A (en) * | 2020-03-20 | 2020-06-26 | 北京爱笔科技有限公司 | Method and device for adding interactive label |
CN111340598B (en) * | 2020-03-20 | 2024-01-16 | 北京爱笔科技有限公司 | Method and device for adding interactive labels |
CN111787081A (en) * | 2020-06-21 | 2020-10-16 | 张伟 | Information processing method based on Internet of things interaction and intelligent communication and cloud computing platform |
CN111787081B (en) * | 2020-06-21 | 2021-03-23 | 江苏永鼎通信有限公司 | Information processing method based on Internet of things interaction and intelligent communication and cloud computing platform |
CN112435304B (en) * | 2020-07-20 | 2023-03-14 | 上海哔哩哔哩科技有限公司 | Water body interactive mapping method and system |
CN112435304A (en) * | 2020-07-20 | 2021-03-02 | 上海哔哩哔哩科技有限公司 | Water body interactive mapping method and system |
CN112435312B (en) * | 2020-09-04 | 2023-04-11 | 上海哔哩哔哩科技有限公司 | Motion trajectory generation method and device, computer equipment and readable storage medium |
CN112435312A (en) * | 2020-09-04 | 2021-03-02 | 上海哔哩哔哩科技有限公司 | Motion trajectory generation method and device, computer equipment and readable storage medium |
CN113064539B (en) * | 2021-03-04 | 2022-07-29 | 北京达佳互联信息技术有限公司 | Special effect control method and device, electronic equipment and storage medium |
WO2022183723A1 (en) * | 2021-03-04 | 2022-09-09 | 北京达佳互联信息技术有限公司 | Method and apparatus for controlling special effect |
CN113064539A (en) * | 2021-03-04 | 2021-07-02 | 北京达佳互联信息技术有限公司 | Special effect control method and device, electronic equipment and storage medium |
CN114429518A (en) * | 2021-12-28 | 2022-05-03 | 清华大学 | Face model reconstruction method, device, equipment and storage medium |
CN114429518B (en) * | 2021-12-28 | 2024-07-23 | 清华大学 | Face model reconstruction method, device, equipment and storage medium |
CN115270032A (en) * | 2022-08-10 | 2022-11-01 | 上海图客科技有限公司 | WebGL-based dynamic high-definition character display method and system |
CN115270032B (en) * | 2022-08-10 | 2023-04-25 | 上海图客科技有限公司 | Dynamic high-definition text display method and system based on WebGL |
CN116152444A (en) * | 2023-04-04 | 2023-05-23 | 山东捷瑞信息技术产业研究院有限公司 | Automatic adsorption method, device and medium for three-dimensional scene model based on digital twin |
Also Published As
Publication number | Publication date |
---|---|
CN109448137B (en) | 2023-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109448137A (en) | Exchange method, interactive device, electronic equipment and storage medium | |
CN110196746B (en) | Interactive interface rendering method and device, electronic equipment and storage medium | |
CN105122311B (en) | For rendering the smooth superimposed layer of the vector data about complex three-dimensional object | |
CN102622776B (en) | three-dimensional environment reconstruction | |
CN106575445B (en) | Fur avatar animation | |
CN107358643A (en) | Image processing method, device, electronic equipment and storage medium | |
CN107393017A (en) | Image processing method, device, electronic equipment and storage medium | |
CN109903366A (en) | The rendering method and device of dummy model, storage medium and electronic equipment | |
CN107464286B (en) | Method, device, equipment and readable medium for repairing holes in three-dimensional city model | |
CN103700134A (en) | Three-dimensional vector model real-time shadow deferred shading method based on controllable texture baking | |
CN104407521A (en) | Method for realizing real-time simulation of underwater robot | |
US20200302579A1 (en) | Environment map generation and hole filling | |
US20200118253A1 (en) | Environment map generation and hole filling | |
US20190206109A1 (en) | Method, apparatus and device for generating live wallpaper and medium | |
CN116051713B (en) | Rendering method, electronic device, and computer-readable storage medium | |
CN109448123A (en) | The control method and device of model, storage medium, electronic equipment | |
CN111445563A (en) | Image generation method and related device | |
CN110400366B (en) | Real-time flood disaster visualization simulation method based on OpenGL | |
WO2014170757A2 (en) | 3d rendering for training computer vision recognition | |
CN114375464A (en) | Ray tracing dynamic cells in virtual space using bounding volume representations | |
Sandnes | Sketching 3D immersed experiences rapidly by hand through 2D cross sections | |
US20140306953A1 (en) | 3D Rendering for Training Computer Vision Recognition | |
CN114299209A (en) | Water surface rendering method and device, storage medium and computer equipment | |
CN117745915A (en) | Model rendering method, device, equipment and storage medium | |
CN110502305B (en) | Method and device for realizing dynamic interface and related equipment |
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 |