Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for achieving operation by combining three-dimensional rendering engine with JavaScript script engine

A script engine and three-dimensional rendering technology, applied in the computer field, can solve problems such as error debugging, unfavorable project site, unfavorable dynamic update code, etc., to avoid data copying and improve efficiency.

Active Publication Date: 2021-01-29
北京优锘科技股份有限公司
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for realizing operation of a three-dimensional rendering engine combined with a JavaScript scripting engine, which can solve the problems that the current Unity 3D cannot modify the code when it is running, which is not conducive to the debugging of project site errors, and is also not conducive to the problem of dynamically updating the code

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 for achieving operation by combining three-dimensional rendering engine with JavaScript script engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Hereinafter, an embodiment of a method for realizing operation of a 3D rendering engine in combination with a JavaScript script engine of the present invention will be described with reference to the accompanying drawings.

[0047] The examples described here are specific specific implementations of the present invention, and are used to illustrate the concept of the present invention. They are all explanatory and exemplary, and should not be construed as limiting the implementation of the present invention and the scope of the present invention. In addition to the embodiments described here, those skilled in the art can also adopt other obvious technical solutions based on the claims of the application and the content disclosed in the description, and these technical solutions include making any obvious replacements for the embodiments described here. and modified technical solutions.

[0048] Such as figure 1 As shown, the present invention provides a method for impl...

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 method for achieving operation by combining a three-dimensional rendering engine with a JavaScript script engine, which comprises the following steps of: compiling Node.js into a dynamic link library Node.dll, and performing code adjustment; loading the Node.dll by the Unity 3D code; exporting the JavaScript class corresponding to the class in the Unity 3D is exported to Node.js; and carrying out data transmission between the JavaScript and the Unity 3D. According to the method, Node.js is embedded into a system in the form of a plug-in in the Unity 3D, various internal classes of the Unity 3D are exposed to JavaScript through reflection, and the purpose of using the JavaScript to run in the Unity 3D is achieved by compiling JavaScript codes.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for realizing operation of a three-dimensional rendering engine combined with a JavaScript script engine. Background technique [0002] The existing 3D rendering engine Unity 3D is a 3D development tool and rendering engine. It writes code through C#, and then compiles and executes it. However, its disadvantage is that it cannot modify the code during runtime, which is not conducive to debugging errors on the project site, and is also not conducive to dynamic updates. Code, which is not conducive to the development and delivery of the project. [0003] In the existing solution, there is a solution to the problem of modifying the code at the project site by embedding Lua script in Unity 3D, but this method has the technical defects that it cannot be debugged and the code cannot be adjusted during runtime. Contents of the invention [0004] The purpose of the present ...

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/00G06T17/00G06F8/20G06F8/41
CPCG06F8/24G06F8/41G06T15/005G06T17/00
Inventor 黄正雨李鉴
Owner 北京优锘科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products