Warning: fopen(/home/follick.ca/rt/logs.txt): failed to open stream: Permission denied in /home/follick.ca/rt/common/top.inc.php on line 2

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/follick.ca/rt/common/top.inc.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/follick.ca/rt/common/top.inc.php on line 4
Ray Tracing with Caustics
Ray Tracing

Client/Server Parallel (Distributed) Application for Ray Tracers
Installation
Extract the files from the ZIP to a folder of your choice.

Computers running the client app. only will obviously not need the server app. files from the server folder.

The first thing to do is to configure the server config and client config files. They are server.cfg and client.cfg found in their respective folders.

You likely won't even need to touch the server.cfg file. In the client.cfg file, you'll need to set the server's IP address and the path to your ray tracing application on that local machine, etc. The comments in the config files should be self explanatory.

Modifying Your Ray Tracer
Before, you can make use of the client/server application, you'll need to modify your Ray Tracer some, but probably not too much.

Click Here for a C++ example of a mockup ray tracer that uses the parallel client/server applications. It will walk you through the changes you need to make to your ray tracer.

Package Files
The package files are used by the server application to know what files to send to the client. For example, when you run the client, the server will send the scene file and any other necessary files (textures, etc) that are specified in your package file (*.pkg)

All of the files specified in the package file need only be stored with the server, since the server will send these files to all the clients if they don't have the most recent versions.