About

I live and work in Wellington, New Zealand.

I run Hackdirt, a company that makes mobile phone games: www.hackdirt.com.

I am occasionally available for freelance iPhone development.

Contact details:

Email: me at davidpetrie.com
Twitter: @davidppp
Skype: david.c.petrie

2 Comments to “About”

  1. george 31 July 2010 at 1:13 pm #

    Hi Dave,

    I downloaded the FTGLES XCode project and was really impressed with the ease of standing up an iPhone app that displayed fonts. I compiled and ran the ‘Hello World’ app on the first try – great.

    What I would like to know is how to get a 3D font effect. I tried the Outline font, but did not get the effect I wanted. I believe I also need to change my projection from Ortho (ref Hello World demo app) to Perspective as well.

    Any help would be greatly appreciated.

    Thanks much,
    George

  2. mph 12 September 2010 at 10:21 pm #

    Hello, i use your wonderful ftgles library and i noticed that there has a big performance issue when FaceSize() method of Font class is called in the render loop.

    Simply check if face size is different than the face size we want to set is a little better :

    By example, instead of :

    font->FaceSize(12);

    Use :

    if (font->FaceSize() != 12) {
    font->FaceSize(12);
    }

    But that is not enough however.

    Is there something wrong to call FaceSize in a render loop ?

    Thank you and sorry for my bad english


Leave a Reply