CN109045691A - A kind of the special efficacy implementation method and device of special efficacy object - Google Patents

A kind of the special efficacy implementation method and device of special efficacy object Download PDF

Info

Publication number
CN109045691A
CN109045691A CN201810753307.7A CN201810753307A CN109045691A CN 109045691 A CN109045691 A CN 109045691A CN 201810753307 A CN201810753307 A CN 201810753307A CN 109045691 A CN109045691 A CN 109045691A
Authority
CN
China
Prior art keywords
special efficacy
vertex
dough sheet
parameter
special
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
Application number
CN201810753307.7A
Other languages
Chinese (zh)
Other versions
CN109045691B (en
Inventor
曹伟刚
全俊
张凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810753307.7A priority Critical patent/CN109045691B/en
Publication of CN109045691A publication Critical patent/CN109045691A/en
Application granted granted Critical
Publication of CN109045691B publication Critical patent/CN109045691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/538Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Image Generation (AREA)

Abstract

The embodiment of the invention provides a kind of special efficacy implementation method of special efficacy object and devices, comprising: obtains and mounts special effects data mount on object, at least one identical special efficacy object of material in virtual scene;According to the location parameter and efficacy parameter in the special effects data of each special efficacy object, the vertex data of the dough sheet of each special efficacy object is generated;The vertex data of the dough sheet of each special efficacy object is sent to image processor, it is handled in the vertex Shader Stage opposite vertexes data of image processor, and the piece tinter stage, vertex data was coloured the special effect to realize special efficacy object to treated.Since special efficacy object exists in the form of the vertex data of dough sheet, location parameter and efficacy parameter are included in vertex data, it avoids causing file excessive for each special efficacy object allocation models file and special efficacy file and submit in the form of model to cause to draw the high problem of batch, vertex data can be submitted in same batch, reduce the drafting batch of special efficacy object.

Description

A kind of the special efficacy implementation method and device of special efficacy object
Technical field
The present invention relates to field of computer technology, and in particular to a kind of the special efficacy implementation method and device of special efficacy object.
Background technique
As the production of game is more and more superior, the special efficacy mounted on the virtual scene model of game is also more and more, example Such as, there are aerolite, similar a large amount of special efficacys such as aeronautical light in game.
In the drafting of computer graphical, the drafting of model is by static state conjunction batch, dynamic conjunction batch and hardware conjunction batch strategy Model is carried out to close batch drafting.Such as model dough sheet is constituted using triangle surface, a model calls in a batch Graphic plotting interface draws all dough sheets, and when model difference, model dough sheet data are separation, and vertex data can not merge With it is shared, need to draw the dough sheet of different models in batches, even if the vertex data of different models can merge and share, in material It also can not the same batch drafting when matter is different, textures are inconsistent, parameter is inconsistent.
In the prior art, for mounting special efficacy, a large amount of node of hanging of setting on mounting object is needed to mount special efficacy, if Special efficacy exists in the form of model, while the attribute configurations special efficacy file such as need the color for each special efficacy, shape, this is just generated A large amount of special efficacy file and multiple model files, when drawing, each model does a batch and draws, when on mounting object When the special efficacy of mounting is more, the drafting batch that special efficacy is mounted on mounting object is increased.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of special efficacy implementation method of the special efficacy object to solve the above problems and a kind of special efficacy realization device of special efficacy object.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of special efficacy implementation method of special efficacy object, it is applied to In virtual scene including at least one mounting object, which comprises
Obtain spy mount in mounting object described in the virtual scene, at least one identical special efficacy object of material Data are imitated, the special effects data includes the location parameter and efficacy parameter of special efficacy object;
According to the location parameter and efficacy parameter of each special efficacy object, the number of vertex of the dough sheet of each special efficacy object is generated According to;
The vertex data of the dough sheet of each special efficacy object is sent to image processor, on the vertex of described image processor The tinter stage handles the vertex data of each special efficacy object, and, the piece tinter stage is to treated number of vertex The special effect of special efficacy object is realized according to being coloured.
Optionally, the location parameter includes local coordinate value of the central point of special efficacy object relative to mounting object, institute State the size, color parameter and control parameter that efficacy parameter includes special efficacy object, the dough sheet is rectangle dough sheet, it is described according to According to the location parameter and efficacy parameter of each special efficacy object, the step of generating the vertex data of the dough sheet of each special efficacy object packet It includes:
A rectangle dough sheet is determined with central point, and the size of the rectangle dough sheet is equal to the special efficacy ruler of the special efficacy object Very little size;
According to the special efficacy size, part of four vertex of the rectangle dough sheet relative to the central point is determined The offset of coordinate value;
Obtain the texture coordinate on four vertex;
By the local coordinate value of the central point, the texture coordinate on four vertex, color parameter, control parameter and partially Shifting amount is determined as the vertex data of the dough sheet of the special efficacy object.
Optionally, it is described by the local coordinate value of the central point, the texture coordinate on four vertex, color parameter, Control parameter and offset are determined as the step of vertex data of the dough sheet of the special efficacy object and include:
X offset, y offset amount and control parameter in the offset on each vertex is stored respectively to each top In nx, ny and nz component of the normal vector of point.
Optionally, the step of vertex data of the dough sheet by each special efficacy object is sent to image processor packet It includes:
When detecting for the special efficacy request instruction of special efficacy object in mounting object, special efficacy in the virtual scene is transferred The vertex data of object;
The vertex data of special efficacy object is sent to described image processor.
Optionally, the vertex Shader Stage in described image processor to the vertex data of each special efficacy object into Row processing the step of include:
Read the vertex data of each special efficacy object;
The local coordinate value of central point and the normal vector on vertex in foundation vertex data determine vertex in camera space Position;
According to position of the vertex in camera space, determine vertex in the position of display screen.
Optionally, described tinter stage to treated vertex data colours the step of include:
Obtain texture mapping;
Using texture mapping, texture coordinate, color parameter, control parameter and vertex in the position of display screen to described The dough sheet of special efficacy object is drawn, and the shading information of the dough sheet of the special efficacy object is obtained.
Optionally, the local coordinate value of central point and the normal vector on vertex according in vertex data determines that vertex exists The step of position in camera space includes:
Obtain the local coordinate value of the central point in vertex data;
According to world's camera transformation matrices, the local coordinate value of central point is converted, the camera for obtaining central point is empty Between coordinate value;
According to representated by nx the and ny component in the camera space coordinate value of the central point and the normal vector on the vertex Offset, calculate the camera space coordinate value on the vertex.
Optionally, described that screen is being shown using texture mapping, texture coordinate, color parameter, control parameter and vertex The position the step of dough sheet of the special efficacy object is drawn, the shading information of the dough sheet of the special efficacy object is obtained packet It includes:
Texture mapping is sampled according to the texture coordinate in vertex data, obtains sampled data;
The vertex is calculated according to the normal vector component nz in the alpha channel value and vertex data of the sampled data Final alpha channel value;
The dough sheet for drawing the special efficacy object according to the final alpha channel value, color parameter, control parameter obtains The shading information of the dough sheet.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of special efficacy realization device of special efficacy object, it is applied to In virtual scene including at least one mounting object, described device includes:
Special effects data obtains module, and for obtaining, mounting in mounting object described in the virtual scene, material is identical At least one special efficacy object special effects data, the special effects data includes the location parameter and efficacy parameter of special efficacy object;
Vertex data generation module generates each spy for the location parameter and efficacy parameter according to each special efficacy object Imitate the vertex data of the dough sheet of object;
Vertex data sending module, for the vertex data of the dough sheet of each special efficacy object to be sent to image processor, The vertex data of each special efficacy object is handled in the vertex Shader Stage of described image processor, and, piece coloring The device stage, vertex data was coloured the special effect to realize special efficacy object to treated.
Optionally, the location parameter includes local coordinate value of the central point of special efficacy object relative to mounting object, institute The size, color parameter and control parameter that efficacy parameter includes special efficacy object are stated, the vertex data generation module includes:
Rectangle dough sheet determines submodule, for determining a rectangle dough sheet, the size of the rectangle dough sheet with central point Equal to the special efficacy size of the special efficacy object;
Apex offset amount determines submodule, for determining four of the rectangle dough sheet according to the special efficacy size Offset of the vertex relative to the local coordinate value of the central point;
Texture coordinate acquisition submodule, for obtaining the texture coordinate on four vertex;
Vertex data determines submodule, for sitting the texture of the local coordinate value of the central point, four vertex Mark, color parameter, control parameter and offset are determined as the vertex data of the special efficacy object.
Optionally, the vertex data determines that submodule includes:
Offset and control parameter storage unit, for by the offset on each vertex x offset, y offset amount and Control parameter is stored respectively into nx, ny and nz component of the normal vector on each vertex.
Optionally, the vertex data sending module includes:
Vertex data transfers submodule, described for transferring when detecting the special efficacy request instruction for special efficacy object The vertex data of special efficacy object in virtual scene;
Vertex data sending submodule, for the vertex data of special efficacy object to be sent to described image processor.
Optionally, the vertex shader comprises the following modules:
Vertex data read module, for reading the vertex data of each special efficacy object;
Vertex position determining module, the normal vector for local coordinate value and vertex according to the central point in vertex data Determine position of the vertex in camera space;
It shows screen position determination module, for the position according to vertex in camera space, determines vertex in display screen The position of curtain.
Optionally, described tinter comprises the following modules:
Texture mapping obtains module, for obtaining texture mapping;
Drafting module, for using texture mapping, texture coordinate, color parameter, control parameter and vertex in display screen The dough sheet of the special efficacy object is drawn in the position of curtain, obtains the shading information of the dough sheet of the special efficacy object.
Optionally, the vertex position determining module includes:
Local coordinate value acquisition submodule, for obtaining the local coordinate value of the central point in vertex data
Coordinate transform submodule, for being converted to the local coordinate value of central point according to world's camera transformation matrices, Obtain the camera space coordinate value of central point;
Vertex position determines submodule, the normal direction for camera space coordinate value and the vertex according to the central point Offset representated by nx and ny component in amount calculates the camera space coordinate value on the vertex.
Optionally, the drafting module includes:
Texture sampling submodule is adopted for being sampled according to the texture coordinate in vertex data to texture mapping Sample data;
Channel value computational submodule, for the normal direction in the alpha channel value and vertex data according to the sampled data Amount component nz calculates the final alpha channel value on the vertex;
Rendering submodule, for drawing the special efficacy according to the final alpha channel value, color parameter, control parameter The dough sheet of object obtains the shading information of the dough sheet.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of computer-readable mediums, are stored thereon with calculating Machine program realizes the spy of special efficacy object described in any one of embodiment of the present invention when the computer program is executed by processor Imitate implementation method.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of electronic equipment, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute any one of embodiment of the present invention via the executable instruction is executed The special efficacy implementation method of the special efficacy object.
The embodiment of the present invention includes following advantages:
In the embodiment of the present invention, the identical special efficacy object of material, spy including location parameter and efficacy parameter are first obtained Data are imitated, the vertex data of the dough sheet of special efficacy object is then generated according to location parameter and efficacy parameter, it can be in mounting object When loading special efficacy object, the vertex data of the identical special efficacy object of material is sent to image processor and is drawn to mount The special effect of special display effect object on object, since special efficacy object all exists in the form of the vertex data of dough sheet, position ginseng Several and efficacy parameter is included in vertex data, is avoided and is caused text for each special efficacy object allocation models file and special efficacy file Part is excessive, and, each special efficacy object is submitted in the form of model causes to draw the high problem of batch, it is only necessary to it is identical to configure material Special efficacy object location parameter and efficacy parameter, and can same batch to image processor submit material it is identical Special efficacy object vertex data, reduce mounting object on special efficacy object drafting batch.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the special efficacy implementation method embodiment 1 of special efficacy object of the invention;
Fig. 2 is a kind of step flow chart of the special efficacy implementation method embodiment 2 of special efficacy object of the invention;
Fig. 3 is the schematic diagram of the rectangle dough sheet of the embodiment of the present invention;
Fig. 4 is the exemplary schematic diagram of the aeronautical light attributes edit of the embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of the special efficacy realization device of special efficacy object of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of the special efficacy implementation method embodiment 1 of special efficacy object of the invention is shown, It can specifically include following steps:
Step 101, mount in mounting object described in the virtual scene, at least one identical special efficacy of material is obtained The special effects data of object, the special effects data include the location parameter and efficacy parameter of special efficacy object.
In the embodiment of the present invention, virtual scene can be the scene shown in electronic game, which can be three Scene is tieed up, special efficacy object can be the object for generating special efficacy, such as aeronautical light, the aerolite etc. that can be in scene of game have spy The object of effect, mounting object can be the carrier of special efficacy object, such as can be with models such as naval vessels in virtual scene.
In practical applications, the special efficacy object or different mounting objects that unlike material can be mounted on object are mounted On be mounted with the special efficacy object of same material, the spies of the same material mounted on all mounting objects in available virtual scene The special effects data of object is imitated, which includes the location parameter and efficacy parameter of special efficacy object, for example, being with special efficacy object Aeronautical light as an example, the position of all aeronautical lights, color in available virtual scene, flicker cycle flash the time started, The parameters such as size.
The location parameter and efficacy parameter of special efficacy object can be offline generation, such as carry out fine arts volume to mounting object When collecting, the position of special efficacy object and the efficacy parameter of setting special efficacy object are selected on mounting object.
Step 102, the location parameter and efficacy parameter according to each special efficacy object generates the dough sheet of each special efficacy object Vertex data.
In embodiments of the present invention, special efficacy object can be constituted using rectangle dough sheet, and by location parameter and effect Parameter is included in the attribute on four vertex of rectangle dough sheet, then the attribute data on four vertex is the dough sheet of special efficacy object Vertex data, for example, vertex data may include the local coordinate value of the central point of rectangle dough sheet, color parameter, texture coordinate and The normal vector on vertex includes vertex in normal vector relative to central point camera space offset and control parameter, it is specific and Speech, normal vector may include nx, ny and nz component, then nx in normal vector, ny component represent vertex relative to central point in camera The coordinate shift in space, nz component represent control parameter, for example, nz component represents the brightness of aeronautical light for aeronautical light special efficacy.
Step 103, the vertex data of each special efficacy object is sent to image processor, on the top of described image processor The Point Coloring device stage handles the vertex data of each special efficacy object, and, the piece tinter stage is to treated vertex Data are coloured the special effect to realize special efficacy object.
In the embodiment of the present invention, after generating the vertex data of dough sheet of the identical special efficacy object of all materials, it can incite somebody to action All vertex datas are sent to image processor, can after the vertex Shader Stage of image processor receives vertex data To calculate the screen position on each vertex according to vertex data, being then passed to the piece tinter stage draws out special efficacy object Special efficacy.Such as the local coordinate value and offset of the central point in vertex Shader Stage opposite vertexes data carry out world's camera seat Target conversion, is then reconverted into display screen coordinate, is committed to piece tinter later, the piece tinter stage is according to vertex color Control parameter in parameter, texture coordinate and normal vector etc. carries out sampling rendering dough sheet with the special efficacy of special display effect object.
During the present invention is implemented, since special efficacy object material is identical and exists by the vertex data of dough sheet, it is only necessary to configure The location parameter and efficacy parameter of the identical special efficacy object of material, avoid as each special efficacy object allocation models file and Special efficacy file causes file excessive, and, each special efficacy object is submitted in the form of model causes to draw the high problem of batch, energy Enough vertex datas for submitting the identical special efficacy object of all materials on mounting object to image processor in same batch, reduce The drafting batch of special efficacy object on mounting object.
Referring to Fig. 2, a kind of step flow chart of the special efficacy implementation method embodiment 2 of special efficacy object of the invention is shown, It can specifically include following steps:
Step 201, mount in mounting object described in the virtual scene, at least one identical special efficacy of material is obtained The special effects data of object, the special effects data include the location parameter and efficacy parameter of special efficacy object, and the location parameter includes The local coordinate value of the central point of special efficacy object, the efficacy parameter include size, color parameter and the control of special efficacy object Parameter processed.
In the embodiment of the present invention, location parameter can be local coordinate of the special efficacy object on mounting object, efficacy parameter It can be the parameter for realizing the special effect of special efficacy object, such as using special efficacy object be aeronautical light as example, efficacy parameter can be with The parameters such as color, flicker cycle, flashing time started, size including aeronautical light.Location parameter and efficacy parameter can be from Line editor generates, and when game running needs to load special efficacy object, obtains the location parameter and effect ginseng of corresponding special efficacy object Number, for example, when needing to load aeronautical light on the models such as naval vessel, obtaining the central point of aeronautical light using aeronautical light as example Local coordinate value, size, color parameter and luminance parameter etc..
Step 202, a rectangle dough sheet is determined with central point, the size of the rectangle dough sheet is equal to the special efficacy object Special efficacy size.
As shown in figure 3, the schematic diagram of the dough sheet for the embodiment of the present invention.In Fig. 3, two triangle surface groups are combined into one A rectangle dough sheet, special efficacy object can be then made of a rectangle dough sheet.Specifically, in a preferred embodiment of the present invention In, the local coordinate of the central point of special efficacy object can be used as the center of rectangle dough sheet, then according to the special efficacy ruler of special efficacy object Very little size determines the length and width of rectangle dough sheet so that the length of the length of rectangle dough sheet and the wide special efficacy size for being equal to special efficacy object and It is wide.
The length and width of rectangle dough sheet can also be set certainly by preset ratio, for example, the size on naval vessel is 100*50* 20, then the size of aeronautical light can be 0.5*0.5, i.e. the length of rectangle dough sheet and width is 0.5.
Step 203, according to the special efficacy size, determine four vertex of the rectangle dough sheet relative to the center The offset of the local coordinate value of point.
In practical applications, the position on four vertex of rectangle dough sheet can be sat by vertex relative to the part of central point The offset of scale value determines, specifically, by special efficacy size, can calculate four vertex of rectangle dough sheet relative in The offset of the local coordinate value of heart point, as shown in figure 3, P point is the central point of rectangle dough sheet, coordinate is (10,15), special efficacy Size (rectangle patch-sized) is 2*1, then A, B, C, D are as follows relative to the offset of P point:
X-direction offset Y-direction offset
A -1 0.5
B 1 0.5
C -1 -0.5
D 1 -0.5
For each special efficacy object, the feelings known to the local coordinate value and special efficacy size of the central point of special efficacy object Under condition, the specific location on four vertex of its available rectangle dough sheet.In vertex Shader Stage, according to coordinate transform, The local coordinate value of central point is transformed into the coordinate value in camera space, then the offset on vertex is plus central point in camera Coordinate value of the coordinate value in space you can get it the vertex in camera space.
Step 204, the texture coordinate on four vertex is obtained.
Texture coordinate is the abbreviation of Texture Coordinates, and texture coordinate defines the information of the position of each point on picture, To determine the position of surface texture mapping.Each point on texture mapping image is accurately corresponded to model object by texture coordinate Surface, and image smoothing interpolation processing, in the embodiment of the present invention, vertex are carried out by software in interstitial site between points Texture coordinate define the point on vertex correspondence to texture mapping, the texture coordinate on vertex is lower pre-defined online.
Step 205, by the local coordinate value of the central point, texture coordinate, the color parameter, control on four vertex Parameter and offset are determined as the vertex data of the dough sheet of the special efficacy object.
In embodiments of the present invention, vertex data may include the local coordinate value of central point, the texture coordinate on vertex, face Color parameter, control parameter and vertex, specifically can be by the offsets and control on each vertex with respect to the offset of central point Reference record is into the normal vector on vertex, such as vertex data can be such that
The four vertex A, B, C of rectangle dough sheet, the vertex data of D then includes following information:
It include above-mentioned data, as long as getting rectangle for four vertex of the rectangle dough sheet of each special efficacy object The special efficacy size of dough sheet, so that it may the offset for calculating four vertex, it also can be by vertex Shader Stage Position and coordinate value of the vertex in camera space are determined in the coordinate value of camera space according to offset and the central point calculated.
In the embodiment of the present invention, can pass through change vertex data in Position:(x, y, z), Color:color, Uv:(ux, uy, uz) and Normal:(nx, ny, nz) attribute realizes the control to special efficacy, such as can pass through in game scripts Following code realizes the control to special efficacy object:
For vert in range (0,4):
Primitive.set_vert (vert, x, y, z, color, u, v, nx*_bright_scale, ny*_bright_ Scale, nz*_bright_scale)
Wherein, vert represents vertex index, x, y, and z represents position;Color represents color;Uv, that is, sample texture coordinate; Nx, ny respectively represent vertex vertex are in x under camera coordinates space, and with respect to the offset of central point, nz represents control ginseng in the direction y Number can control special efficacy object by changing nz, for example, the value that can control nz in game scripts makes for aeronautical light Aeronautical light is lighted or is extinguished.
As shown in figure 4, the fine arts are in off-line editing for the multiple aeronautical lights being fixed on two doubling line segments (L1, L2) When only need the position of 6 endpoints (A, B, C, D, E, F) of editor's two lines section that can change multiple aviations in two lines section The Position:(x, y, z of 6 endpoints are edited in the center of lamp).The prior art is avoided, is manually each aeronautical light Anchor station reduces the data volume of editor.
Step 206, the vertex data of the dough sheet of each special efficacy object is sent to image processor.
In the embodiment of the present invention, when detecting the special efficacy request instruction for special efficacy object in games operation, adjust Take the vertex data of special efficacy object in the virtual scene;The vertex data of special efficacy object is sent to image processor, for example, Special efficacy request instruction can be the refresh requests of virtual scene or mount the load request of object, when needing to refresh virtual scene Or when load mounting object, the vertex data of the dough sheet of special efficacy object is sent to image procossing on available mounting object Device.
Step 207, the vertex data of each special efficacy object is read.
After image processor receives the vertex data of submission, vertex Shader Stage can read vertex data.
Step 208, the local coordinate value of central point in foundation vertex data and the normal vector on vertex determine vertex in phase Position in machine space, and vertex is calculated in the position of display screen.
In vertex Shader Stage, it can first determine then position of the vertex in camera space determines that vertex is being shown The position of screen may include specifically following sub-step:
Sub-step 208-1 obtains the local coordinate value of the central point in vertex data;
From step 208-2, according to world's camera transformation matrices, the local coordinate value of central point is converted, is obtained The camera space coordinate value of heart point;
Sub-step 208-3, according to the nx and ny in the camera space coordinate value and the vertex scheme vector of the central point Offset representated by component calculates the camera space coordinate value on the vertex;
Step 208-4 determines vertex in the position of display screen according to vertex in camera space position.
In practical applications, sub-step 208-1- sub-step 208-3 can be realized by following code:
Wherein, pos_local is the local coordinate value of the central point of rectangle dough sheet, and wold_view is world's camera transformation Matrix, the local coordinate value put centered on pos_view are converted to the camera space coordinate value of the central point after camera space, Real_view is by the nx in normal vector normal, and ny component gets coordinate value of the vertex under camera space, a_nor For the normal vector on vertex, wherein a_nor.x, what a_nor.y was saved respectively be vertex under camera space relative to central point Offset, so under camera space, the x coordinate=pos_view.x+a_nor.x on vertex, the y-coordinate=pos_ on vertex View.y+a_nor.y, the z coordinate=pos_view.z on vertex, i.e. the four of rectangle dough sheet vertex are in same in camera space A z-plane, the rectangle dough sheet are rotated as the camera under camera space is gone to, therefore each rectangle dough sheet is one independent Bulletin board.
By above-mentioned sub-step 208-1 to sub-step 208-4, it can determine that the central point of rectangle dough sheet and four vertex exist The position of position and vertex within display screen in camera space.
Step 209, texture mapping is obtained.
In the embodiment of the present invention, for the special efficacy object of identical material, the same texture mapping can be used, such as All aeronautical lights, can use same texture mapping, which can pre-define.
Step 210, using texture mapping, texture coordinate, color parameter, control parameter and vertex in the position of display screen It sets and the dough sheet of the special efficacy object is drawn, obtain the shading information of the dough sheet of the special efficacy object.
Specifically, step 210 may include following sub-step:
Sub-step 210-1 samples texture mapping according to the texture coordinate in vertex data, obtains sampled data;
Sub-step 210-2 is calculated according to the normal vector component nz in the alpha channel value and vertex data of sampled data The final alpha channel value on the vertex;
Sub-step 210-3 draws the special efficacy pair according to the final alpha channel value, color parameter, control parameter The dough sheet of elephant obtains the shading information of the dough sheet.
Specifically, sub-step 210-1- sub-step 210-3 can be realized by following code:
{
Lowp float4result=sample (tex0, uv.xy);
Lowp float3local_color=float3 (v_diffuse.xyz);
Float alpha=result.a*a_nor.z;
Float3final_color=local_color*alpha;
Pixel (float4 (final_color.xyz, alpha))
}
Wherein, material puts up figure tex0 using one, samples textures by texture coordinate uv, is as a result stored in result, V_diffuse is the color on vertex, and the channel the alpha i.e. transparency difference that textures can be used in the piece tinter stage indicates The value of the shape of special efficacy object, alpha can pass through the a_nor.z of normal vector component in alpha channel components a and vertex data Product obtains, for indicating brightness, the piece tinter stage after drawing dough sheet and obtaining the shading information of dough sheet, can to dough sheet into Row renders the special effect of special display effect object on the screen.
The present invention passes through the local coordinate value of records center point in the location information in vertex data, normal direction in implementing In amount record vertex relative to central point camera space offset and control parameter, while vertex Shader Stage will in The equal coordinate of heart point determines that in the position of camera space, same material is may be implemented in vertex after being converted to the coordinate of camera space The vertex data of special efficacy object can be committed to image processor in a batch, and, it can once be drawn according to vertex data The dough sheet of special efficacy object obtains the special effect of special efficacy object, avoids as each special efficacy object allocation models file and special efficacy text Part causes file excessive, and, each special efficacy object is submitted in the form of model causes to draw the high problem of batch, reduces spy Imitate the drafting batch of object.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Referring to Fig. 5, a kind of step flow chart of the special efficacy realization device embodiment of special efficacy object of the invention is shown, is had Body may include following module:
Special effects data obtains module 301, for obtaining mount in mounting object described in the virtual scene, material phase The special effects data of at least one same special efficacy object, the special effects data includes the location parameter and efficacy parameter of special efficacy object;
Vertex data generation module 302 generates each for the location parameter and efficacy parameter according to each special efficacy object The vertex data of the dough sheet of special efficacy object;
Vertex data sending module 303, for the vertex data of the dough sheet of each special efficacy object to be sent to image procossing Device is handled the vertex data of each special efficacy object in the vertex Shader Stage of described image processor, and, piece The color device stage, vertex data was drawn the special effect to realize special efficacy object to treated.
Optionally, the location parameter includes local coordinate value of the central point of special efficacy object relative to mounting object, institute The size, color parameter and control parameter that efficacy parameter includes special efficacy object are stated, the vertex data generation module 302 wraps It includes:
Rectangle dough sheet determines submodule, for determining a rectangle dough sheet, the size of the rectangle dough sheet with central point Equal to the special efficacy size of the special efficacy object;
Apex offset amount determines submodule, for determining four of the rectangle dough sheet according to the special efficacy size Offset of the vertex relative to the local coordinate value of the central point;
Texture coordinate acquisition submodule, for obtaining the texture coordinate on four vertex;
Vertex data determines submodule, for sitting the texture of the local coordinate value of the central point, four vertex Mark, color parameter, control parameter and offset are determined as the vertex data of the special efficacy object.
Optionally, the vertex data determines that submodule includes:
Offset and control parameter storage unit, for by the offset on each vertex x offset, y offset amount and Control parameter is stored respectively into nx, ny and nz component of the normal vector on each vertex.
Optionally, the vertex data sending module 303 includes:
Vertex data transfers submodule, described for transferring when detecting the special efficacy request instruction for special efficacy object The vertex data of special efficacy object in virtual scene;
Vertex data sending submodule, for the vertex data of special efficacy object to be sent to described image processor.
Optionally, the vertex shader comprises the following modules:
Vertex data read module, for reading the vertex data of each special efficacy object;
Vertex position determining module, the normal vector for local coordinate value and vertex according to the central point in vertex data Determine position of the vertex in camera space;
It shows screen position determination module, for the position according to vertex in camera space, determines vertex in display screen The position of curtain.
Optionally, described tinter comprises the following modules:
Texture mapping obtains module, for obtaining texture mapping;
Drafting module, for using texture mapping, texture coordinate, color parameter, control parameter and vertex in display screen The dough sheet of the special efficacy object is drawn in the position of curtain, obtains the shading information of the dough sheet of the special efficacy object.
Optionally, the vertex position determining module includes:
Local coordinate value acquisition submodule, for obtaining the local coordinate value of the central point in vertex data
Coordinate transform submodule, for being converted to the local coordinate value of central point according to world's camera transformation matrices, Obtain the camera space coordinate value of central point;
Vertex position determines submodule, the normal direction for camera space coordinate value and the vertex according to the central point Offset representated by nx and ny component in amount calculates the camera space coordinate value on the vertex.
Optionally, the drafting module includes:
Texture sampling submodule is adopted for being sampled according to the texture coordinate in vertex data to texture mapping Sample data;
Channel value computational submodule, for the normal direction in the alpha channel value and vertex data according to the sampled data Amount component nz calculates the final alpha channel value on the vertex;
Rendering submodule, for drawing the special efficacy according to the final alpha channel value, color parameter, control parameter The dough sheet of object obtains the shading information of the dough sheet.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
The implementation method to a kind of special efficacy object special efficacy provided by the present invention and a kind of special efficacy of special efficacy object are real above Existing device is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for the one of this field As technical staff have control place, to sum up institute in specific embodiments and applications according to the thought of the present invention It states, the contents of this specification are not to be construed as limiting the invention.

Claims (11)

1. a kind of special efficacy implementation method of special efficacy object, which is characterized in that applied to including the virtual of at least one mounting object In scene, which comprises
Obtain special efficacy number mount in mounting object described in the virtual scene, at least one identical special efficacy object of material According to the special effects data includes the location parameter and efficacy parameter of special efficacy object;
According to the location parameter and efficacy parameter of each special efficacy object, the vertex data of the dough sheet of each special efficacy object is generated;
The vertex data of the dough sheet of each special efficacy object is sent to image processor, in the vertex coloring of described image processor The device stage handles the vertex data of each special efficacy object, and, the piece tinter stage to treated vertex data into Row colours the special effect to realize special efficacy object.
2. the method as described in claim 1, which is characterized in that the location parameter include special efficacy object central point relative to The local coordinate value of object is mounted, the efficacy parameter includes size, color parameter and the control parameter of special efficacy object, institute Stating dough sheet is rectangle dough sheet, and the location parameter and efficacy parameter according to each special efficacy object generates each special efficacy object The step of vertex data of dough sheet includes:
A rectangle dough sheet is determined with central point, and the special efficacy size that the size of the rectangle dough sheet is equal to the special efficacy object is big It is small;
According to the special efficacy size, local coordinate of four vertex of the rectangle dough sheet relative to the central point is determined The offset of value;
Obtain the texture coordinate on four vertex;
By the local coordinate value of the central point, texture coordinate, color parameter, control parameter and the offset on four vertex It is determined as the vertex data of the dough sheet of the special efficacy object.
3. method according to claim 2, which is characterized in that it is described by the local coordinate value of the central point, it is four described Texture coordinate, color parameter, control parameter and the offset on vertex are determined as the vertex data of the dough sheet of the special efficacy object Step includes:
X offset, y offset amount and control parameter in the offset on each vertex is stored respectively to each vertex In nx, ny and nz component of normal vector.
4. method as claimed in claim 3, which is characterized in that the vertex data of the dough sheet by each special efficacy object The step of being sent to image processor include:
When detecting for the special efficacy request instruction of special efficacy object in mounting object, special efficacy object in the virtual scene is transferred Vertex data;
The vertex data of special efficacy object is sent to described image processor.
5. method as claimed in claim 3, which is characterized in that the vertex Shader Stage pair in described image processor The step of vertex data of each special efficacy object is handled include:
Read the vertex data of each special efficacy object;
The local coordinate value of central point and the normal vector on vertex in foundation vertex data determine position of the vertex in camera space It sets;
According to position of the vertex in camera space, determine vertex in the position of display screen.
6. method as claimed in claim 5, which is characterized in that described tinter stage, vertex data carried out to treated The step of coloring includes:
Obtain texture mapping;
Using texture mapping, texture coordinate, color parameter, control parameter and vertex in the position of display screen to the special efficacy The dough sheet of object is drawn, and the shading information of the dough sheet of the special efficacy object is obtained.
7. method as claimed in claim 5, which is characterized in that the local coordinate value according to the central point in vertex data The step of determining position of the vertex in camera space with the normal vector on vertex include:
Obtain the local coordinate value of the central point in vertex data;
According to world's camera transformation matrices, the local coordinate value of central point is converted, the camera space for obtaining central point is sat Scale value;
According to inclined representated by nx the and ny component in the camera space coordinate value of the central point and the normal vector on the vertex Shifting amount calculates the camera space coordinate value on the vertex.
8. method as claimed in claim 6, which is characterized in that described to use texture mapping, texture coordinate, color parameter, control The dough sheet of the special efficacy object is drawn in the position of display screen in parameter processed and vertex, obtains the special efficacy object The step of shading information of dough sheet includes:
Texture mapping is sampled according to the texture coordinate in vertex data, obtains sampled data;
The vertex is calculated most according to the normal vector component nz in the alpha channel value and vertex data of the sampled data Whole alpha channel value;
The dough sheet that the special efficacy object is drawn according to the final alpha channel value, color parameter, control parameter obtains described The shading information of dough sheet.
9. a kind of special efficacy realization device of special efficacy object, which is characterized in that applied to including the virtual of at least one mounting object In scene, described device includes:
Special effects data obtains module, and for obtaining, mounting in mounting object described in the virtual scene, material is identical extremely The special effects data of a few special efficacy object, the special effects data includes the location parameter and efficacy parameter of special efficacy object;
Vertex data generation module generates each special efficacy pair for the location parameter and efficacy parameter according to each special efficacy object The vertex data of the dough sheet of elephant;
Vertex data sending module, for the vertex data of the dough sheet of each special efficacy object to be sent to image processor, in institute The vertex Shader Stage for stating image processor handles the vertex data of each special efficacy object, and, piece tinter rank To treated, vertex data is coloured the special effect to realize special efficacy object to section.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that the computer program is located Reason device realizes the special efficacy implementation method of special efficacy object of any of claims 1-8 when executing.
11. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come described in any one of perform claim requirement 1-8 via the execution executable instruction Special efficacy object special efficacy implementation method.
CN201810753307.7A 2018-07-10 2018-07-10 Method and device for realizing special effect of special effect object Active CN109045691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810753307.7A CN109045691B (en) 2018-07-10 2018-07-10 Method and device for realizing special effect of special effect object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810753307.7A CN109045691B (en) 2018-07-10 2018-07-10 Method and device for realizing special effect of special effect object

Publications (2)

Publication Number Publication Date
CN109045691A true CN109045691A (en) 2018-12-21
CN109045691B CN109045691B (en) 2022-02-08

Family

ID=64819526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810753307.7A Active CN109045691B (en) 2018-07-10 2018-07-10 Method and device for realizing special effect of special effect object

Country Status (1)

Country Link
CN (1) CN109045691B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109903366A (en) * 2019-03-13 2019-06-18 网易(杭州)网络有限公司 The rendering method and device of dummy model, storage medium and electronic equipment
CN110070496A (en) * 2019-02-28 2019-07-30 北京字节跳动网络技术有限公司 Generation method, device and the hardware device of image special effect
CN110288670A (en) * 2019-06-19 2019-09-27 杭州绝地科技股份有限公司 A kind of UI retouches the high-performance rendering method of side special efficacy
CN110287431A (en) * 2019-06-27 2019-09-27 北京金山安全软件有限公司 Image file loading method and device, electronic equipment and storage medium
CN110354500A (en) * 2019-07-15 2019-10-22 网易(杭州)网络有限公司 Effect processing method, device, equipment and storage medium
CN111111177A (en) * 2019-12-23 2020-05-08 北京像素软件科技股份有限公司 Method and device for disturbing background by special effect of game and electronic equipment
CN111508047A (en) * 2020-04-21 2020-08-07 网易(杭州)网络有限公司 Animation data processing method and device
CN111729304A (en) * 2020-05-26 2020-10-02 广州尊游软件科技有限公司 Method for displaying mass objects
CN111882637A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Picture rendering method, device, equipment and medium
CN112435323A (en) * 2020-11-26 2021-03-02 网易(杭州)网络有限公司 Light effect processing method, device, terminal and medium in virtual model

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065133A1 (en) * 2000-11-29 2002-05-30 Konami Corporation Impact judgement method and device, computer-readable recording medium recording impact judgement processing program, and video game device
CN106504185A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 One kind renders optimization method and device
CN106780686A (en) * 2015-11-20 2017-05-31 网易(杭州)网络有限公司 The merging rendering system and method, terminal of a kind of 3D models

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065133A1 (en) * 2000-11-29 2002-05-30 Konami Corporation Impact judgement method and device, computer-readable recording medium recording impact judgement processing program, and video game device
CN106780686A (en) * 2015-11-20 2017-05-31 网易(杭州)网络有限公司 The merging rendering system and method, terminal of a kind of 3D models
CN106504185A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 One kind renders optimization method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
互联网: "图形渲染及优化——Unity合批技术实践", 《HTTPS://GAMEINSTITUTE.QQ.COM/COMMUNITY/DETAIL/114323》 *
互联网: "顶点着色器和像素着色器的数据处理流程", 《HTTPS://WWW.CNBLOGS.COM/KEVIN-HEYONGYUAN/ARTICLES/9111908.HTML》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070496A (en) * 2019-02-28 2019-07-30 北京字节跳动网络技术有限公司 Generation method, device and the hardware device of image special effect
CN109903366A (en) * 2019-03-13 2019-06-18 网易(杭州)网络有限公司 The rendering method and device of dummy model, storage medium and electronic equipment
CN110288670A (en) * 2019-06-19 2019-09-27 杭州绝地科技股份有限公司 A kind of UI retouches the high-performance rendering method of side special efficacy
CN110288670B (en) * 2019-06-19 2023-06-23 杭州绝地科技股份有限公司 High-performance rendering method for UI (user interface) tracing special effect
CN110287431B (en) * 2019-06-27 2021-08-24 北京金山安全软件有限公司 Image file loading method and device, electronic equipment and storage medium
CN110287431A (en) * 2019-06-27 2019-09-27 北京金山安全软件有限公司 Image file loading method and device, electronic equipment and storage medium
CN110354500A (en) * 2019-07-15 2019-10-22 网易(杭州)网络有限公司 Effect processing method, device, equipment and storage medium
CN111111177A (en) * 2019-12-23 2020-05-08 北京像素软件科技股份有限公司 Method and device for disturbing background by special effect of game and electronic equipment
CN111508047A (en) * 2020-04-21 2020-08-07 网易(杭州)网络有限公司 Animation data processing method and device
CN111508047B (en) * 2020-04-21 2023-08-22 网易(杭州)网络有限公司 Animation data processing method and device
CN111729304A (en) * 2020-05-26 2020-10-02 广州尊游软件科技有限公司 Method for displaying mass objects
CN111729304B (en) * 2020-05-26 2024-04-05 广州尊游软件科技有限公司 Method for displaying mass objects
CN111882637A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Picture rendering method, device, equipment and medium
CN111882637B (en) * 2020-07-24 2023-03-31 上海米哈游天命科技有限公司 Picture rendering method, device, equipment and medium
CN112435323A (en) * 2020-11-26 2021-03-02 网易(杭州)网络有限公司 Light effect processing method, device, terminal and medium in virtual model
CN112435323B (en) * 2020-11-26 2023-08-22 网易(杭州)网络有限公司 Light effect processing method, device, terminal and medium in virtual model

Also Published As

Publication number Publication date
CN109045691B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN109045691A (en) A kind of the special efficacy implementation method and device of special efficacy object
CN107045729B (en) A kind of image rendering method and device
CN111462313B (en) Method, device and terminal for realizing fluff effect
CN106780686A (en) The merging rendering system and method, terminal of a kind of 3D models
CN111400024B (en) Resource calling method and device in rendering process and rendering engine
US20230120253A1 (en) Method and apparatus for generating virtual character, electronic device and readable storage medium
CN112053424B (en) Rendering method and device of 3D model
US9176662B2 (en) Systems and methods for simulating the effects of liquids on a camera lens
CN107463370A (en) Striding course rendering intent and system
CN110675480A (en) Method and device for acquiring sampling position of texture operation
JPH06105393B2 (en) Method and apparatus for generating relative motion of images
CN108280870A (en) A kind of point cloud model texture mapping method and system
CN110908560A (en) GPU-based virtual pointer style drawing method for all-liquid crystal instrument
JP3821880B2 (en) Device that gives color depth instructions
CN109144655B (en) Method, device, system and medium for dynamically displaying image
CN116452704A (en) Method and device for generating lens halation special effect, storage medium and electronic device
WO2021254127A1 (en) Image processing method, apparatus and device, and storage medium
CN114428573B (en) Special effect image processing method and device, electronic equipment and storage medium
JP2003331313A (en) Image processing program
JP7352032B2 (en) Video generation method, apparatus, electronic device and computer readable storage medium
CN114913277A (en) Method, device, equipment and medium for three-dimensional interactive display of object
US9019309B2 (en) Adaptive image manipulation
Ragragui et al. Image-based extrusion with realistic surface wrinkles
CN106910237A (en) A kind of real-time sketch rendering system of computer and its algorithm
CN117058301B (en) Knitted fabric real-time rendering method based on delayed coloring

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