Sunflow Sunflow Rendering System
Official Sunflow discussion forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QMC class ... what it is ?

 
Post new topic   Reply to topic    Sunflow Rendering System Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
viewon01



Joined: 02 Nov 2009
Posts: 12

PostPosted: Mon Nov 02, 2009 1:07 pm    Post subject: QMC class ... what it is ? Reply with quote

Hi,

I'm currently learning the SunFlow code to try to understand how it works... and I have find the "QMC" class.

But what it is ? Does someone can explain me ?

Thanks
_________________
ViewOn01

http://www.codeplex.com/rs
Back to top
View user's profile Send private message
fpsunflower
Site Admin


Joined: 24 Feb 2007
Posts: 658
Location: Los Angeles, CA

PostPosted: Tue Nov 03, 2009 6:16 am    Post subject: Reply with quote

QMC stands for quasi-monte carlo.

The monte carlo method basicaly uses completely random numbers to estimate a function. A simple example might be figuring out the amount of soft-shadow at a point. You pick two random numbers to create a point on the surface of the light, then shoot the ray between your surface as this random position. Repeat this several times and average the number of rays that hit an object - this gives you soft shadows.

While the monte carlo method works quite well in theory, in practice we can do better. In graphics the functions we try to evaluate are fairly smooth so it pays off to distribute those random variables in a good way. "Quasi" monte carlo does this. Its a way to generate numbers that behave like random numbers, but that are better distributed.

If you want more details, you're going to have to dig into some maths. I would recommend the PBRT book. http://www.pbrt.org/

The paper that sunflow is based on can be found here: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.88.7937 (from Siggraph 2003 course notes).
Back to top
View user's profile Send private message Visit poster's website
viewon01



Joined: 02 Nov 2009
Posts: 12

PostPosted: Mon Nov 09, 2009 4:17 pm    Post subject: Reply with quote

Thanks a lot for your explanation...

It is clear Wink
_________________
ViewOn01

http://www.codeplex.com/rs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sunflow Rendering System Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group