A cartoon-style light and shadow rendering method, device, equipment and medium
A light and shadow and style technology, applied in the field of rendering, can solve the problem of lack of vividness in the picture, achieve controllable and beautiful light and shadow, and satisfy the effect of rendering
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a flow chart of a cartoon-style light shadow rendering method according to an embodiment of the present invention. The technical solution of this embodiment can be applied to the case of rendering light in the cartoon style. The method can be implemented by a cartoon-style light shadow rendering device according to an embodiment of the present invention, which can be implemented in software and / or hardware, and is configured in the rendering engine, the rendering engine can be an intelligence of any graphics function. Equipment, such as computers, tablets, mobile phones, smart cameras, etc. This method specifically includes the following operations:
[0047] S110, calculate the diffuse reflection intensity and high light intensity.
[0048] The diffuse reflection is the result of the basic color of the object and the mixing of the ambient light, which is the display effect of the object substantially colored on the welding surface and the light surface. Hi...
Embodiment 2
[0071] figure 2 It is a flow chart of a cartoon-style light shadow rendering method according to the second embodiment of the present invention. The technical solution of the present embodiment further optimizes the operation of the light and dark regions based on the degree of reflection intensity according to the obsessment in the present embodiment. Accordingly, the method of this embodiment includes:
[0072] S210, calculate diffuse reflection intensity and high light intensity.
[0073] S220, using the LightMap sticker R channel with the R channel of the vertex color to the reflection intensity of reflection intensity.
[0074] The vertex color R channel stored parameters are the same as the data in the LightMap sticker R channel, which is used as a lightmap map, and the LightMap sticker R channel can be used to ensure that the offset is more accurate.
[0075] S230, binarize the diffuse reflection after the offset to obtain the mandate and the dark portion in the dark area....
Embodiment 3
[0081] image 3 It is a flow chart of a cartoon-style light shadow rendering method according to the third embodiment of the present invention. The technical solution of the present embodiment is based on the above-described example of the embodiment, and further optimizes the offset of the highlight intensity, determines the operation of the high-light region according to the highlight intensity after the offset. Accordingly, the method of this embodiment includes:
[0082] S310 calculates diffuse reflection intensity and high light intensity.
[0083] S320, offset the diffuse reflection intensity, determine the bright and dark area according to the diffuse reflection intensity after the offset.
[0084] S330, the product using the LightMap shaft G channel and the G-channel of the vertex color to the high light intensity to shift.
[0085] The parameters of the G-channel storage of the vertex color are the same as the data in the LightMap texture G channel. As a supplement to the...
PUM
![No PUM](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com