the so complete pouët.net oneliner
- 2008-09-07
-
parapete: given a derivable potential function f(p)=0, the distance to it can be estimated by doing d=f(p)/|grad(f(p))| It only works as get closer to it. -
iq, cool, that's what i'm looking for. so that will only ever under-estimate the distance, not over-estimate it? -
I think so, yes. (look, it's like taking the first term of a Taylor series) -
Good-o. Thanks you both :) Hopefully you'll see the results of my mathematical ignorance this weekend -
raymarching!! \o/ -
so the terms of a taylor series are all positive now? :) -
the implicit function itself is *a* distance function. it's not necessarily the minimum euclidean distance, and neither is iqs suggestion. -
but parapete wants to know the euclidean distance, so he can step on the ray as much as possible -
...thinking about this, all you need is a lower bound anyway. If you have any smooth, implicit function with a bounded derivative (in a certain region of interest), you can get reasonably good lower bounds on the minimum distance to the next intersection -
parapete: did you mean to use the function cos(x)^2 + cos(y)^2 + cos(z)^2, or was that just a random example? -
I meant that one. It's one that's been used a million times before in demos... -
### song, people dancing ### -
http://www.youtube.com/watch?v=VczbbiRmDik best ever ^^ -
http://www.youtube.com/watch?v=RSsJ19sy3JI -
http://de.youtube.com/watch?v=0YGN09hTdqM -
tonight tongiht i used some lotion -
that makes a wanker of me - 2008-09-08
-
http://www.pouet.net/prod.php?which=40422 -
### telepathy is illegal,, not good for the Health and not Democratic ### -
Blipverts to the people so that they may explode! -
only Edison Carter can save us! -
If he can't do it, Ogre can -
heh http://www.spore.com/comm/prototypes play spore prototypes :D -
Game console architecture for the interested: http://arstechnica.com/articles/paedia/game-console-architecture-in-depth.ars -
### Human Senses manipulated over telepathy or cerebral implantation illegally ###
