|
![](/i/fill.gif) |
Severi Salminen <sev### [at] NOT THISsaunalahti fi invalid> wrote:
> Here is a new render. Now with boxes and properly working total internal
> reflection (you can see the windows through green glass, for example).
> Everything looks pretty good to me: shadows, highlights, caustics etc.
> The "windows" are actually only light emitting boxes. I also stopped
> using the infamous C rand() and implemented Mersenne Twister RNG. It is
> a lot faster (some 20-30% faster rendering) - and there is even faster
> variation available.
What does POV-Ray use for random number generation? When I finally opened up
the source code, it looked like there were just arrays of tabulated numbers,
but then I plotted them and they certainly weren't random. Something like a
fractal. Still, would it be possible to precompute some random numbers, or is
the dependence on 'good' random numbers too strong? Oh, and GSL, the GNU
Scientific Library has a plethora of random number generators, but I haven't a
clue how fast they are. Perhaps possible to 'try before you buy' and test them
out before implementing them though.
Oh, and that's a beautiful render. I love the square caustics on the sphere.
No tweaking necessary. Wow. You should try triangles. That would open up a
world of possibilities, but then you'd certainly need some acceleration. I
guess that's already been accounted for in 5-1000004. Sorry. Keep it up.
- Ricky
Post a reply to this message
|
![](/i/fill.gif) |