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

AR drawing method combined with physical illumination model

A lighting model and painting method technology, applied in the computer field, can solve problems such as complicated operation and loss of the fun of creating paintings

Active Publication Date: 2019-08-16
HANGZHOU QUWEI SCI & TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Today's human-computer interaction and computer graphics are still in the stage of using a variety of equipment to assist them. The complicated operation makes them lose the fun of creating paintings. Therefore, the combination of AR technology and graphics rendering algorithms is applied to hand-held devices with limited resources and computing power. Mobile terminals have subsequently become a research hotspot

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
  • AR drawing method combined with physical illumination model
  • AR drawing method combined with physical illumination model
  • AR drawing method combined with physical illumination model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] refer to figure 1 , the embodiment of the present invention discloses an AR painting method combined with a physical lighting model, which includes the following steps:

[0050] S1, use the camera on the mobile terminal to take pictures, ARkit captures the current AR scene, and capture the AR scene in real time through the session ARSession management device camera and ARKit to track the relative position and motion data between the device ...

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 an AR drawing method combined with a physical illumination model, and the method comprises the following steps: S1, enabling an ARkit to capture a current AR scene, enabling the ARkit to be rendered to a texture through an OpenGL, and enabling the texture to serve as a background texture; S2, establishing a Scene scene by using Metal + Scene kit; S3, recording 2D screen track coordinates of the paintbrush, obtaining a current camera V matrix and a current camera P matrix, and sequentially converting the 2D screen track coordinates into 3D space coordinate tracks; S4, generating a uniform and smooth 3D space trajectory coordinate by adopting an interpolation and curve smoothing algorithm; S5, calculating data such as vertex coordinates, normal lines, tangent lines, texture coordinates and RGB (red, green and blue) according to the 3D space trajectory coordinates, deducing and constructing 3D geometric figure nodes with a deformation effect according to an ellipsecalculation formula, and adding the nodes into the Scene scene; S6, adopting a PBR physical illumination model to calculate the illumination effect, carrying out multiple sampling to eliminate sawteeth, rendering a Scene scene through Metal, and rendering a 3D graph to OpenGL and Metal shared textures; and S7, fusing the background texture and the shared texture, and rendering the final pattern to the screen by the OpenGL.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to an AR painting method combined with a physical lighting model. Background technique [0002] At present, most space painting technologies are based on VR (virtual reality) space brushes, which need to use VR devices and handles to realize artistic creation in virtual scenes. If there is no glasses reality device as a carrier, it is impossible to experience 3D scene painting. In the era of mobile Internet, electronic mobile terminals and AR (Augmented Reality Technology) are developing rapidly, and augmented reality applications based on mobile terminals are becoming more and more popular. Today's human-computer interaction and computer graphics are still in the stage of using a variety of equipment to assist them. The complicated operation makes them lose the fun of creating paintings. Therefore, the combination of AR technology and graphics rendering algorithms is ...

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/50
CPCG06T15/506Y02B20/40
Inventor 熊永春刘培
Owner HANGZHOU QUWEI SCI & TECH
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