sunep
August 1, 2018, 2:29pm
1
I can’t get Writer (DX11.Texture 2d) to actually write a texture to a png or bmp file.
TTY spits this out when I try to write a file:
00:04:35 ERR : SlimDX.Direct3D11.Direct3D11Exception in SlimDX: E_FAIL: An undetermined error occurred (-2147467259)
Stacktrace:
at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
at VVVV.DX11.Nodes.WriterTextureNode.Evaluate(Int32 SpreadMax)
joreg
August 1, 2018, 2:44pm
2
can you post a patch that demonstrates this?
Had the same problem when using Writer (DX11.Texture 2d) right after VideoIn (DX11 DShow). As a workaround, I used DrawFullScreen + TempTarget and then Writer. See attached.
bug_writer_dx11_2d.v4p (8.2 KB)
sunep
August 1, 2018, 3:19pm
4
Kind of found a solution, I use ChangeFormat (DX11.Texture 2d) to change the format to 8bit.
I do think that it is a clumsy way of not letting you know what is wrong.
Anyway, this patch demonstrate the problem: DX11-writer-test.v4p (6.5 KB)
@sebescudie your patch doesn’t work here, I don’t have DrawFullScreen apparently, it’s red here
@sunep You need last DX11 pack :)
system
Closed
August 1, 2019, 5:13pm
6
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.