» raymarchtest-DirectX Renderer
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

raymarchtest-DirectX Renderer

I am from Shadows artifacts

microdee, Monday, Apr 30th 2012 Digg | Tweet | Delicious 7 comments  
sinus 30/04/2012 - 08:36

awesome! how does this work?

bigup!

dd

microdee 30/04/2012 - 16:15

there are the shaders http://www.mazapan.se/news/2010/07/15/gpu-ray-marching-with-distance-fields/ it works straight in vvvv just change the techniques to dx9 style. http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm here are some primitives and operations. the whole system is very flexible and "modular"

sinus 01/05/2012 - 10:39

thx for your reply! i will give it a try. esp. the operations are very interesting.

antokhio 02/05/2012 - 17:47

cool microdee, you are a rocker.

trashtrash 07/05/2012 - 07:35

I am new to hlsl....could you explain changing the techniques to dx9?? Or show me a link that explains it...Thanks I am really enjoying learning this langue.

microdee 08/05/2012 - 15:07

@trashtrash: change

technique10 Standard
{
    pass Main
    {
        SetVertexShader ( CompileShader ( vs_4_0, vertexShader () ) );
        SetGeometryShader ( NULL );
        SetPixelShader  ( CompileShader ( ps_4_0, pixelShader  () ) );
    }
}

to

technique Standard
{
    pass P0
    {
        VertexShader = compile vs_3_0 vertexShader();
        PixelShader = compile ps_3_0 pixelShader();
    }
}
sebl 08/05/2012 - 15:32

did that in a short test, but there were several other errors...

  • 1

anonymous user login

Shoutbox

~5d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~1mth ago

~1mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~1mth ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~2mth ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~2mth ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/