Credits: Supported by schnellebuntebilde and sebl
This pack contains 2 nodes:
to accelerate workflows when you have to save many textures to disk quickly. This node generally supports all formats supported by the standard Writer node (e.g. recently 16bit PNG's), and uses the same functions internally.
Accepts a spread of textures and saves them to disk in separate threads. The main thread blocks until all save operations are complete
Accepts a spread of textures and saves them to disk in separate threads. The main thread is not used for saving, and is allowed to continue. Later when any save operation is completed, the node will output the result of that save operation on its output.
Generally we restrict the queue size to ensure that we don't crash the GPU with too many save devices. Also adding more than 8-16 save devices doesn't offer any performance gains.
In order for textures to be saved on threads other than the main thread, we must spawn a seperate DX11 Device for that thread and use texture sharing to copy this texture over to the background Device (note : for DX11, a Device is essentially a pool of memory on a GPU, each GPU is called an Adapter and an Adapter can run multiple Devices).
Source code is available athttps://github.com/elliotwoods/VVVV.Nodes.ReadBack.
Thanks to schnellebuntebilde and sebl for their support in making these nodes.
Temporary note... v3 and v2 have been taken down because of issues with DLL paths. Will re-upload when I've found a solution. Note that it may not be compatible with vux's latest dx11 pack for the time being.
some people might have had issues using this with vux's latest dx11 pack.
vux's pack seems to be missing some dll's used by the BlockWriter node (which are also used by these nodes), so i've included those in the v4 download zip (the directory layout should mean you can just drag the packs folder into your vvvv folder and everything will be in the right place)
i've also flagged this with vux : https://github.com/mrvux/dx11-vvvv/issues/265
i'll remove again later when either vux re-includes the dll's or has a new solution for handling this
I would like to try out the Readback nodes, but I get an error that 'DirectXTexLib_x64' is not found.
I've searched around and found the library
but I am new to github, and not sure how to install this library. The library states that it is made for Visual Studio 2015 update 3, so I've downloaded / installed VS2015, but I don't get how I can use it to install the DirectXTex library.
If this is in fact necessary, could you then include the correct git command line in the description for this pack? I think it would be very helpful for others too in the future :)
Thanks a lot !
EDIT (with help from sunep):
I found out that I had misunderstood the way I was supposed to install the pack.
The correct way is to install 7zip unzipper software, place the .zip folder of the ReadBack package next to the vvvv.exe, right click and press 'Extract here'.
7zip will hereby place the content of ReadBack to the correct subdirectories of the allready existing packs folder.
I had forgotten to copy the content of DX11 (the DirectXTex_64.dll) to the already existing DX11 folder, because I thought this was just a DX11 library for vvvv.
Thanks to Sune!
Is it possible to specify to save a singlechannel R16_UNorm .dds ?
When I specify the target format (R16_UNorm) of the renderer before it goes to the ReadBack writer (DX11.Texture2D Async), select format Dds for the writer, and make sure the filename is .dds; when I read the image sequence, the image is a
Thank you for the great work !
thanks for figuring out about pack location!
i noticed that vux's latest release is missing DirectXTex
so that's why I added it to my zip, but i needed to put those dll's into the dx11 folder location in order for them to work
hence you need to unzip this pack at vvvv.exe so that everything lands correctly
@lassemunk - concerning R16_UNorm saving (e.g. depth map)
AFAIK, this should be supported correctly so i'm sad to hear it's broken
i'm sorry but i don't have time to look into this right now
the source is available at:
in case you want to (know somebody to) have a go at fixing it.
otherwise please can you add an issue there
hello, I have a little problem with readback and kinectV1
I'd like to save a png sequence from a kinect image stream (MS Kinect dx11 texture/layer). So I select corresponding save settings in Readback, but all that I can see in the resulting png files is the test numbers, not the kinect image (same with bmp, gif.. etc). Note that there is alpha in the image, so not even a black background texture..
Only when I select Jpeg, I can get valid images including test number and kinect image
Within the renderer I am using R8G8B8A8_UNorm
I see a red spill at the borders of your text, where the underlying texture should be.
So I guess that the rgb pixel information is there, it's just 'invisbible', because alpha is 0 in that area.
jpeg cant save alpha, that's why you see the colors in that format.
try different blend modes for your foreground layers, and maybe just for a check use setAlpha dx11 texture FX to make sure your alpha is 1 where it is needed.
Is anybody else experiencing crashes with b35.5?
@eno I get an instant crash with both help patches when banging Write with a35.7 x64 release candidate and the 17/05/31 build of DX11. Haven't tried other combos.
@sebl really like this pack! Are there any dependencies i need to install?
Its working perfectly fine on my 38.1 Installation but not on a different pc with the exact same vvvv. So i guess its not the VVVV installation. The regualar DX11 2d writer is working, but still it might be some Windows User-Rights issues?
is there some error in tty?
Immediate crash with the help patches here too. Beta 41 x64, Win10 and Win7. No TTY messages, just a popup. If I click debug, Visual Studio reports:
System.TypeLoadException: 'Could not load type 'NativeMethods' from assembly 'VVVV.DX11.Nodes, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null'.'
So DX11 library incompatibility? I'm using 1.3.1.
the plugin surely needs an update for latest dx11 and vvvv.
the source is on github, you can try it out. maybe it's just an update of the dependencies.
anonymous user login