| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | texture.hpp | 54 color standard_texture(vector *, texture *, ray *); 55 color image_cyl_texture(vector *, texture *, ray *); 56 color image_sphere_texture(vector *, texture *, ray *); 57 color image_plane_texture(vector *, texture *, ray *); 58 color checker_texture(vector *, texture *, ray *); 59 color cyl_checker_texture(vector *, texture *, ray *); 60 color grit_texture(vector *, texture *, ray *); 61 color wood_texture(vector *, texture *, ray *); 62 color marble_texture(vector *, texture *, ray *); 63 color gnoise_texture(vector *, texture *, ray *);
|
| H A D | vector.hpp | 62 void ColorAddS(color *a, color *b, flt s); 63 void ColorAccum(color *a, color *b); 64 void ColorScale(color *a, flt s);
|
| H A D | api.cpp | 91 color rt_color(apiflt r, apiflt g, apiflt b) { in rt_color() 92 color c; in rt_color() 174 void rt_background(SceneHandle voidscene, color col) { in rt_background() 249 case 2: tex->texfunc = (color(*)(void *, void *, void *))(grit_texture); break; in apitextotex() 251 case 3: tex->texfunc = (color(*)(void *, void *, void *))(marble_texture); break; in apitextotex() 253 case 4: tex->texfunc = (color(*)(void *, void *, void *))(wood_texture); break; in apitextotex() 255 case 5: tex->texfunc = (color(*)(void *, void *, void *))(gnoise_texture); break; in apitextotex() 260 tex->texfunc = (color(*)(void *, void *, void *))(image_sphere_texture); in apitextotex() 265 tex->texfunc = (color(*)(void *, void *, void *))(image_cyl_texture); in apitextotex() 270 tex->texfunc = (color(*)(void *, void *, void *))(image_plane_texture); in apitextotex() [all …]
|
| H A D | texture.cpp | 60 color standard_texture(vector *hit, texture *tex, ray *ry) { in standard_texture() 148 color grit_texture(vector *hit, texture *tex, ray *ry) { in grit_texture() 151 color col; in grit_texture() 163 color checker_texture(vector *hit, texture *tex, ray *ry) { in checker_texture() 166 color col; in checker_texture() 196 color col; in cyl_checker_texture() 223 color wood_texture(vector *hit, texture *tex, ray *ry) { in wood_texture() 226 color col; in wood_texture() 336 color marble_texture(vector *hit, texture *tex, ray *ry) { in marble_texture() 339 color col; in marble_texture() [all …]
|
| H A D | shade.hpp | 55 color shader(ray *); 56 color shade_reflection(ray *, vector *, vector *, flt); 57 color shade_transmission(ray *, vector *, flt);
|
| H A D | shade.cpp | 69 color shader(ray* incident) { in shader() 70 color col, diffuse, phongcol; in shader() 165 color specol; in shader() 173 color transcol; in shader() 181 color shade_reflection(ray* incident, vector* hit, vector* N, flt specular) { in shade_reflection() 183 color col; in shade_reflection() 210 color shade_transmission(ray* incident, vector* hit, flt trans) { in shade_transmission() 212 color col; in shade_transmission()
|
| H A D | api.hpp | 71 color col; /* base object color */ 108 color rt_color(apiflt r, apiflt g, apiflt b); /* helper to make colors */ 120 void rt_background(SceneHandle, color); 187 void rt_tex_color(void *voidtex, color col);
|
| H A D | types.hpp | 109 } color; typedef 137 color (*texfunc)(void *, void *, void *); 140 color col; /* base object color */ 199 color background; /* scene background color */
|
| H A D | vector.cpp | 113 void ColorAddS(color *a, color *b, flt s) { in ColorAddS() 119 void ColorAccum(color *a, color *b) { in ColorAccum() 125 void ColorScale(color *a, flt s) { in ColorScale()
|
| H A D | extvol.cpp | 121 xvol->tex->texfunc = (color(*)(void *, void *, void *))(ext_volume_texture); in newextvol() 127 color ExtVoxelColor(flt scalar) { in ExtVoxelColor() 128 color col; in ExtVoxelColor() 149 color ext_volume_texture(vector *hit, texture *tex, ray *ry) { in ext_volume_texture() 150 color col, col2; in ext_volume_texture() 160 color diffint; in ext_volume_texture() 324 color transcol; in ext_volume_texture()
|
| H A D | vol.cpp | 122 tx->texfunc = (color(*)(void *, void *, void *))(scalar_volume_texture); in newscalarvol() 130 color VoxelColor(flt scalar) { in VoxelColor() 131 color col; in VoxelColor() 160 color scalar_volume_texture(vector *hit, texture *tex, ray *ry) { in scalar_volume_texture() 161 color col, col2; in scalar_volume_texture() 299 color transcol; in scalar_volume_texture()
|
| H A D | imap.hpp | 54 color ImageMap(rawimage *, flt, flt);
|
| H A D | imap.cpp | 74 color ImageMap(rawimage *image, flt u, flt v) { in ImageMap() 75 color col, colx, colx2; in ImageMap()
|
| H A D | vol.hpp | 63 color scalar_volume_texture(vector *, texture *, ray *);
|
| H A D | extvol.hpp | 72 color ext_volume_texture(vector *, texture *, ray *);
|
| H A D | trace.hpp | 83 color trace(ray *);
|
| H A D | trace_rest.cpp | 66 color trace(ray *primary) { in trace()
|
| H A D | parse.hpp | 90 static errcode GetColor(FILE *, color *);
|
| H A D | trace.simple.cpp | 81 color col; in render_one_pixel()
|
| H A D | trace.serial.cpp | 81 color col, avcol; in render_one_pixel()
|
| H A D | trace.omp.cpp | 82 color col, avcol; in render_one_pixel()
|
| H A D | trace.tbb1d.cpp | 89 color col, avcol; in render_one_pixel()
|
| H A D | trace.threads.cpp | 93 color col, avcol; in render_one_pixel()
|
| /oneTBB/examples/common/gui/ |
| H A D | video.hpp | 143 inline void put_pixel(color_t color); 145 void set_pixel(int localx, int localy, color_t color) { in set_pixel() argument 147 put_pixel(color); in set_pixel() 215 inline void drawing_area::put_pixel(color_t color) { in put_pixel() argument 218 ptr32[index++] = color; in put_pixel() 220 ((unsigned short *)ptr32)[index++] = (unsigned short)color; in put_pixel() 223 color >>= 16; in put_pixel() 224 ((unsigned short *)ptr32)[index++] = (unsigned short)color; in put_pixel()
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | fractal.cpp | 35 color_t color; in calc_one_pixel() local 57 color = v->get_color(255, 255, 255); in calc_one_pixel() 58 return color; in calc_one_pixel() 69 color = v->get_color(r, g, b); in calc_one_pixel() 70 return color; in calc_one_pixel() 86 color_t color = is_active ? v->get_color(0, 255, 0) // green color in draw_border() local 92 area0.put_pixel(color); in draw_border() 96 area1.put_pixel(color); in draw_border() 100 area2.set_pixel(0, i, color); in draw_border() 104 area3.set_pixel(0, i, color); in draw_border()
|