Comments on: Building Worlds With Distance Functions in GLSL (Raymarching) https://www.geeks3d.com/20130524/building-worlds-with-distance-functions-in-glsl-raymarching-glslhacker-tutorial-opengl/ Graphics Cards and GPUs News, Graphics Programming, Home of FurMark Fri, 24 Nov 2017 14:36:07 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: JeGX https://www.geeks3d.com/20130524/building-worlds-with-distance-functions-in-glsl-raymarching-glslhacker-tutorial-opengl/#comment-37158 Sun, 02 Feb 2014 14:56:04 +0000 http://www.geeks3d.com/?p=8148#comment-37158 Code samples have been updated for the latest DEV version (0.6.3.11) and a new demo about menger sponge has been added:

http://www.geeks3d.com/20140201/glsl-menger-sponge-raymarching-code-samples-updated/

]]>
By: JeGX https://www.geeks3d.com/20130524/building-worlds-with-distance-functions-in-glsl-raymarching-glslhacker-tutorial-opengl/#comment-37136 Thu, 30 Jan 2014 16:19:53 +0000 http://www.geeks3d.com/?p=8148#comment-37136 I’m fixing the errors and I upload the code samples asap!

]]>
By: toba https://www.geeks3d.com/20130524/building-worlds-with-distance-functions-in-glsl-raymarching-glslhacker-tutorial-opengl/#comment-37130 Wed, 29 Jan 2014 17:17:55 +0000 http://www.geeks3d.com/?p=8148#comment-37130 I too found the errors but cant get any of this to work. There are too few good examples online, it would be nice to get one working

]]>
By: GLSLnoob42 https://www.geeks3d.com/20130524/building-worlds-with-distance-functions-in-glsl-raymarching-glslhacker-tutorial-opengl/#comment-36620 Mon, 23 Dec 2013 08:46:31 +0000 http://www.geeks3d.com/?p=8148#comment-36620 Hey. Just found this. Came across iq’s stuff a while ago, but being a noob I couldn’t do anything with it.

Then while rediscovering GLSL & iq’s website, I found this awesome resource!

But here’s the thing, I can’t get it to work. ;o)

I eventually found 2 errors in the code. Here are the fixes:
line 97: d.x-distance_to_obj(p-e.yyx).x); // had an extra “)”
line 98: N = normalize(n); // was missing “;”

I’m trying to use GLSL Hacker 0.6.0.0 & Blender 2.69 using this tutorial:

http://en.wikibooks.org/wiki/GLSL_Programming/Blender/Minimal_Shader

Any help?

peace & 42

]]>