POV-Ray : Newsgroups : povray.off-topic : povray to Objective-C: game dev environments : Re: povray to Objective-C: game dev environments Server Time
28 Jul 2024 22:17:28 EDT (-0400)
  Re: povray to Objective-C: game dev environments  
From: Warp
Date: 26 Oct 2012 11:00:18
Message: <508aa582@news.povray.org>
Btw, there are two possible approaches at making a 2D game for the iPhone.
On is trying to use the Cocoa library for everything, the other is using
OpenGL ES (although, as said, you seldom want to use it directly, and
instead you want to use a game engine that works on top of it.)

Trying to do it with Cocoa may at first seem easy, but you'll quickly find
out its limitations. It's quite inefficient at drawing tons of graphics,
and there are severe limitations on what you can do (for example you can't
place sprites at sub-pixel positions.) The inefficiency is the major problem.
Just one single particle effect could be too much for it to handle.

With OpenGL ES you practically don't need to concern yourself with
efficiency. You could have a hundred particle effects with a total of
tens of thousands of particles on screen at the same time, and you may
well get a good 60 FPS framerate.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.