Page 1 of 2

Output freezes when changing assets with Directory node

Posted: 03 Apr 2017, 15:41
by RCAndrus
Having some issues with Directory node in Ventuz5. I'm using the directory node to cycle through a series of photos in order. When a new image file is loaded the Ventuz output freezes for a second or two and then it catches back up with itself. Its very noticeable to anyone viewing the projection screen that the program is not running correctly when it changes images. All of the images have been optimized and sized correctly for the project. I'm looking for solutions for how to avoid this freezing/jerking issues with the output but still be able to load and change assets without taking the projection screen to black.
Thanks,
Ryan

Re: Output freezes when changing assets with Directory node

Posted: 04 Apr 2017, 11:29
by Dennis
Hello,

try to set it to ASYNC mode :)

regArts
Dee

:ugeek:

Re: Output freezes when changing assets with Directory node

Posted: 04 Apr 2017, 16:14
by RCAndrus
Hi thanks, Dennis. I tried doing a simple test using the Directory node in Async mode as well as setting the texture loader node to Async but it does not seem to have any effect. The scene still hangs while it is loading a new image. I get a huge spike in CPU usage every time it loads a new PNG image. The only way I can get it to load smooth is to have an incredibly small file/image size, such as 100px X 100px.
Ryan

Re: Output freezes when changing assets with Directory node

Posted: 05 Apr 2017, 10:09
by Dennis
Can you tell me the size of the images you try to load?
are the images uncompressed ?

all these settings would be very interesting :)

thanks
Dee

Re: Output freezes when changing assets with Directory node

Posted: 05 Apr 2017, 16:17
by RCAndrus
The size of the test scene I have made is 1920 X 1080. The size of the PNGs are 1920 X 1080, uncompressed, not interlaced and are about 8Mb each. They are cropped photos of landscapes. Every 3 seconds the directory loaded loads the next image. I have a mover node connected to a rectangle that slides back and forth so I can tell when the scene freezes. The GPU is running at about 10%-13%. The CPU is running at 30% but spikes to 50% or above when the new image loads. And the frame rate, that is set at 60, drops to about 45fps while the image is loading and right after it has loaded. I attached a snapshot of the scene.

We have ran this scene, or a similar test, on several of our Ventuz server machines that are quite powerful PCs and have had the same result. The resources available to the computer don't seem to have much, if any, effect on the performance of the directory loading a new image.

Thanks!
Ryan

Re: Output freezes when changing assets with Directory node

Posted: 09 Apr 2017, 10:02
by u-double-u
Hi,
try using Jpegs instead, or even DDS.
cheers.

Re: Output freezes when changing assets with Directory node

Posted: 10 Apr 2017, 08:12
by chriss0212
Shure, that you have set your TextureLoader to async?

If the freezing depends on the size, it seems, that the textureLoader is causing the problem.

Attached the modified Ventuz Help Scene, where i set everything to async and it seems to work.

Greetings

Christian

Re: Output freezes when changing assets with Directory node

Posted: 10 Apr 2017, 16:12
by RCAndrus
Hi Christian,

Thanks for the Directory Loader test scene. You're scene works well when we load our own images into the scene. I have tried to recreate the scene you sent on one of our machines and have had the same result I was having before. The loader causes the render engine to stall. So what am I doing wrong? I have copied the settings of the nodes in the file you attached exactly into a new scene, Async on as many nodes as I can find, but I just can't get the scene to not freeze when a new image is loaded. Please see the attached VZA.

Thanks!
Ryan

Re: Output freezes when changing assets with Directory node

Posted: 11 Apr 2017, 09:02
by chriss0212
It seems, that your texture loader is broken an doesn't recognize the Async flag.Is it maybe copied out of an old project?

I have replaced the texture loader and it works.

Greetings

Christian

Re: Output freezes when changing assets with Directory node

Posted: 11 Apr 2017, 09:19
by stephan
Supi Chris :D
the node was broken, I confirm the original node is working!
Greets, Stephan