the 3GS don’t have VFP units.
They have neon but neon has no native support for VFP only its “successor” the Neon. As far as I’m aware, VFP on the 3GS is handled through the cpu, which if you pump it with animation basically can get you on a lower performance than on the 3G class devices which have real vfp.
But you will find out that this is a non problem, because as soon as you start to ramp up the visuals and not just the geometry - animation, the 2nd gen itouch (which cpu wise is in the middle of the 3G and 3GS, just with VFP) will become slower again as it will suffer on that end fast compared to the 3GS
I guess we will see UT implement Neon support or direct switch to an OGL ES 2 mode to use Vertex Shaders, but thats no trivial thing to do as OGL ES2 means that you must do all through shader, the FFP is “kicked out”
thanks dreamora, that makes sense. I didn’t see it as a huge problem as I came to the same conclusion that the GS would be ahead in a full game… it just had me scratching my head quite a bit… and checking and rechecking build configs and so on…
Would be nice to know when Neon native support will be implemented in Unity, just to know if we can start producing content based on this performance boost.
going to bump this. after more testing, this is a big problem for me. animations are jerky on the GS run like glass on the ipod touch 2nd gen and 2nd gen iPhone. I wonder how many devs even have GS’s to test on, but know this… assuming you will get better performance is incorrect. It’s spikey
shaders are also compiling/showing differently which is boggling to me.
a timeline for vertex shaders or support for the new VFP would be appreciated, if it’s too far out I’m camping this project and going back to 2D. My models are optimized, geometry is sane, bone rotations are squeeky clean and I’m getting 20fps on the GS and 50 on the touch…
I appreciate the optimizations that the unity team did on the 2nd gen devices, but understand that I spent a good amount of time planning and designing a game against the 2nd gen devices assuming GS was just candy… finding out this isn’t the case is troubling.
This hasn’t been a problem with any of the shaders I’ve written. Can you show us one that gives you trouble?
I must admit that I’ve been disappointed with how much not-faster my 3GS is than my touch 2G, but it hasn’t actually been slower yet. I’m sometimes able to writes faster subshaders for the 3GS; I wonder if this helps negate the problem you’re having.
Also why do you keep saying “GS”? The G doesn’t mean anything without the 3.
Push in more visuals and the 3GS will easily outperform the second generation.
Especially push in more content and the itouch is completely out due to the memory constraint (in RAM and VRAM)
as long as your game is primarily cpu taxing, the 3GS can’t really shine that much as it is only 20% faster as its primary benefits over the 2nd gen itouch are ram - vram - gpu
before the name was confirmed it was referred to as the GS or ‘2009’. I stuck with GS because it’s a unique identifier and people not involved with dev or iphones in general hear ‘3G’ and ignore the ‘S’… so instead of saying ‘3GS, no, GS, S’ I say ‘GS’.
pedantry aside…
I was and have been fairly excited about the new power vr chip, apparently I’m the only one on the planet because the roadmaps for opengl 2.0 es support is still > 6 mos from everyone… and a vast majority of the games in the app store are 2D anyway and look like flash =/
Having an app that runs slower on the GS just isn’t something I can justify, I know the reason (and understand it… and respect it), but from a customers point of view if I were to say something like ‘oh unity has an optimized code path for the 2nd gen devices’ I’d get blank stares and bad reviews.
Open GL ES 2.x decision to not have any backwards compat is retarded. Yes. Unity having to have 2 totally different code paths depending on device just seems like a looming nightmare… I understand that.
But ‘oh it runs slower on your shiny new phone than the one you pawned off to your wife because I used something called unity’… isn’t a bag I want to hold.
finished games will never run faster on the old devices than the do on the 3GS.
But benchmarks can be faster on the pre 3GS devices, but benchmarks are unrealistic, useless stuff that does only rarely reflect any real world requirement.
Futuremark Vantage is one of the best proofs for that
I’m not going on benchmarks, I’m going on in game performance, on the iphone, of my game. The one currently awaiting acceptance runs 5fps slower… not a huge deal but I didn’t make as extensive use of skinned meshes…my current game is not CPU bound (well other than the bone/skin/animations… which I assumed would be accelerated on the current devices). This isn’t a 2D game moving uv around. It’s positioning skinned meshes using simple one pass shaders and triggering animations based on states. Runs like candy on 2nd gen phone and even better on touch (as expected). chokes on the 3GS. Averages a decent framerate but staggers and pauses doing nothing more than displaying the skinned meshes… no game logic… everything else removed to test this. Are the joints/skins at fault? No, they run on 2nd gen fine and I went through the files with a fine tooth comb.
this isn’t a hobby of mine, this isn’t a case of ‘dissing’ unity. It’s a business decision. I can’t continue to recommend unity for this project. Which blows because until a few days ago I considered it code complete. This also made me look like a fool, but that was my own fault for assuming unity 1.5.1 had the current device in mind.
I like unity, decent authoring environments are nice, but I just needed the rendering engine… scene graph… etc, I don’t even use the editor in any other capacity than to put my code and build the project… and unity does a good job importing the insane FBXs that houdini exports… but between that and POD? I’d go with a format implemented by the gpu designer.
Being in this position is awful as I’ve mentioned, for both unity and a game shop… the thought of handling 2 code paths with a common editor is … ‘ugh’… but the differences between the devices is night and day, like comparing a TNT to a geforce. Stencil… cheap alpha tests… per pixel shaders… VERTEX SHADERS… and getting to the top of that store targeting what 5% install base? with a less feature rich app for the majority. Right now stupid… in another 6 months… not so stupid… Apple would sure feature you more too.
in other news power vr/imagination finally released their powervr sdk (2.5.1) for the mac including importers, shader authoring and preview tool. Time to dust off eberly’s book.