13141516

所属分类:游戏
开发工具:Unix_Linux
文件大小:1771KB
下载次数:124
上传日期:2010-04-21 14:56:14
上 传 者fengtianliang
说明:  AndroidOpenGL综合,粒子系统,游戏引擎实现,优化技术,Android NDK开发
(AndroidOpenGL synthesis, particle systems, game engine implementation, optimization, Android NDK development)

文件列表:
第16章\HelloNDK\Application.mk (72, 2009-10-25)
第16章\HelloNDK\project\.classpath (280, 2009-10-25)
第16章\HelloNDK\project\.project (844, 2009-10-25)
第16章\HelloNDK\project\AndroidManifest.xml (688, 2009-10-25)
第16章\HelloNDK\project\bin\classes.dex (2880, 2009-10-30)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\HelloNDK.class (1344, 2009-10-30)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\Jni.class (356, 2009-10-25)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\R$attr.class (364, 2009-10-25)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\R$drawable.class (424, 2009-10-25)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\R$layout.class (418, 2009-10-25)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\R$string.class (451, 2009-10-25)
第16章\HelloNDK\project\bin\com\yarin\android\HelloNDK\R.class (537, 2009-10-25)
第16章\HelloNDK\project\bin\HelloNDK.apk (9923, 2009-10-30)
第16章\HelloNDK\project\bin\resources.ap_ (5677, 2009-10-25)
第16章\HelloNDK\project\default.properties (364, 2009-10-25)
第16章\HelloNDK\project\gen\com\yarin\android\HelloNDK\R.java (648, 2009-10-25)
第16章\HelloNDK\project\jni\.cproject (15529, 2009-10-25)
第16章\HelloNDK\project\jni\.project (2469, 2009-10-25)
第16章\HelloNDK\project\jni\Android.mk (768, 2009-10-25)
第16章\HelloNDK\project\jni\com_yarin_android_HelloNDK_Jni.c (471, 2009-10-25)
第16章\HelloNDK\project\jni\com_yarin_android_HelloNDK_Jni.h (752, 2009-10-25)
第16章\HelloNDK\project\libs\armeabi\libHelloNDK.so (2636, 2009-10-25)
第16章\HelloNDK\project\res\drawable\icon.png (3180, 2009-10-25)
第16章\HelloNDK\project\res\layout\main.xml (382, 2009-10-25)
第16章\HelloNDK\project\res\values\strings.xml (167, 2009-10-25)
第16章\HelloNDK\project\src\com\yarin\android\HelloNDK\HelloNDK.java (593, 2009-10-30)
第16章\HelloNDK\project\src\com\yarin\android\HelloNDK\Jni.java (195, 2009-10-25)
第16章\san-angeles\Application.mk (74, 2009-07-29)
第16章\san-angeles\project\.classpath (280, 2009-11-04)
第16章\san-angeles\project\.project (848, 2009-11-04)
第16章\san-angeles\project\AndroidManifest.xml (658, 2009-07-29)
第16章\san-angeles\project\bin\classes.dex (3428, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\DemoActivity.class (1094, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\DemoGLSurfaceView.class (1000, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\DemoRenderer.class (1164, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\R$attr.class (352, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\R$layout.class (406, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\R$string.class (410, 2009-11-04)
第16章\san-angeles\project\bin\com\example\SanAngeles\R.class (455, 2009-11-04)
第16章\san-angeles\project\bin\DemoActivity.apk (13709, 2009-11-04)
... ...

------------------------------------------------------------------------ San Angeles Observation OpenGL ES version example Copyright 2004-2005 Jetro Lauha Web: http://iki.fi/jetro/ See file license.txt for licensing information. ------------------------------------------------------------------------ This is an OpenGL ES port of the small self-running demonstration called "San Angeles Observation", which was first presented in the Assembly'2004 event. It won the first place in the 4 KB intro competition category. The demonstration features a sightseeing of a futuristic city having many different kind of buildings and items. Everything is flat shaded with three different lights. The original version was made for desktop with OpenGL. It was naturally heavily size optimized in order to fit it in the size limit. For this OpenGL ES version example much of the code is cleaned up and the sound is removed. Also detail level is lowered, although it still contains over 60000 faces. The Win32 (2000/XP) binary package of original version is available from this address: http://jet.ro/files/angeles.zip First version of this OpenGL ES port was submitted to the Khronos OpenGL ES Coding Challenge held in 2004-2005. As a code example, this source shows the following: * How to create a minimal and portable ad hoc framework for small testing/demonstration programs. This framework compiles for both desktop and PocketPC Win32 environment, and a separate source is included for Linux with X11. * How to dynamically find and use the OpenGL ES DLL or shared object, so that the library is not needed at the compile/link stage. * How to use the basic features of OpenGL ES 1.0/1.1 Common Lite, such as vertex arrays, color arrays and lighting. * How to create a self contained small demonstration application with objects generated using procedural algorithms. As the original version was optimized for size instead of performance, that holds true for this OpenGL ES version as well. Thus the performance could be significantly increased, for example by changing the code to use glDrawElements instead of glDrawArrays. The code uses only OpenGL ES 1.0 Common Lite -level function calls without any extensions. The reference OpenGL ES implementations used for this application: * Hybrid's OpenGL ES API Implementation (Gerbera) version 2.0.4 Prebuilt Win32 PC executable: SanOGLES-Gerbera.exe * PowerVR MBX SDK, OpenGL ES Windows PC Emulation version 1.04.14.0170 Prebuilt Win32 PC executable: SanOGLES-PVRSDK.exe Note that DISABLE_IMPORTGL preprocessor macro can be used to specify not to use dynamic runtime binding of the library. You also need to define preprocessor macro PVRSDK to compile the source with PowerVR OpenGL ES SDK. The demo application is briefly tested with a few other OpenGL ES implementations as well (e.g. Vincent, GLESonGL on Linux, Dell Axim X50v). Most of these other implementations rendered the demo erroneously in some aspect. This may indicate that the demo source could still have some work to do with compatibility and correct API usage, although the non-conforming implementations are most probably unfinished as well. Thanks and Acknowledgements: * Toni Lnnberg (!Cube) created the music for original version, which is not featured in this OpenGL ES port. * Sara Kapli (st Rana) for additional camera work. * Paul Bourke for information about the supershapes. ------------------------------------------------------------------------

近期下载者

相关文件


收藏者