5 #include "Animable_I.h"
11 class RayTracing
: public Animable_I
14 RayTracing(int w
, int h
, int dg
, int db
);
17 void runGPU(uchar4
* ptrDevPixels
) /*override*/;
18 void animationStep() /*override*/;
20 int getW() /*override*/;
21 int getH() /*override*/;
23 float getT() /*override*/;
25 std::string
getTitle(void) /*override*/;
29 * Crée un tablean de 'n' sphères dont le rayon, la couleur et la position sont générés aléatoirement.
31 Sphere
* createSpheres(int n
);
33 Sphere
* ptrDevSpheres
; // Pointeur sur la mémoire du GPU.
45 const std::string title
;