2008-08-21 10:15:54
Irrlicht 3D engine
[ 2009-12-22 19:29:20 | 作者: ccloveaa ]
http://www.irrlicht3d.org/wiki/index.php?n=Main.IrrlichtEngineWiki
http://www.irrlicht3d.org/
http://irrlicht.sourceforge.net/
1: Download irrlicht engine from: http://irrlicht.svn.sourceforge.net/viewvc/irrlicht/branches/ogl-es/
2: Create a new window base iphone app, add include and source folder into the project. add include in the include search path in xcode.
3: Add Foundation CoreGraphic ...
http://www.irrlicht3d.org/
http://irrlicht.sourceforge.net/
1: Download irrlicht engine from: http://irrlicht.svn.sourceforge.net/viewvc/irrlicht/branches/ogl-es/
2: Create a new window base iphone app, add include and source folder into the project. add include in the include search path in xcode.
3: Add Foundation CoreGraphic ...
Iphone development custom FONT
[ 2009-11-26 15:47:59 | 作者: ccloveaa ]
iphone上面应用自定义的truetype字体
#import <dlfcn.h>
....
typedef bool (*A_FUNC_TYPE)(const char*);
NSUInteger LOAD_FONT(){
NSUInteger newFontCount = 0;
NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier:@"com.apple.GraphicsServices"];
const char *frameworkPath = [[frameworkBundle executablePath] UTF8String];
if (frameworkPath) {
void *graphicsServices = dlopen(frameworkPath, RTLD_NOLOAD | RTLD_LAZY);
...
#import <dlfcn.h>
....
typedef bool (*A_FUNC_TYPE)(const char*);
NSUInteger LOAD_FONT(){
NSUInteger newFontCount = 0;
NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier:@"com.apple.GraphicsServices"];
const char *frameworkPath = [[frameworkBundle executablePath] UTF8String];
if (frameworkPath) {
void *graphicsServices = dlopen(frameworkPath, RTLD_NOLOAD | RTLD_LAZY);
...
Iphone FPS caculate
[ 2009-11-26 15:44:59 | 作者: ccloveaa ]
传统的FPS计算一般用clock() 和CLOCKS_PER_SECOND来计算,但Iphone上面好像clock()不太好用,要么就是CLOCKS_PER_SECOND不准.
需要用到Iphone的SDK来计算了,虽然我很讨厌Iphone自己的东西,但没办法,谁让你在上面开发呢
CODE:
static unsigned int fps_tmp = 0;
static unsigned int fps = 0;
static NSTimeInterval start_time = [NSDate timeIntervalSinceReferenceDate];
if(([NSDate timeIntervalSinceReferenceDate] - start_time) >= 1.0)
{
fps = fps_tmp;
...
需要用到Iphone的SDK来计算了,虽然我很讨厌Iphone自己的东西,但没办法,谁让你在上面开发呢
CODE:
static unsigned int fps_tmp = 0;
static unsigned int fps = 0;
static NSTimeInterval start_time = [NSDate timeIntervalSinceReferenceDate];
if(([NSDate timeIntervalSinceReferenceDate] - start_time) >= 1.0)
{
fps = fps_tmp;
...
几个讨论Iphone开发的论坛
[ 2009-11-18 12:08:09 | 作者: ccloveaa ]
想写些Iphone开发的东西
[ 2009-11-18 12:02:21 | 作者: ccloveaa ]
想写些iphone开发的东西,自己最近懒了很多,人不应该这样活着,从今天起,开始写Iphone开发相关的东西,今天开始争取每天更新Blog.
WMp3 C++ class for Windows (ver. 2.1)
[ 2008-12-04 22:39:00 | 作者: ccloveaa ]
WMp3 C++ class for Windows (ver. 2.1)
This is simple C++ class for playing mp3 files. It has integrated LIBMAD 0.15.1b mp3 decoder and you don't need additional library or dll etc. The simplest way to play mp3 files in your C++ projects.
Just 3 lines of C++ code and you are playing mp3 file.
Features:
support Layer1, Layer2 and Layer3.
support free format bitstream ( e.g. bitrate over 320 kbps )
...
This is simple C++ class for playing mp3 files. It has integrated LIBMAD 0.15.1b mp3 decoder and you don't need additional library or dll etc. The simplest way to play mp3 files in your C++ projects.
Just 3 lines of C++ code and you are playing mp3 file.
Features:
support Layer1, Layer2 and Layer3.
support free format bitstream ( e.g. bitrate over 320 kbps )
...
cross platform 3d library(free for non commercial use)
[ 2008-12-04 22:37:11 | 作者: ccloveaa ]
http://www.ambiera.com/irrklang/features.html
irrKlang Features
irrKlang is a powerful high level API for playing back sound in 3D and 2D applications like games, scientific visualizations and multimedia applications. It is a cross platform 2D and 3D sound engine and audio library, usable in C++ and all .NET languages (C#, VisualBasic.NET, etc) and provides useful features like lots of built-in ...
irrKlang Features
irrKlang is a powerful high level API for playing back sound in 3D and 2D applications like games, scientific visualizations and multimedia applications. It is a cross platform 2D and 3D sound engine and audio library, usable in C++ and all .NET languages (C#, VisualBasic.NET, etc) and provides useful features like lots of built-in ...
vld 内存泄漏工具(Visual Leak Detector )
[ 2008-10-06 13:23:06 | 作者: ccloveaa ]







