Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Possible related bug to the slow object load times?

Author
Message
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 29th Apr 2015 05:41 Edited at: 29th Apr 2015 06:36
@paul... im wondering if its possible that files in general suffer from the same problems that the obj file format was suffering from in the past.

can you look into it to see why it is painfull to read and write files. Im finding its taking a very long time to create / save new files..... a very long time!

specifically on android (ouya)

also the automated apk builder is not working in agk 2.13 seems some directories are missing for the icons and fails to build apk

www.sheldonscreations.com
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th May 2015 17:21
If they were they would have been fixed at the same time as the fix was in a common file. The APK compresses files included within it so reading from those files does a partial decompress at the same time which may slow things down, but writing always goes to the file system so I don't know of a way to speed that up.

The ReadString command uses an inefficient method to read a string from a file that I've been meaning to update, but the fix isn't compatible with existing files so I'll add WriteString2/ReadString2 to use a faster method of reading strings. This won't affect write speed though.

The APK error is fixed for the next version
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 7th May 2015 02:35
ok perfect to know.... it must be the reading from the file thats slow on ouya... the writting is probably at a fine speed.... i didnt get a chance to test if it was both or just one of them.

that sounds great about the new string reading commands if those get created. This would greatly improve reading obj files in manualy and then writing them back out. (used in my animation include file)

thanks for looking into it!

www.sheldonscreations.com

Login to post a reply

Server time is: 2024-11-25 21:22:59
Your offset time is: 2024-11-25 21:22:59