Feeds

Apple iOS 5's hidden 3D revealed

Aussie dev's tweak could mean spinning teapots for all

Seven Steps to Software Security

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. ®

Mobile application security vulnerability report

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.