Drawing lag on iPhone vs. Simulator
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Drawing lag on iPhone vs. Simulator
I have tried the various approaches to doing simple drawing in iOS using the points of the line graphic as proposed by Dixie and bn.
I find that no matter how I approach this, it works very well in the Simulator but lags miserably on the iPhone (and I have the 4S). If you move your finger quickly while drawing...forget it, it can't keep up.
I have the accelerated graphics on, and I've made sure to lock the screen, etc. While I understand that of course the Simulator is going to be much faster, it seems to me that there shouldn't be so much difference. I feel like we need a "normal" vs. "best" image mode to make this work?
Has anyone had luck on the iPhone/iPad?
I find that no matter how I approach this, it works very well in the Simulator but lags miserably on the iPhone (and I have the 4S). If you move your finger quickly while drawing...forget it, it can't keep up.
I have the accelerated graphics on, and I've made sure to lock the screen, etc. While I understand that of course the Simulator is going to be much faster, it seems to me that there shouldn't be so much difference. I feel like we need a "normal" vs. "best" image mode to make this work?
Has anyone had luck on the iPhone/iPad?
Re: Drawing lag on iPhone vs. Simulator
Teacherguy...
Would you like to post the scripts that you are using for 'drawing'... I have had no speed problems running in the simulator or on the iphone. The 'Skribble' app that is in the iTunes store is using the 'line tool' technique for drawing...
be well,
Dixie
Would you like to post the scripts that you are using for 'drawing'... I have had no speed problems running in the simulator or on the iphone. The 'Skribble' app that is in the iTunes store is using the 'line tool' technique for drawing...
be well,
Dixie
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Drawing lag on iPhone vs. Simulator
Ah well that is very encouraging then!
Last night I went all the way back to square one and used your original script exactly. As expected, it worked very fast on the Simulator, but then lagged for me in my app on my 4S. SO, this suggests (based on what you just posted) that perhaps my line graphic has something going on...would blend level have an impact? I will have to take a look.
OR, could mobgui screw things up? I added that a few days ago and I'm reallllly starting to wonder....
Last night I went all the way back to square one and used your original script exactly. As expected, it worked very fast on the Simulator, but then lagged for me in my app on my 4S. SO, this suggests (based on what you just posted) that perhaps my line graphic has something going on...would blend level have an impact? I will have to take a look.
OR, could mobgui screw things up? I added that a few days ago and I'm reallllly starting to wonder....
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Drawing lag on iPhone vs. Simulator
OK made some progress. I found that even though I had the opacity of outerglow set to 0, it was causing the lag. Turned it off, and viola.
Thank you Dixie for your post, it got me thinking in the right direction.
Thank you Dixie for your post, it got me thinking in the right direction.
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: Drawing lag on iPhone vs. Simulator
my issue is when i draw quickly on the ipad, the lines arent smooth but segmented looking when drawing a curve. anyone experience this. if i draw a circle quickly, it looks more like an octagon.?
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: Drawing lag on iPhone vs. Simulator
btw, I'm using the curve tool instead....
Re: Drawing lag on iPhone vs. Simulator
Hi...
Are you using 'accelerated rendering' ?
be well
Dixie
Are you using 'accelerated rendering' ?
be well
Dixie