Texture update with low priority

Q and A about functionality and how to solve a special task for your application.

Texture update with low priority

Postby Kobbi » 16 Sep 2014, 09:14

Hi guys,
i'm working on a touch-app that has few instances of the same subapplication (each user has his own app and max number of users is limited and could be even only four ). Problem is that there is relatively hudge amount of data to be shown - all national parks in Europe with text info and picture gallery of course:) So i've made a simple client with touch menu to go thru Europe to each country and it's national park. It updates all information needed as you go thru menu BUT during load of new set of images into a picture slider whole Ventuz scene freezes for few moments.
I new it will be a problem since our client first mentioned multiuser "upgrade" of my proposed and presented app. And here we are:) Is there a way to update (reload) textures with lower priority so it takes longer and scene does not freeze? I can handle a delay, leave slider unvisible, do "loading animation" whatever but I need all the other instances to work.

Unfortunately there is no way to prepare full application with no dynamic resource changes since there is about 450 national parks and each has about 5-20 photos for four or six users... It would be insane and would crash on memory and complexity of scene:(

Best regards and thanks for help,
Kobbi
Kobbi
 
Posts: 24
Joined: 12 Feb 2012, 15:19

Re: Texture update with low priority

Postby Kobbi » 16 Sep 2014, 09:18

I've used V3 forum, but it applies to V4 as well. We'll buy new presenter licenses for this instalation anyway:)
Kobbi
 
Posts: 24
Joined: 12 Feb 2012, 15:19

Re: Texture update with low priority

Postby Karol » 17 Sep 2014, 12:49

Hi Kobbi!

Are you using the Image Loader Advanced (in V4 renamed to Texture Loader)? This node is capable of loading images and textures asynchronously without stalling Ventuz significantly.
It's further advantage is that it does not use that much memory compared to an ImageLoader+ImageToTexture combination.

Best Regards
Karol
User avatar
Karol
 
Posts: 449
Joined: 10 Jan 2012, 12:07

Re: Texture update with low priority

Postby Kobbi » 18 Sep 2014, 12:42

Hi Karol,
I was using a Image Loader Advanced but without ASync checked. It helped a lot.
Thanks a lot for you for your reply.

Best regards,
Kobbi
Kobbi
 
Posts: 24
Joined: 12 Feb 2012, 15:19


Return to How to...