Feeds

Apple iOS 5's hidden 3D revealed

Aussie dev's tweak could mean spinning teapots for all

Combat fraud and increase customer satisfaction

iOS 5, the latest OS for Apple trinkets, has hidden depths in the form of support for 3D objects embedded in web pages though the use of WebGL, and not just for paying customers.

At first it seemed that WebGL would only be available for advertisements using Apple's iAd framework, but Aussie developer Nathan de Vries has worked out how to get a 3D render out of the iAd frame and into web component of any application, though notes he had to use a few private APIs to get there.

WebGL is today's attempt to get 3D objects into web pages, using JavaScript this time around. It's not as interactive as the HTML-based VRML was, though watching the rotating-teapot demonstration one is struck by a certain sense of nostalgia. WebGL is heavily backed by Google, and Apple, with the latter announcing that iOS would support the standard back in June, but only within advertisements.

Having tested the iAd support for WebGL, Nathan de Vries started looking at the private frameworks being called to make it happen. Linking against the same private frameworks enables WebGL to be used within embedded web views, and outside iAd. Nathan then took the next, and most impressive, step of disassembling those private blocks to work out, and replicate, what they do.

He has posted demonstration projects, so everyone can have a go dropping WebGL code into their iOS applications, but it's worth noting that as such applications make use of private APIs, they're probably not going to get through Apple's approval process for listing in the iTunes store.

Nathan reckons that's not important – his interest is academic – and he concludes that the hidden functionality indicates that Apple has long-term plans to support WebGL more widely, rather than restricting it to their paying customers via iAd. ®

High performance access to file storage

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.