Feeds

Apple iOS 5's hidden 3D revealed

Aussie dev's tweak could mean spinning teapots for all

Security for virtualized datacentres

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

Choosing a cloud hosting partner with confidence

More from The Register

next story
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
Yes, Virginia, there IS a W3C HTML5 standard – as of now, that is
You asked for it! You begged for it! Then you gave up! And now it's HERE!
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
Protecting against web application threats using SSL
SSL encryption can protect server‐to‐server communications, client devices, cloud resources, and other endpoints in order to help prevent the risk of data loss and losing customer trust.