D
Daniel Pitts
I'm thinking about creating a Distributed Ray-tracer. I've created a
Ray-Tracer that is multi-threaded, and was thinking about ways to make
it multi-computer ;-)
My current set up:
I have a class Universe, which represents the scene, including lighting,
shapes, etc...
I have a class BlockTracer that traces a block of pixels, and sets part
of a BufferedImage to the value of those pixels.
My current thoughts are that I should use RMI.
I would make my Universe serializable. I would create a BlockQueue
class which will a block that needs to be traced to any node that is
ready. When a node grabs a block, it traces that block in the Universe,
and then sends a completed image fragment back to the Client.
Does this sound like a workable strategy? Should I use something other
than RMI? If some of my nodes are behind a firewall, can I use UPnP
with RMI?
Thanks,
Daniel.
Ray-Tracer that is multi-threaded, and was thinking about ways to make
it multi-computer ;-)
My current set up:
I have a class Universe, which represents the scene, including lighting,
shapes, etc...
I have a class BlockTracer that traces a block of pixels, and sets part
of a BufferedImage to the value of those pixels.
My current thoughts are that I should use RMI.
I would make my Universe serializable. I would create a BlockQueue
class which will a block that needs to be traced to any node that is
ready. When a node grabs a block, it traces that block in the Universe,
and then sends a completed image fragment back to the Client.
Does this sound like a workable strategy? Should I use something other
than RMI? If some of my nodes are behind a firewall, can I use UPnP
with RMI?
Thanks,
Daniel.