Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

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!

Updating an Image Loader texture without stalling?

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

Moderator: Support

Post Reply
robertwinter
Posts: 49
Joined: 27 Nov 2012, 21:53

Updating an Image Loader texture without stalling?

Post by robertwinter » 03 Dec 2014, 22:38

I need the ability to load an Image File to a texture in an active scene without stalling Ventuz.

I have a scene with multiple clips playing simultaneously. I'm trying to load an Image File (.PNG) as a texture during the scene, but it stalls the clip playback while it loads. For numerous reasons, I cannot pre-load the image as I do not know which image(s) will be needed ahead of time.

I tried using the Movie Frame node set to Async but I'm still seeing the stall.

User avatar
ErikB
Posts: 212
Joined: 10 Jan 2012, 12:52

Re: Updating an Image Loader texture without stalling?

Post by ErikB » 03 Dec 2014, 23:08

You will want to try using .dds instead of PNG, there is a free plugin for photoshop available from nVidia.

Async will help, though...

User avatar
Daniel Willer
Posts: 309
Joined: 06 Jan 2012, 18:12

Re: Updating an Image Loader texture without stalling?

Post by Daniel Willer » 05 Dec 2014, 08:57

Hey there,

You need to use the TextureLoader node and check to the Async Property. The resources are then loaded asynchronous without stalling the GPU.

Regards
Daniel

User avatar
shermanpat
Posts: 122
Joined: 21 Feb 2012, 22:03
Location: SLC Ut USA

Re: Updating an Image Loader texture without stalling?

Post by shermanpat » 17 Mar 2015, 00:09

Having the similar issue here.

I am looking to build a dynamic Image,Texture,Movie loader with a visual indexer(so PNG goes to image node). It will load the file given to me from a client then crossfade and play on cue. pretty simple, but seems like it won't work smoothly if I need to use the Image loader.

The files will be delivered by the client last minute and so I am unable to change the file types. I would hope to be able to DDS, PNG, JPG, TIFF and a variety of video codecs.

Any work arounds to be able to get this to work smooth. For right now it looks like the best bet would still be to change file type, but would hope to avoid that.
-Sherman
Meru Interactive

User avatar
shermanpat
Posts: 122
Joined: 21 Feb 2012, 22:03
Location: SLC Ut USA

Re: Updating an Image Loader texture without stalling?

Post by shermanpat » 17 Mar 2015, 00:52

More questions...

So a texture loader will let me directly load the PNG files. But the visual indexer send the PNG files to the image node.

I see that you can set Treat Texture as Image, can you change that the other way? I would think that could cause other issues but seems to work for the test files i have.
-Sherman
Meru Interactive

User avatar
Götz_B
Posts: 180
Joined: 21 May 2013, 13:01

Re: Updating an Image Loader texture without stalling?

Post by Götz_B » 17 Mar 2015, 11:05

Hey,

the VisualsIndexer doesn't send something to any node. It just sets its outputs.
If you want to load all images/textures in the same place/node, set TreatTexturesAsImage to true, bind a texture loader to the ImagesUri and it works :D

Regards,

Götz

Post Reply