Tachyon (current)
Current Main Branch
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "macros.h"
#include "vector.h"
#include "shade.h"
#include "camera.h"
#include "util.h"
#include "threads.h"
#include "parallel.h"
#include "intersect.h"
#include "ui.h"
#include "trace.h"
Go to the source code of this file.
Macros | |
#define | TACHYON_INTERNAL 1 |
Functions | |
color | trace (ray *primary) |
void | convert_rgb96f_rgb24u (color col, unsigned char *img) |
void * | thread_trace (thr_parms *t) |
void convert_rgb96f_rgb24u | ( | color | col, |
unsigned char * | img | ||
) |
Definition at line 182 of file trace.c.
Referenced by thread_trace().
void* thread_trace | ( | thr_parms * | t | ) |
Definition at line 201 of file trace.c.
References camray_init(), convert_rgb96f_rgb24u(), thr_parms::local_mbox, rt_atomic_int_fetch_and_add(), rt_thread_barrier(), rt_ui_progress(), thr_parms::runbar, thr_parms::scene, thr_parms::serialno, thr_parms::startx, thr_parms::starty, thr_parms::stopx, thr_parms::stopy, tea4(), thr_parms::tid, thr_parms::xinc, and thr_parms::yinc.
Referenced by renderscene(), and thread_worker().
color trace | ( | ray * | primary | ) |
Definition at line 33 of file trace.c.
References intersect_objects().