We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › p5 SunFlow: The bigger the window the more noise
Page Index Toggle Pages: 1
p5 SunFlow: The bigger the window the more noise (Read 1790 times)
p5 SunFlow: The bigger the window the more noise
Mar 20th, 2010, 7:51am
 
So I started messing around with sunflow a little and I was wondering if anyone else has run into this problem.

So, has anyone else run into this?

Regardless of how many objects are being rendered the bigger my screen size for the sketch the more speckles occur on the objects.


No speckles at size(400, 200)
...

Some speckles at size(400,400)
...

Many speckles at size(1280, 800)
...

I'm running Snow Leopard newest version of Processing 1.1 on an Intel MacBook.
Re: p5 SunFlow: The bigger the window the more noise
Reply #1 - Mar 20th, 2010, 10:16am
 
Looks like it's camera related... I've seen such speckles on other sunflow renders on Flickr. Surely related to the sunflow renderer itself...
Re: p5 SunFlow: The bigger the window the more noise
Reply #2 - Mar 20th, 2010, 10:46am
 
i remember a long discussion about this on one of these flickr images about the grain... couldnt find it...
Re: p5 SunFlow: The bigger the window the more noise
Reply #3 - Mar 20th, 2010, 3:47pm
 
I tried modifying the camera to different settings based on the hipsterinc (http://hipstersinc.com/p5sunflow/cameras/) examples, but no luck. I still get the speckles... I'll keep searching on flickr for this phantom thread and post further findings. Thanks for the help!
Re: p5 SunFlow: The bigger the window the more noise
Reply #4 - Mar 22nd, 2010, 11:52am
 
It's too bad that you aren't after the speckles. The third picture is actually quite interesting... dog biscuits, maybe. Smiley

-spxl
Re: p5 SunFlow: The bigger the window the more noise
Reply #5 - Mar 22nd, 2010, 1:00pm
 
as far as i remember, they didnt find a solution. i believe the only way to solve the problem was to use processing with eclipse and then "connect" it to sunflow, not using the hipstersInc wrapper... but i will search for the flickr post too... maybe ill find it
Re: p5 SunFlow: The bigger the window the more noise
Reply #6 - Mar 22nd, 2010, 3:29pm
 
ahhhh, interesting thanks Cedric. It's about time that I delve deeper into Java anyways. As for your comment spxl, I agree — it's not necessarily a bad thing, but I would like to be able to control it so I can make the speckles / smooth texture when I want.  Wink
Re: p5 SunFlow: The bigger the window the more noise
Reply #7 - Mar 22nd, 2010, 4:20pm
 
found it
http://www.flickr.com/photos/lennyjpg/1732089275/in/set-72157602619301641/

maybe you wanna check out this post too:

http://processing.org/discourse/yabb2/?num=1207239426
Re: p5 SunFlow: The bigger the window the more noise
Reply #8 - Mar 22nd, 2010, 11:36pm
 
I'm also going to make a wild unsubstantiated suggestion that it may have something to do with the number of "photons" being simulated; surely a fixed number of "photons" will produce a more patchy image if the image is larger (more pixels).

This is supposing that Sunflow uses such a rendering method (and I don't think I've ever used such a renderer, so anything I say here is sans experience!).

-spxl
Page Index Toggle Pages: 1