Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and tool for creating seamless decals based on unity

A decal, seamless technology, applied in the game engine field, can solve the problem of poor support

Active Publication Date: 2022-07-15
SNAIL GAMES
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are generally two ways to generate a grid. One is to use deferred rendering, which is drawn to the intersecting surface by sampling the decal texture in the deferred rendering stage. However, this method currently supports poorly on mobile platforms.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and tool for creating seamless decals based on unity
  • A method and tool for creating seamless decals based on unity
  • A method and tool for creating seamless decals based on unity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] The methods used in the prior art for creating decals in a scene are mainly methods of deferred rendering, projection and mesh creation. Deferred rendering does not support implementation on mobile devices, and projectors cannot render custom shapes. Most of the methods for creating meshes generate meshes at the intersecting surfaces that intersect with objects by creating boxes. This method also cannot render self-defined shapes. The defined shape, and the direction of the generated mesh is single, and cannot be generated on multiple faces at the same time.

[0088] Based on the above findings, the basic idea of ​​the present invention is: combining a projector and a method for creating a grid, edit the shape of the grid in the scene, and project the grid to any position by means of projection.

[0089] Having introduced the basic principles of the present invention, various non-limiting embodiments of the present invention are described in detail below.

[0090] Appl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method for creating seamless decals based on Unity, comprising the following steps: obtaining a list of all sampling points used to generate a grid shape; constructing a bounding box using the list of sampling points; generating projection points based on the bounding box a list and its corresponding triangle index; the projection point list is divided to obtain a divided projection point list and its corresponding triangle index; the divided projection point list is projected to the scene to obtain a projected point list; Calculate the UV value corresponding to the projected point list; construct a barycentric coordinate system, calculate the Alpha value corresponding to the projected point list; divide the projected point list and its corresponding UV value, Alpha value, segmentation The triangle index corresponding to the projected point list is added to the list used to construct the grid respectively; exit the current point calculation, and perform the calculation of the next point; use the grid data after the traversal is completed to create a grid; decal model for the grid Assign material.

Description

technical field [0001] The present invention relates to the technical field of game engines, in particular to a method and tool for creating decals. Background technique [0002] The seamless mesh decal creation tool is a tool that can create meshes that seamlessly fit any object in virtual 3D space. The functions of the mesh decal creation tool include, but are not limited to, quick and easy editing of meshes of any shape, projecting meshes of any shape onto other objects in 3D space, convenient rotation of projected mesh decals, adjustment of meshes The transparency of the grid decal. [0003] Unity is a multi-platform comprehensive 3D graphics engine developed by Unity Technologies that allows users to create interactive content such as 3D video games, architectural visualization, and real-time 3D animation. Currently, other game engines, such as CryENGINE3 engine and Unreal 4 engine, provide decal creation tools based on this engine, but Unity engine has not provided d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T17/20A63F13/60
Inventor 柳尧顺陈刚
Owner SNAIL GAMES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products