1 2 3 4 5 6 7 8 9 10 11 12
#include <curand.h> #include <stdint.h> #include <stdio.h> #include "scene.cuh" #include "camera.cuh" __global__ void render(uint8_t *image) { Scene scene; Camera cam(1, make_vect3(0,0,0)); cam.render(scene, image); //scene.render(image); }