Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-18-2010, 01:03 PM   #1 (permalink)
iPhone Developer
 
spikeyfish2's Avatar
 
Join Date: Aug 2009
Location: Manchester, UK
Posts: 140
spikeyfish2 is on a distinguished road
Send a message via MSN to spikeyfish2 Send a message via Skype™ to spikeyfish2
Default Creating models for a game

Well, I was thinking about how I would go about making objects for an iPhone Game. When I think of a simple 3d modeler, I think of Google's Sketchup. It's really easy to use, and surprisingly good quality (when used properly). Would it be possible to use that to make models for an iphone game. Also, how would I export the model for use in an iPhone game?
__________________
 iMac i3 3.06GHz, 4GB RAM (Mid-2010)
 Magic Trackpad and Wireless Keyboard
 Licensed iPhone Developer (Alex Blundell)
 iPod Touch (3rd Generation)
 iPad 32GB WiFi
 Support Me! Download:
***iTalk Messenger
***Tennis
***iTalk Messenger Lite!
spikeyfish2 is offline   Reply With Quote
Old 02-18-2010, 06:43 PM   #2 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 192
Abel is on a distinguished road
Default

Quote:
Originally Posted by spikeyfish2 View Post
Well, I was thinking about how I would go about making objects for an iPhone Game. When I think of a simple 3d modeler, I think of Google's Sketchup. It's really easy to use, and surprisingly good quality (when used properly). Would it be possible to use that to make models for an iphone game. Also, how would I export the model for use in an iPhone game?
If you look thru my posts you can find some sample code on loading OBJ format 3D models into your iPhone application. You basically parse in all the vertices and properties into proper structure arrays then use openGL to render these arrays.
__________________
GoFax - Mobile faxing
Tipper
ShareIt
Abel is offline   Reply With Quote
Old 02-18-2010, 08:21 PM   #3 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

Hi guys my first post! I just wanted to mention the md2 format for iPhone. There is a rather good example here. One issue I'm dealing with at the moment is the key frame animation. This format stores all the vertices for each frame and then interpolates them every frame. This is currently causing the greatest bottleneck in my game.

I'm just curious is the obj format better suited to the iPhone? Does it support animation?
headkaze is offline   Reply With Quote
Old 02-18-2010, 08:24 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 192
Abel is on a distinguished road
Default

Quote:
Originally Posted by headkaze View Post
Hi guys my first post! I just wanted to mention the md2 format for iPhone. There is a rather good example here. One issue I'm dealing with at the moment is the key frame animation. This format stores all the vertices for each frame and then interpolates them every frame. This is currently causing the greatest bottleneck in my game.

I'm just curious is the obj format better suited to the iPhone? Does it support animation?
Well the pro to the OBJ format is that its very portable. If you're doing animation its probably the wrong choice though.
__________________
GoFax - Mobile faxing
Tipper
ShareIt
Abel is offline   Reply With Quote
Old 02-18-2010, 08:43 PM   #5 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

I just found this thread which has an interesting post about the POD format.
headkaze is offline   Reply With Quote
Old 02-18-2010, 10:42 PM   #6 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

I just wanted to mention that removing the interoplation for the md2 animation reduced the 20% bottleneck seen in Shark to 0%. So if you use md2 for animation I suggest you remove it.
headkaze is offline   Reply With Quote
Old 02-21-2010, 03:45 AM   #7 (permalink)
Registered Member
 
finefin's Avatar
 
Join Date: Jun 2009
Posts: 259
finefin is on a distinguished road
Default

Quote:
Originally Posted by headkaze View Post
Hi guys my first post! I just wanted to mention the md2 format for iPhone. There is a rather good example here.
Thanks for the link! it looks like one can learn a lot from that example project.
__________________

I help you, you buy my app - you help me, I buy your app

PARALLAX, The Book Of Sayings - chopped up edition! (HD),omicron,
Canupa Band deluxe (universal), Canupa Band FREE!, Your Face --- follow me on twitter
finefin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 401
8 members and 393 guests
13dario13, iOS.Lover, JackReidy, jeroenkeij, Leslie80, Wikiboo, Yosh_K
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:44 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0