pouët.net

Raymarching Beginners' Thread

category: code [glöplog]
added on the 2011-02-11 10:46:07 by raer raer
Oh god no thats stuffs way out of date :-)
added on the 2011-02-11 11:17:06 by auld auld
Is it?
added on the 2011-02-11 11:28:07 by raer raer
I mean a complete "framework" e.g. Visual Studio project where I just need to plug my shader in and press compile and get a very tiny executable ;)
And of course it should be state of the art.
added on the 2011-02-11 13:16:56 by las las
las: isn't that what IQ provides here?
added on the 2011-02-11 13:18:44 by kusma kusma
Quote:
The requested URL /www/material/isystem1k4k/isystem.zip was not found on this server.
added on the 2011-02-11 13:24:46 by las las
Found. :)
added on the 2011-02-11 13:30:41 by las las
Auf Wunsch wird auch Würfelzucker in den Arsch geblasen...
added on the 2011-02-11 13:48:21 by raer raer
Da werd ich aber ganz wuschig!
added on the 2011-02-11 13:50:18 by las las
;)
added on the 2011-02-11 13:53:01 by raer raer
Cool. Does indeed look translucent, like some kind of jelly :)

I'll post up where I'm up to at some point. Progress is good, I've managed moveable camera + moveable pointlight, repeating geometry, intersections, and wobbly deformations. What I've not managed: perspective that doesn't cause massive glitches, any kind of shadows, or getting a simple wobbly sphere to not have a big flat bit on the front :(
added on the 2011-02-13 03:48:50 by psonice psonice
very cool indeed :)
added on the 2011-02-13 04:14:27 by iq iq
looks great
added on the 2011-02-13 05:12:44 by xernobyl xernobyl
Nice! Was that recorded in realtime?
added on the 2011-02-13 07:57:34 by Mewler Mewler
very nice
added on the 2011-02-13 08:58:52 by auld auld
schweet! :D las: it's time to really make an intro about it
added on the 2011-02-13 11:07:52 by xTr1m xTr1m
Thank you all :) (I guess I screwed the colors up a bit - it's too bright)

It runs realtime @ 800x600 on my cheap NV GTS 450.
added on the 2011-02-13 11:26:20 by las las
what is the best tool to quicly test out some shaders / raymarching stuff ? (other than a compiler)...
added on the 2011-02-13 11:30:33 by Tigrou Tigrou
unc posted some sample stuff for vvvv on this thread, others mentioned quartz composer and ati rendermonkey should be an option too.
added on the 2011-02-13 11:42:36 by las las
And of course you can use iq's shadertoy
added on the 2011-02-13 12:09:31 by las las
Tigrou: Render Monkey.
added on the 2011-02-13 12:11:58 by kusma kusma
Pretty cool las!
Quote:
And of course you can use iq's shadertoy

The problem is that current browsers are not working well with a bunch of shaders. Seems that they are more compliant with the spec (they don't allow int extension for example, and also, both Chrome and FF4.0 are now fully using Angle project that translate GL calls / GLSL to Direct3D9/HLSL on windows)

btw, if anyone is able to find a way to debug chrome with PIX, I would be happy! (--single-process option doesn't work anymore)
added on the 2011-02-13 13:00:19 by xoofx xoofx
quartz composer or vvvv and the like are better I think. You have a decent shader editor, but you can also easily do 2 pass effects, feedback, and connect oscillators or timelines to your inputs. It makes it a lot easier to test stuff.

Btw, what's the best way to handle camera rotation + calculating ray direction from it? I have it working so I can rotate about Y, but x/z rotation is wrong and it's still glitchy :(
added on the 2011-02-13 16:38:40 by psonice psonice
You need to rotate both, camera direction and position.
Auld's camera move thingy
added on the 2011-02-13 16:49:19 by las las

login