How to get Ogre3D running on iOS in 15 minutes!

1649 篇文章 11 订阅
1407 篇文章 2 订阅

This tutorial details how to use the iOS Ogre3D SDK to get an Ogre project up and running FAST!

This tutorial was made using Ogre 1.7.3 and Xcode 4. 
This tutorial assumes you are running OSX, have Xcode installed, and a dev capable device connected.

 

Step 1) Download the iOS SDK

All SDKs for Ogre, including the Ogre iOS SDK can be found HERE(external link) 

Once downloaded, copy it to an appropriate directory. 
I like to set up my builds as shown in the example below: 
Image

  

Step 2) Install Xcode project templates (for Ogre3D/iOS)

You can find Xcode project templates HERE(external link) 
Follow the path into: ogre-dependencies-mac > your ogre version > download the proper template for your version of Xcode

Follow the steps of the installer (if you have Xcode open you don't need to close it).

  

Step 3) Open Xcode and start a new project.

Choose the appropriate template, be sure to choose the iOS template and not to choose the OSX template. 
Image

  

Step 4) Configure Project

  
Point the template to the directory you used in Step 1 
Image

  

Step 5) Fix paths

If you used the Ogre SDK and did not build Ogre from the source, you likely need to change the library paths. 
For SDK Users, go to your project > build settings > Library Search Paths 
If you used the same paths I did above, the paths should be as shown: 
Image

  

Step 6) Run

After it compiles BEHOLD the Ogre head on your device!

Contributors to this page: jacmoe180265 points  . 
Page last modified on Thursday 25 of August, 2011 12:47:06 UTC by jacmoe180265 points .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值