Supercharge Your Innovation With Domain-Expert AI Agents!

A 3D glasses rendering method based on OpenGL and a system thereof

A technology for 3D glasses and models, applied in the field of 3D rendering, can solve problems such as difficult to widely use, difficult to implement, and extremely high computing power requirements of equipment, and achieve the effects of simple calculation, good simulation effect, and high rendering performance.

Pending Publication Date: 2018-12-18
GUANGZHOU GOMO SHIJI TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This implementation has the best effect, but it is extremely difficult to implement and requires extremely high computing power of the device, so it is difficult to be widely used

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 3D glasses rendering method based on OpenGL and a system thereof
  • A 3D glasses rendering method based on OpenGL and a system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] like figure 1 Shown, a kind of 3D glasses rendering system based on OpenGL, described system comprises:

[0028] The model unit is used to establish the 3D glasses model, and determines the first anchor point on the 3D glasses model, and is used to locate the wearing position of the 3D glasses model on the human face; the model unit presets the corresponding The artificial head model data is based on the first anchor point, and the artificial head model is established according to the preset artificial head model data, and the second anchor point is determined on the artificial head model; the 3D glasses model is consistent with the anchor point of the artificial head model, then It can be changed synchronously during rendering;

[0029] The drawing unit utilizes the OpenGL frame buffer technology to first bind the frame buffer to a depth buffer, a temporary color buffer, and a color buffer; Use the depth buffer generated by the humanoid head model to provide occlus...

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 provides a 3D glasses rendering method based on OpenGL. The method comprises the steps of determining a first anchor point on the 3D spectacle model for positioning a wearing position ofthe 3D spectacle model on a human face; according to the 3D glasses model data, presetting the corresponding human head model data is; based on the first anchor point, establishing a simulated humanhead model, and determining the second anchor point on the simulated human head model; during drawing, first binding the a frame buffer to a depth buffer, a temporary color buffer, and a color buffer;drawing a human-simulated head model in the depth buffer and temporary color buffer; switching from a temporary color buffer to a color buffer, keeping the depth buffer unchanged, and drawing a 3D glasses model according to a second anchor point of the humanoid head model; drawing the frame buffer to the screen for display, and getting the simulation 3D glasses model which can be partially displayed based on the face steering. The invention also provides a 3D glasses rendering system based on OpenGL.

Description

technical field [0001] The invention belongs to the technical field of 3D rendering, and in particular relates to an OpenGL-based 3D glasses rendering method and system thereof. Background technique [0002] At present, there are three general implementations of 3D glasses rendering for face tracking. [0003] The first is to divide the 3D model of the glasses into at least 3 parts - the left frame, the lens, and the right frame, and then determine the display of the left and right frames according to the face Yaw attitude angle obtained by face detection. For example, when the face is biased to the left , the left frame is not displayed; when the face is tilted to the right, the right frame is not displayed; when the face is facing the screen, neither the left nor the right frame is displayed. This method is the easiest to implement, but it is not enough to simulate because the entire frame is not drawn. [0004] The second is to obtain the 3D model of the face in real ti...

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 Applications(China)
IPC IPC(8): G06T15/00G06T19/00
CPCG06T15/005G06T19/006
Inventor 邓裕强阮杰维区永强
Owner GUANGZHOU GOMO SHIJI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More