GENERAL > Projects
Raymarching Beginners' Thread
hellfire:
maxcomp( v ) returns the largest component of the given vector v.
For example:
--- Code: ---vec3 v( 3.0, 5.0, 1.0 );
float m= maxcomp(v);
--- End code ---
results in m= 5.0.
efecto:
Thanks Hellfire!
K++
Raizor:
A couple of new things I've come across that are quite interesting:
Sunset on the sea experiment (Raymarched sea tutorial)
Progress on Raymarching an infinite city and here it is running in the GLSL Sandbox. It's worth checking out the GLSL Sandbox gallery as there are some lovely examples of Raymarching various things.
This is also worth a look. It's DirectX HLSL (rather than OpenGL GLSL). This is what got me going with Raymarching a while back. I converted this to GLSL at the time (I'll try and dig up the code and post the conversion).
Navigation
[0] Message Index
[*] Previous page
Go to full version