Ichartjs is an HTML5-based graphics library. Use the pure javascript language and the canvas label of html5. Ichartjs provides simple, intuitive, and Interactive Graphic components for web applications. Is a web Chart solution. I recently learned HTML5 and used ichartjs to practice it. Ichartjs currently supports pie chart, line chart, Area Chart, column chart, and bar chart. Ichartjs is an open-source project based on the Apache License 2.0 protocol. Today we will introduce how to dynamically i
These Android 3D Game Development articles are originally written by Martin, a German, at droidnova.com. lixinso is translated into Chinese.
The fifth part of the series describes how to create your first complete 3D object. This case is a four-sided pyramid.
In order to make the subsequent development easier, we need to make some preparations here.
We must incre
I am so ashamed to myself. I have been looking for a long time to use ndk to develop openggl es learning materials and I have not found any suitable materials (if I find that I cannot understand the English language, the program is too complicated and I cannot start with it), so I should first write it in Java, then I published an article about using ndk to accomplish the same function!
The methods in the program are translated and understood on the OpenGL es api. Please forgive me for not makin
Small man (Bill man) Personal Original, welcome to reprint, reprint please indicate the address, small man (Bill man) column address http://blog.csdn.net/bill_man
This article introduces the basic lighting knowledge in Android 3D OpenGL ES. In Android Java Development, GL is used. glable (gl10.gl _ lighting) enables the light source. However, it is worth noting t
I wanted to learn 3d a long time ago, but I never had time. Recently, I was able to learn 3d;Write the voice today:There are two types of sounds in the game: Background Music and action music;What is the difference between them: background music, which takes a long time relative to motion music. So in this way, I can cite it in two ways: normal music (background music ), pool playback (action music)
(1) poo
This is the 3D Air combat game source code, like friends can study it.SOURCE Download: http://code.662p.com/view/3958.html650) this.width=650; "id=" aimg_1189 "src=" http://android.662p.com/data/attachment/forum/201310/21/ 221338issslksorejtnrbk.png "class=" Zoom "width=" 448 "style=" border:0px; "alt=" 221338issslksorejtnrbk.png "/>650) this.width=650; "id=" aimg_1190 "src=" http://
back to the topic of triangle plotting. We can do this in four steps.
First, enable vertex array and color array for some initialization content.
Gl. glableclientstate (gl10.gl _ vertex_array); // enables the vertex coordinate array.
Gl. glableclientstate (gl10.gl _ color_array); // enables the vertex color array.
Specify the vertex coordinate data for the paint brush.
Gl. glvertexpointer (3, gl10.gl _ fixed, 0, myvertexbuffer );
The first parameter is the number of vertex coordinates, the seco
By he minggui (http://blog.csdn.net/hmg25) reprint please indicate the sourceThrough the previous article-concepts, we will write a simple getting started program today to implement a color cube that continuously rotates around the X axis and Y axis. The effect is as follows:
In Android, we use GLSurfaceView to display OpenGL views. GLSurfaceView is a very important class, which is located in android. the
These Android 3D Game Development articles are originally written by Martin, a German, at droidnova.com. lixinso is translated into Chinese.
The fourth part of this series shows how to add colors to triangles.
In the previous section, we created a second static triangle to verify that we rotate a triangle instead of the entire scenario. Here we delete this static triangle. Delete the initstatictriangle () f
When it comes to the first step, the most likely response is to use OpenGL ES .... However, to achieve such a small function, to use this thing, inexplicable fear Ah!!!! So far I have not figured out how to play this ...Well, fortunately, there's a camera class that can help us, and it's said that the underlying implementation is also using OpenGL ESNote: The Android.graphics.Camera is usedWords not much to say, directly on the code: Public class_3danimationextendsAnimation {Private floatmfromd
( rquest1animation); Initmain (); layoutmain.startanimation (rquest2animation); break;}}; public void Initanimation () {//Get rotation center displaymetrics DM = new Displaymetrics ();d m =Getresources (). Getdisplaymetrics () Mcenterx = Dm.widthpixels/2;mcentery = dm.heightpixels/2;//defines the direction of rotation int duration = 10 00;lquest1animation = new Rotate3d (0, -90, Mcenterx, mcentery);//The direction of rotation of the next page (from 0 degrees to 90, The reference system is a hor
These Android 3D Game Development articles are originally written by Martin, a German, at droidnova.com. lixinso is translated into Chinese.
The sixth part of this series focuses on how to create the right view, Because 3D makes no sense without the right view.
Before starting, we need to discuss the two views provided by OpenGL: Orthogonal and projection.
Orthog
effectCamerairishollowopen//Camera lens open effect (does not support transition direction) Camerairishollowclose//Camera lens Close effect (no transition direction is supported)Transition Direction Kcatransitionfromright Kcatransitionfromleft The use of kcatransitionfrombottomkcatransitionfromtopcatransition catransition *anim = [Catransition animation];anim.type= @ "Cube";//Animation transition typeAnim.subtype = Kcatransitionfromtop;//Animation transition DirectionAnim.duration =1;//animatio
connections, 2 to 3 connections, and 3 to 0 connections.
5. gl_triangles
3n, 3N + 1, and 3N + 2 vertices form a triangle, and the remainder vertex left is ignored. For example, (,) is an index, and 1, 2, and 3 constitute a triangle, 4, 5, and 6 form a triangle.
6. gl_triangles_strif
Connect two adjacent vertices into a triangle. Different from the preceding vertex, the nth vertex is connected to the nth vertex, for example (,) as the index, A triangle consists of 0, 1 and 2, and a triangle cons
(Material source code) Cat and cat learning IOS () core of UI animation two lines of code to deal with 3D transfer (android CRYING), iosandroid
CAT/CAT sharing, must be excellent
For Original Articles, please reprint them. Reprinted Please note: Yan Nai-yu's blogHttp://blog.csdn.net/u013357243? Viewmode = contentsSource Material address: http://download.csdn.net/detail/u013357243/8677065Effect:
Code:
# Imp
Developed by these Android 3D gamesArticleThe original article was written by Martin, a German at droidnova.com. lixinso was translated into Chinese.
In the third part of this series, I will show you how to stop the rotation of the triangle and tell you that the original rotation is actually only the rotation of the triangle, instead of rotating on the camera "camera.
We hope to have more control over t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.