Hello guys.
This may be a stupid question but I’ve been having this issue for most of my applications and hoping its possible to solve it.
Many of my projects include a large library of content/data (videos, images, text) which i usually load using directory/url nodes, linked to folders in public documents. Obviously its the same node that is switching between content, and when the switch happens there is always a lagg (some long and some short) regardless if Async is turned on or off. I’ve managed to make this lagg minimal with dds images but videos still always lagg.
So my long question is:
Is it possible to make this lagg happen in the background so that if a video has been switched and lets say it will take 2 seconds to load.. i can replace the video with an animation representing “loading” and once the “loaded” event is triggered in the video output I could fade in the video - Rather than ventuz freezing while the video is loading?
Thanks
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Content loading in background
Moderator: Support
Re: Content loading in background
Aloha,
not only the DIR node has to be set to async, the Movie Clip node has to get the async flag as well
That works flawless without any stall.
RegArts
Dee
not only the DIR node has to be set to async, the Movie Clip node has to get the async flag as well
That works flawless without any stall.
RegArts
Dee
Re: Content loading in background
Thanks Dennis..
I have enabled all flags for Async and disabled all flags for Auto Update.. this includes 8 texture nodes loading PNG files, a movie clip node, and 1 text file.. all taking from its own directory node also with enabled Async and disabled Auto Update.
Most of the lagg is caused by "TextureResourceGen" which in some cases goes up to 110 ms (attached SS) so I believe that the images is causing this.
Another Note:
In the TxtFile node - with Async flag disabled i have no issues (and lag is unnoticeable).. but having the Async flag enabled has an issue.. the text updates properly if it reads a different file.. but if the file "does not exist" it should give me nothing in the text output; but instead it keeps the last info that was available.. is that how its supposed to work?
Also note this is a V5.4 project not V6.1
thanks
I have enabled all flags for Async and disabled all flags for Auto Update.. this includes 8 texture nodes loading PNG files, a movie clip node, and 1 text file.. all taking from its own directory node also with enabled Async and disabled Auto Update.
Most of the lagg is caused by "TextureResourceGen" which in some cases goes up to 110 ms (attached SS) so I believe that the images is causing this.
Another Note:
In the TxtFile node - with Async flag disabled i have no issues (and lag is unnoticeable).. but having the Async flag enabled has an issue.. the text updates properly if it reads a different file.. but if the file "does not exist" it should give me nothing in the text output; but instead it keeps the last info that was available.. is that how its supposed to work?
Also note this is a V5.4 project not V6.1
thanks
Re: Content loading in background
Ok hmm..
there might be one other trap where you might have stepped into, but the best would be if you could pack the project and send it to us.. support @ ...
all scenes are handled confidential dont worry.
regArds
Dee
there might be one other trap where you might have stepped into, but the best would be if you could pack the project and send it to us.. support @ ...
all scenes are handled confidential dont worry.
regArds
Dee
Re: Content loading in background
Will Do.
Thanks
Thanks
Re: Content loading in background
Hi Naggar,
the problem is that you do not use the texture that you have loaded with the async Texture Loader but you load the same texture again in the Material node (this time synchronously and stalling)!
You did not bind the Texture property from the 'Aspect Logic' container to the Material node ('Image') but the File Url.
Best Regards
Karol
the problem is that you do not use the texture that you have loaded with the async Texture Loader but you load the same texture again in the Material node (this time synchronously and stalling)!
You did not bind the Texture property from the 'Aspect Logic' container to the Material node ('Image') but the File Url.
Best Regards
Karol
Re: Content loading in background
Wow.. I didn't see that
Thanks for pointing it out Karol. and thanks for the support
Thanks for pointing it out Karol. and thanks for the support
Re: Content loading in background
Sorry.. another question
So the loading of Images works fine, but if its not Image,Video,Text, or mesh; what can cause the "ResourceGen" to spike?
So the loading of Images works fine, but if its not Image,Video,Text, or mesh; what can cause the "ResourceGen" to spike?