» 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;
 
[numthreads(256,1,1)]
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

Shoutbox

~27d ago

mediadog: @ggml Yup, lots. Only used in 4.x, haven't tried in 5.x yet: https://www.unrealengine.com/marketplace/en-US/product/simple-udp-tcp-socket-client

~28d ago

ggml: someone has sent udp bytes to unreal ?

~2mth ago

micha_nismus: worked out, thank you very much ! :-)

~2mth ago

joreg: @micha_nismus does this help? https://youtu.be/xkrbT45BgOQ

~2mth ago

micha_nismus: thx joerg. Can anybody help me why i can't see any renderer in gamma? thx :-)

~2mth ago

joreg: @micha_nismus instead of discord, we're using matrix, see: chat

~2mth ago

micha_nismus: searching for a public discord server for vvvv

~2mth ago

joreg: Join us for the 20th #vvvv meetup on January 19th: https://thenodeinstitute.org/event/20-worldwide-vvvv-meetup/

~2mth ago

joreg: @schlonzo re "SDSL support" did you see the Shader wizard? or do you mean something different?