------------------------------------------------------------------------
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 L�nnberg (!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.
------------------------------------------------------------------------
没有合适的资源?快使用搜索试试~ 我知道了~
Android NDK sample
共123个文件
xml:28个
c:19个
mk:18个
4星 · 超过85%的资源 需积分: 10 206 下载量 190 浏览量
2013-08-15
18:42:43
上传
评论 1
收藏 14.33MB RAR 举报
温馨提示
在Windows中的安裝Android NDK開發環境 範例程式包含hello jni hello gl2 等
资源推荐
资源详情
资源评论
收起资源包目录
Android NDK sample (123个子文件)
native-audio-jni.c 27KB
demo.c 23KB
gl3stub.c 20KB
native-media-jni.c 19KB
plasma.c 14KB
plasma.c 11KB
main.c 10KB
app-linux.c 8KB
app-win32.c 7KB
helloneon.c 5KB
importgl.c 5KB
app-android.c 3KB
helloneon-intrinsics.c 2KB
hello-jni.c 1KB
second.c 899B
first.c 692B
foo.c 391B
bar.c 77B
zoo.c 62B
gles3jni.cpp 8KB
gl_code.cpp 6KB
RendererES3.cpp 5KB
RendererES2.cpp 4KB
test-libstl.cpp 72B
android_clip.h 54KB
hello_clip.h 45KB
gl3stub.h 35KB
importgl.h 7KB
shapes.h 4KB
gles3jni.h 3KB
cams.h 3KB
app.h 2KB
helloneon-intrinsics.h 839B
first.h 712B
bar.h 272B
foo.h 73B
NativeMedia.java 14KB
GL2JNIView.java 13KB
MyGLSurfaceView.java 12KB
NativeAudio.java 11KB
DemoActivity.java 4KB
HelloJni.java 2KB
GLES3JNIView.java 2KB
Plasma.java 2KB
TwoLibs.java 1KB
GLES3JNIActivity.java 1KB
GL2JNIActivity.java 1KB
HelloNeon.java 1KB
GL2JNILib.java 973B
GLES3JNILib.java 912B
HelloJniTest.java 655B
TwoLibsTest.java 646B
Android.mk 1KB
Android.mk 935B
Android.mk 906B
Android.mk 899B
Android-11.mk 899B
Android.mk 885B
Android-18.mk 862B
Android.mk 808B
Android.mk 748B
Android.mk 575B
Android.mk 371B
Android.mk 293B
Android.mk 199B
Android.mk 183B
Application.mk 128B
Application.mk 127B
Application.mk 78B
Application.mk 27B
background.mp3 2.45MB
icon.png 3KB
icon.png 3KB
build.properties 833B
default.properties 450B
default.properties 365B
default.properties 365B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 364B
default.properties 121B
README 1KB
NativeMedia.ts 11.96MB
license-LGPL.txt 26KB
README.txt 4KB
license-BSD.txt 2KB
license.txt 890B
README.txt 303B
README.TXT 301B
README.txt 212B
main.xml 5KB
main.xml 4KB
AndroidManifest-18.xml 1KB
AndroidManifest-11.xml 1KB
AndroidManifest.xml 1KB
共 123 条
- 1
- 2
kent_kent
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于python实现的三次样条插值和均值插值法实现
- Python语言教程2-python批量图片大小处理-多文件夹
- Python语言教程1-python批量图片重命名,将后缀某几个不想要的字去除
- Space Combat Kit 太空战斗套件Unity游戏开发插件资源unitypackage C#
- Universal Device Preview 通用设备预览Unity游戏开发插件资源unitypackage
- Paladin Anim Set 圣骑士动画集Unity游戏动作动画插件资源unitypackage
- 计算机财务管理期末考报表部分题目及答案.doc
- 计算机软件维护论文.doc
- 计算机软件著作权授权书.docx
- 计算机键盘教学案例.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页