Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing double face refraction effect

A double-sided, refracting light technology, applied in the field of image rendering, can solve the problem of inaccurate refraction effect, and achieve the effect of good visual experience and accurate refraction effect.

Active Publication Date: 2009-03-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The invention provides a method and device for realizing double-sided refraction effect, which is used to solve the problem of inaccurate refraction effect produced by the existing single refraction processing technology

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
  • Method and device for realizing double face refraction effect
  • Method and device for realizing double face refraction effect
  • Method and device for realizing double face refraction effect

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the image refraction effect produced by refraction processing technology more accurate, the present invention provides a method for realizing double-sided refraction effect. The main process is to obtain the simulated position of the refraction point on the lower surface of the object from the observation side, and obtain the The simulated normal direction of the surface refraction point; and then obtain the simulated direction of the incident light according to the normal direction; after obtaining the simulated direction of the incident light, it is not difficult to simulate and realize the effect of the lower surface refraction according to the existing technology. see image 3 As shown, the method includes the following steps:

[0048] S1. Select the observation side, and deal with the refraction on the upper surface of the object.

[0049] see Figure 4 shown. First, select the observation side and locate the observation point Eye, and then dete...

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

The invention discloses a method and the relevant device for realizing double-sided refraction, which is used for preventing the inaccurate refraction caused by the current single-cover refraction processing technology. The methods of the invention comprises: obtaining the simulated position of the refraction point on the lower surface from the observing side and then to get its simulated normal direction and accordingly obtaining the simulated direction of incident light to realize double-sided refraction effect. The devices of the invention are composed of the acquisition units for B-point position, normal direction and incident light direction. The invention is characterized in realizing a preciser double-sided refraction effect than that of single refraction processing, which brings people much better visual experience.

Description

technical field [0001] The invention relates to the field of image rendering, in particular to a method and device for realizing double-sided refraction effects. Background technique [0002] Since light travels at different speeds in materials of different densities, when light passes through the interface between two materials of different densities, the direction of light propagation will change. For example: light travels much faster in air than in water, so when the straw is put into the water, the straw seems to be "folded". [0003] The refracted light calculation function based on the physical formula has been integrated in the high-level shading language function library: [0004] FLOAT3 REFRACT (FLOAT3 I, FLOAT3 N, FLOAT R) [0005] { [0006] FLOAT COSI = DOT(I,N); [0007] FLOAT COST2=1.0F-R*R*(1.0F-COSI*COSI); [0008] FLOAT3 T=R*I-((R*COSI+SQRT(ABS(COST2)))*N); [0009] RETURN T*(FLOAT3)(COST2>0); [0010]} [0011] Where I is the direction of the inc...

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): G06T15/10
Inventor 刘皓
Owner TENCENT TECH (SHENZHEN) CO LTD