Author Topic: Raymarching Beginners' Thread  (Read 19784 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17407
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Raymarching Beginners' Thread
« Reply #20 on: April 25, 2011 »
Seems like someone else has had the same idea as Rain Storm;

http://www.pouet.net/prod.php?which=56879
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Raymarching Beginners' Thread
« Reply #21 on: April 25, 2011 »
Thats a minecraft hack not a demo. Funny that it doesn't run on this machine (much like Minecraft)

I'm heavily into modding games and I've played around with Minecrafts internals. Theres just something about the usage of java as a source language, lwjgl as an interface to OpenGL and there's definately something fishy about these two texture maps...

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #22 on: April 25, 2011 »
really really great stuff rbz and rain,

i will need to break all the info up and try some stuff out. cheers.
Challenge Trophies Won:

Offline las

  • ZX 81
  • *
  • Posts: 7
  • Karma: 2
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #23 on: May 25, 2011 »
Nice :)
Keep it coming!


Posted that one on pouet already, but that's the last thing I'll post in public for a while.
I'm working on "something".

I use FX Composer and Rendermonkey.
FX Composer works better with HLSL and doesn't crash that often...
And for some reason I like Rendermonkey to archive the stuff.

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Raymarching Beginners' Thread
« Reply #24 on: May 25, 2011 »
Hey las,

screeny looks very interesting! Looking forward to see "something" soon ;-)

Best,
benny!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17407
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Raymarching Beginners' Thread
« Reply #25 on: May 25, 2011 »
Lovely choice of colours in that screenshot Las.  I wonder what it looks like in motion :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline las

  • ZX 81
  • *
  • Posts: 7
  • Karma: 2
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #26 on: May 28, 2011 »
Thanks :)
Seems I killed the conversation here.

Just go ahead and play around with the stuff, keep posting screenshots and asking questions!

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #27 on: May 28, 2011 »
The picture of it look great :)

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Raymarching Beginners' Thread
« Reply #28 on: July 05, 2011 »
I came across this link, its got some awesome algebraic raytracing worthy of a read:
http://chuyeshov.com/ray.html

Challenge Trophies Won:

Offline efecto

  • C= 64
  • **
  • Posts: 90
  • Karma: 4
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #29 on: August 24, 2011 »
Finally got a bit of a raymarcher working.
(yeah, finally back looking at an ide  :) )

Have a problem with iq's box function thou.
Anyone know the HLSL alternative for maxcomp.
HLSL doesn't seem to know that, neither seems google :(


Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Raymarching Beginners' Thread
« Reply #30 on: August 25, 2011 »
maxcomp( v ) returns the largest component of the given vector v.
For example:
Code: [Select]
vec3 v( 3.0, 5.0, 1.0 );
float m= maxcomp(v);
results in m= 5.0.
Challenge Trophies Won:

Offline efecto

  • C= 64
  • **
  • Posts: 90
  • Karma: 4
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #31 on: August 25, 2011 »
Thanks Hellfire!
K++


Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Raymarching Beginners' Thread
« Reply #32 on: April 19, 2012 »
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).
raizor

Challenge Trophies Won: