------------------------------------------------------------------------
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应用开发揭秘-源码.rar
共2000个文件
class:1141个
java:395个
xml:381个
5星 · 超过95%的资源 需积分: 10 20 下载量 65 浏览量
2010-08-17
09:09:46
上传
评论
收藏 27.62MB RAR 举报
温馨提示
Android应用开发揭秘-源码.rarAndroid应用开发揭秘-源码.rar
资源详情
资源评论
资源推荐
收起资源包目录
Android应用开发揭秘-源码.rar (2000个子文件)
resources.ap_ 4.26MB
resources.ap_ 809KB
resources.ap_ 414KB
resources.ap_ 414KB
resources.ap_ 307KB
resources.ap_ 169KB
resources.ap_ 161KB
resources.ap_ 160KB
resources.ap_ 145KB
resources.ap_ 80KB
resources.ap_ 68KB
resources.ap_ 66KB
resources.ap_ 54KB
resources.ap_ 54KB
resources.ap_ 48KB
resources.ap_ 47KB
resources.ap_ 44KB
resources.ap_ 43KB
resources.ap_ 41KB
resources.ap_ 41KB
resources.ap_ 41KB
resources.ap_ 37KB
resources.ap_ 35KB
resources.ap_ 34KB
resources.ap_ 34KB
resources.ap_ 34KB
resources.ap_ 34KB
resources.ap_ 34KB
resources.ap_ 32KB
resources.ap_ 31KB
resources.ap_ 31KB
resources.ap_ 31KB
resources.ap_ 31KB
resources.ap_ 30KB
resources.ap_ 26KB
resources.ap_ 24KB
resources.ap_ 23KB
resources.ap_ 22KB
resources.ap_ 15KB
resources.ap_ 13KB
resources.ap_ 13KB
resources.ap_ 12KB
resources.ap_ 11KB
resources.ap_ 10KB
resources.ap_ 10KB
resources.ap_ 10KB
resources.ap_ 9KB
resources.ap_ 8KB
resources.ap_ 8KB
resources.ap_ 8KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 7KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
resources.ap_ 6KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
laolaowhn
- 粉丝: 200
- 资源: 67
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1