Page 1 of 1

unbiased algorithms

Posted: Mon Sep 25, 2006 3:52 am
by fabF
Hi :)

Indigo rocks and I'd like to learn a little about monte carlo algorithms and so on.Maybe someone could give me a link to such algorithms in c++ ? I'd like to find also some small open source projects where I could see ray-tracing or radiosity source codes ... In the great lines, how many rendering categories exist and how is it running technically ?

Thanks,
Fabian

Posted: Mon Sep 25, 2006 4:17 am
by Kosmokrator
YEA ME TOO!!! :)

Posted: Mon Sep 25, 2006 5:01 am
by ThatDude33
i wrote a raytracer a while ago

Here's an image produced by it.
Image

Featurelist-
  • Diffuse Shading
    Reflection
    Point Lights
    Area Lights
    Soft Shadows
    Supersampling
find the source here (.cpp files ;)
http://rapidshare.de/files/34292036/ice ... 1.zip.html

Posted: Mon Sep 25, 2006 6:31 am
by fabF
Thanks a lot ! Here's what I understand from it :

for each row
for each line
5 times per pixel (supersampling ?)
calculate ray destination
if ray intersects an object then
calculate pixel rgb with object material
...

I guess this algorithm is not complete :( Do you have an idea how other rendering methods work in those terms ?

Thanks,
Fabian

Posted: Mon Sep 25, 2006 6:50 am
by WLAD

Posted: Mon Sep 25, 2006 7:23 am
by fabF
Thanks :) Interesting but some parts are too complex for me.An algorithm could help :)

Posted: Mon Sep 25, 2006 10:10 am
by yponomos
hehe, i thought it's vice versa! do you think that a bunch of source
code lines can be easier to understand than an algorithm outline?

Posted: Mon Sep 25, 2006 11:54 pm
by playmesumch00ns
Metropolis sampling is a bit of a pig.

If you want a good grounding learn path tracing first. The best reference I know of is this book: www.pbrt.org

Posted: Tue Sep 26, 2006 2:23 am
by Kosmokrator
come on...programming isnt piece of cake!!!espesially for graphics!Fabaf what u looking for?for an complete algorythm? :roll: this is imposible to find!start with simle things and go deeper and deeper! :wink:

Posted: Tue Sep 26, 2006 4:40 am
by fabF
playmesumch00ns wrote:Metropolis sampling is a bit of a pig.

If you want a good grounding learn path tracing first. The best reference I know of is this book: www.pbrt.org
Interesting ! thanks :)

Posted: Tue Sep 26, 2006 4:42 am
by fabF
Kosmokrator wrote:come on...programming isnt piece of cake!!!espesially for graphics!Fabaf what u looking for?for an complete algorythm? :roll: this is imposible to find!start with simle things and go deeper and deeper! :wink:
I was looking for sources like linked above.Interesting to see an early stage project to understand something :)

Posted: Wed Sep 27, 2006 6:35 am
by manitwo
don't know if that is what you are looking for but anyway interesting:
http://www.graphics.cornell.edu/~bjw/papers.html

Posted: Wed Sep 27, 2006 8:21 pm
by yponomos
perhaps you could try MiniLight
http://www.hxa7241.org/minilight/minilight.html

from the perceptuum creator.

Posted: Thu Sep 28, 2006 7:28 am
by fabF
yponomos wrote:perhaps you could try MiniLight
http://www.hxa7241.org/minilight/minilight.html

from the perceptuum creator.
wow ! Thanks a lot !