andrew_ Posted August 21, 2015 Share Posted August 21, 2015 The example at the link below breaks the office iPad 4... there's an animation rotating the camera and after rotating through about 90 degrees the page freezes. http://www.babylonjs-playground.com/#L1EXZ#17 It is a cut down sample based on the standard "Environment" sample on the playground. I've put in the animation so that the user "doesn't have to do anything" to see the problem, but actually to break this on iPad4 the animation isn't needed... Take the animation out and just rotate the camera around (by dragging with your finger on the iPad) and the page freezes pretty soon just with the skybox. If you download the .zip, you'll see the jpgs used aren't that big... around 20KB ... (97KB for the 6 of them). Thank you very much for helping if you can. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted August 21, 2015 Share Posted August 21, 2015 What is an iPad 4? Never heard of it. I tried your playground on a 10" iPad Air 2 wt the little thumb reader. The animation stopped without going all the way around, but I was unable to reproduce your freezing, using a finger afterward. I pinched / zoomed / doodled for over a minute. Frame rate was 60. Version of OS was 8.4.1. Do you mean iPhone 4? andrew_ 1 Quote Link to comment Share on other sites More sharing options...
andrew_ Posted August 24, 2015 Author Share Posted August 24, 2015 Thanks for trying the test app out for me.iTunesConnect calls the device an "iPad 4th Generation" ... I have just always thought it was (loosely speaking) referred to as an iPad 4 ... I've seen other people doing that.The model number is MD511ZP/AThe os is 8.4.1 (12H321) ie. the latest, but on the previous OS update the test app behaved in just the same way. EDIT: Ah, having now done some goolging, I understand the reason for the confusion: Wikipedia says: https://en.wikipedia.org/wiki/IPad_(4th_generation) "The fourth-generation iPad (originally marketed as iPad with Retina display, retrospectively marketed as the iPad 4)" Quote Link to comment Share on other sites More sharing options...
andrew_ Posted August 24, 2015 Author Share Posted August 24, 2015 The graphics chip in it is a PowerVR https://en.wikipedia.org/wiki/PowerVR#Series_5XT_.28SGXMP.29 ... I'm going to go see if I can get any clues from this:http://www.html5rocks.com/en/tutorials/games/abouttracing/ EDIT:Ah. Immediate no-go ... it doesn't look like Chrome running on the iPad supports tracing.EDIT:Maybe some clues for me here:http://codeflow.org/entries/2014/jun/08/some-issues-with-apples-ios-webgl-implementation/(although it is year old) Quote Link to comment Share on other sites More sharing options...
andrew_ Posted August 24, 2015 Author Share Posted August 24, 2015 I have opened an issue for this here:https://github.com/BabylonJS/Babylon.js/issues/672 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 24, 2015 Share Posted August 24, 2015 I have no Ipad unfortunately to test. Do you have any error in the console that you can see before freezing? andrew_ 1 Quote Link to comment Share on other sites More sharing options...
andrew_ Posted August 25, 2015 Author Share Posted August 25, 2015 It looks like it is possible to remote debug javascript running on the iPad as is described on this page here: https://css-tricks.com/using-chrome-devtools-to-debug-javascript-in-any-browser-with-ghostlab-2/ In Safari advanced options (in iPad settings) I see I can turn on "Web Inspector", then and connect the iPad up to a Mac also running Safari. I have not done this before, but I will give it a go later on when I can get access to a Mac desktop. I'll post here to say how I get on.EDIT: Note to self: GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.