Tools
berays.txt
Associated article: The BeRays Ray Tracer
Tags: Tools
Published source code accompanying the article by Regan Russell in which he presents BeRays, an object-oriented ray-tracer application for the Be operating system that makes it easy to plug in new rendering ideas. Also see RAYS-X86.ZIP.
The BeRays Ray Tracer
by Regan Russell
Listing One
#include <Application.h>
main()
{
const int left = 10, right = 500, top = 10, bottom = 200;
// Create applciation, window and view..
BApplication *TheApp = new BApplication( "application/x-vnd.ddj-sample" );
BWindow *TheWindow = new BWindow(BRect( ...


