I have wondered exactly this, but I've never used openGL and I'm not quite sure if it or something similar (openCV?) would be able to do what I'm after. It's something I intend to investigate, because if I can use the GPU there's a chance I can get this at much more useful speeds on the pi!Ravenous wrote:Wonder if there's a way to do this sort of thing in the GPU? It's effectively a processor with lots of cores... (Disclaimer: I don't know how you'd do this.)
Afaict for CPU power per pound you are looking at arround a £400 PC (a sandy i5 surrounded with cheap components). Beyond that you get into seriously diminishing returns.thexman wrote:there was a post about light wave on the projects forum but it was pointed out that the MIPs/£ were still better on a 2000 pound PC than on 75 Pis. networked.
Mostly because I like having a garbage collector, and this was more of an experiment than a real attempt at an efficient ray-tracer. Plus I really like the portability of Java, I can write my little project on my windows desktop, but also run it on my Arch Linux server (and now my Debian-ARM pi!), or my housemate's mac!godFather89 wrote:Nice!
But, raytracing in Java? Why not C/C++?
I tried rendering using Aqsis, an open source renderer adhering to pixar's renderman standard.reiuyi wrote:Pixar would be the real king at creating renderfarms. I think they use lots of Xenons to do the rendering.
Using GPUs for computation is still in its early phase in many industries, though it's definitely something to work towards, just like floating point operations.