An Iris 2D graphic engine implementation method

A technology of a graphics engine and an implementation method, which is applied in the implementation field of cross-platform 2D graphics engine, can solve the problems of unavailability, porting applications, complex graphics engine design functions, etc., and achieves the effect of improving development efficiency and reducing development burden.

Inactive Publication Date: 2016-08-17
JIANGSU UNIV
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The development of graphics engine uses relatively backward technology, such as Cyclone2D, which uses system drawing functions for graphics drawing, which is very inefficient
[0006] (2) The design function of the graphics engine is too complicated. Although it looks powerful, in fact, there are many functions that are not used by most developers, which increases the learning burden of developers, such as Unity 2D
[0007] (3) The graphics engine cannot support cross-platform very well, which causes the problem that developers cannot easily port their applications to other platforms, such as HGE, which is developed with DirectX 8 and only supports Windows platform
[0008] (4) Although the graphics engine can be cross-platform, the development language is not easy to master, which has caused a lot of trouble for the development and deployment of lightweight applications, such as Cocos2DX, which uses C++ as the development language and supports cross-platform , but C++ is difficult for developers to master, which increases the learning cost for beginners

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
  • An Iris 2D graphic engine implementation method
  • An Iris 2D graphic engine implementation method
  • An Iris 2D graphic engine implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0056] like figure 1 As shown, Iris 2D is generally divided into two parts, that is, the graphics engine part and the virtual machine part running the Iris language. The display and rendering of the entire graphics engine are completed by the graphics engine part, which is responsible for calling the specific platform. The graphics programming interface performs the rendering and displaying of 2D graphics, which guarantees the processing of 2D graphics. There are differences in the graphics programming interface selected for different platforms and the specific development language. For example, the DirectX 11 graphics programming interface is selected on Windows, and C++ is used for development at the same time, while the OpenGL ES graphics programming interface is selected on the Andriod platform. At the same time, Java is used for development; the noun "h...

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 an Iris 2D graphic engine implementation method comprising the steps of (1) selecting different underlayer programming interfaces for different platforms, wherein A DirectX 11 graphic programming interface is used for a Windows platform with the C++ language being used for development and an OpenGL ES graphic programming interface is used for an Android platform with the Java language being used for development, and developing the graphic engines for the corresponding platforms by using the host languages, the graphic engines providing host language interfaces used for external call; (2) developing Iris language virtual machines for the corresponding platforms via the host languages in the step of (1), wherein the virtual machines provide host language interfaces for third-party extension; (3) by calling the interfaces exposed by the graphic engines in the step of (1), compiling the extension of the Iris language virtual machines by using the host languages; (4) during use, uploading the extension in Iris scripts and embedding the IRIS language into the graphic engines for control of the graphic engines and completion of the graphic rendering work. The method is simple, easy to use and great in transportability.

Description

technical field [0001] The invention belongs to the technical field of computer software, and in particular relates to a method for realizing a cross-platform 2D graphic engine with a script system. Background technique [0002] With the development of computer graphics, the hardware cost of graphics equipment continues to decline. All walks of life, especially the game industry, have an increasing demand for graphics processing, rendering, and display on computers. They were all workshops at the beginning. Behind closed doors, write a set of frameworks for yourself to deal with the development of different graphics applications. With the continuous expansion of the consumer market brought about by computer graphics, various ever-changing demands make many manufacturers and developers tired of dealing with their own set of frameworks, which greatly consumes their energy and makes them Feel powerless when faced with many demands. As a result, the industry has gradually reac...

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): G06F9/44
CPCG06F8/34
Inventor 杨洋黄毅
Owner JIANGSU UNIV
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
Try Eureka
PatSnap group products