» Trying to extend GetVertexData (DX11.GeomFX) by TexCoord1...
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Trying to extend GetVertexData (DX11.GeomFX) by TexCoord1...

Hi evvvverybody,
after four years i'm giving it another try:
Tampering meshes with two UV-sets in DX11 including reading/writing to disk. I hope we can figure this ut this time.
I started adapting GetVertexData and it's geometry shaders, but obviously the expansion does not work as expected.
Link to a new forum thread might follow ;)

blausand, Tuesday, Jan 22nd 2019 Digg | Tweet | Delicious 1 comments  
blausand 22/01/2019 - 12:19

This is the adaption of the geometryShader for UV1:

RWStructuredBuffer<float2> RWValueBuffer : BACKBUFFER;
ByteAddressBuffer vData;
uint buffersize;
void CS(uint3 dtid : SV_DispatchThreadID)
    if (dtid.x > buffersize) { return; }
    RWValueBuffer[dtid.x] = float2(asfloat(vData.Load(dtid.x * 40 + 32)),asfloat(vData.Load(dtid.x * 40 + 36)));
technique11 UV1
    pass P0
        SetComputeShader( CompileShader( cs_5_0, CS() ) );

See the hard-wired stride size of 40? I changed this from 32 for all four shaders but somehow i doubt that is correct.

  • 1

anonymous user login


~16h ago

u7angel: @domj, sure

~16h ago

domj: @u7angel: nice! How about the talk later at 7?

~16h ago

u7angel: vvvv-gamma-presentation will be streamed on twitch, starts 2pm, channel name is vvvv gamma

~20h ago

joreg: vvvv heads in #hamburg #kiel: if you're bored this thursday, please come join us for a workshop and/or talk: vvvv-gamma-presentation

~2d ago

sebescudie: @teckor: maybe ui-plugin ?

~2d ago

tekcor: wasn't there a contribution for making native windows GUIs?

~3d ago

joreg: Looking for a #vvvv job in #berlin? don't miss this one: https://discourse.vvvv.org/t/looking-for-vvvv-artists-permanent-in-berlin/17448

~3d ago

domj: vvvv gamma audio input with Naudio https://youtu.be/iBRZ3tsc_BI

~4d ago

microdee: @tonfilm: hehehe, apply water to the burnt area :D