Home
last modified time | relevance | path

Searched refs:newray (Results 1 – 18 of 18) sorted by relevance

/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/
H A Dcamera.cpp58 ray ray1, newray; in camray() local
97 newray.o=scene->camcent; in camray()
98 VSub(&projpixel, &scene->camcent, &newray.d); in camray()
99 newray.depth = scene->raydepth; in camray()
100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray()
102 return newray; in camray()
H A Dbndbox.cpp107 ray newray; in bndbox_intersect() local
166 newray=*ry; in bndbox_intersect()
167 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect()
169 RAYPNT(newray.s , (*ry) , tnear); in bndbox_intersect()
170 RAYPNT(newray.e , (*ry) , (tfar + EPSILON)); in bndbox_intersect()
174 obj->methods->intersect(obj, &newray); in bndbox_intersect()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/
H A Dcamera.cpp58 ray ray1, newray; in camray() local
97 newray.o=scene->camcent; in camray()
98 VSub(&projpixel, &scene->camcent, &newray.d); in camray()
99 newray.depth = scene->raydepth; in camray()
100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray()
102 return newray; in camray()
H A Dbndbox.cpp107 ray newray; in bndbox_intersect() local
166 newray=*ry; in bndbox_intersect()
167 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect()
169 RAYPNT(newray.s , (*ry) , tnear); in bndbox_intersect()
170 RAYPNT(newray.e , (*ry) , (tfar + EPSILON)); in bndbox_intersect()
174 obj->methods->intersect(obj, &newray); in bndbox_intersect()
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/
H A Dcamera.cpp58 ray ray1, newray; in camray() local
97 newray.o = scene->camcent; in camray()
98 VSub(&projpixel, &scene->camcent, &newray.d); in camray()
99 newray.depth = scene->raydepth; in camray()
100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray()
102 return newray; in camray()
H A Dbndbox.cpp101 ray newray; in bndbox_intersect() local
192 newray = *ry; in bndbox_intersect()
193 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect()
195 RAYPNT(newray.s, (*ry), tnear); in bndbox_intersect()
196 RAYPNT(newray.e, (*ry), (tfar + EPSILON)); in bndbox_intersect()
200 obj->methods->intersect(obj, &newray); in bndbox_intersect()
/dports/graphics/rayshade/rayshade.4.0/libray/liblight/
H A Dextended.c69 Ray newray; local
77 newray = *ray;
97 VecComb(upos, Uaxis, vpos, Vaxis, &newray.dir);
98 VecAdd(ldir, newray.dir, &newray.dir);
99 lightdist = VecNormalize(&newray.dir);
101 return !Shadowed(color, lcolor, cache, &newray,
/dports/graphics/rayshade/rayshade.4.0/libshade/
H A Dshade.c176 Ray newray; local
179 newray.pos = *pos;
180 newray.depth = depth;
181 newray.sample = samp;
182 newray.time = time;
183 newray.media = (Medium *)NULL;
187 costheta = dotp(&newray.dir, norm);
190 cosalpha = dotp(&newray.dir, gnorm);
212 if (!LightIntens(lp, &newray, dist,
220 if (!LightIntens(lp, &newray, dist,
[all …]
/dports/graphics/rayshade/rayshade.4.0/libray/libobj/
H A Dintersect.c43 Ray newray; local
62 newray = *ray;
87 distfact *= RayTransform(&newray, &curtrans->itrans);
104 (obj->obj, &newray, hitlist, nmindist, &nmaxdist))
111 (obj->obj, &newray, nmindist, &nmaxdist))
119 AddToHitList(hitlist, &newray, nmindist, nmaxdist, obj);
H A Dcylinder.c89 Ray newray; local
98 newray = *ray;
99 distfact = RayTransform(&newray, &cyl->trans.itrans);
100 nray = newray.dir;
101 npos = newray.pos;
H A Dcone.c135 Ray newray; local
144 newray = *ray;
145 distfact = RayTransform(&newray, &cone->trans.itrans);
146 nray = newray.dir;
147 npos = newray.pos;
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/include/
H A Dpruefer.h105 Vector<Rational> newray(br_cols); in complex_from_prueferSequences()
112 if (newrayindex < newray.dim()) { in complex_from_prueferSequences()
113 newray[newrayindex] = -1; in complex_from_prueferSequences()
115 newray += onlyones; in complex_from_prueferSequences()
119 bergman_rays /= newray; in complex_from_prueferSequences()
H A Dpsi_classes.h218 Vector<Rational> newray( (n*(n-3))/2 + 1); in psi_product()
244 newray.fill(0); in psi_product()
248 newray[ E(smaller_index,larger_index)] = Addition::orientation(); in psi_product()
254 if (rays.row(oray) == newray) { in psi_product()
259 rays /= newray; in psi_product()
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/src/
H A Dmoduli_rational.cc275 Vector<Rational> newray(raydim); // Container for new rays in m0n() local
363 newray.fill(0); in m0n()
369 newray[newrayindex] = Addition::orientation(); in m0n()
371 rays.row(rIndex) = newray; in m0n()
H A Dmoduli_rational_local.cc247 Vector<Rational> newray(bergman_rays.cols()); in local_m0n() local
251 newray[newrayindex] = Addition::orientation(); in local_m0n()
254 bergman_rays.row(r) = newray; in local_m0n()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dlos.cc185 static bool _is_same_ray(los_ray ray, vector<coord_def> newray) in _is_same_ray() argument
187 if (ray.length != newray.size()) in _is_same_ray()
190 if (ray[i] != newray[i]) in _is_same_ray()
196 static bool _is_duplicate_ray(vector<coord_def> newray) in _is_duplicate_ray() argument
199 if (_is_same_ray(lray, newray)) in _is_duplicate_ray()
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/render/
H A Dtrace.cpp1897 Ray newray(lightsourceray); in TraceShadowRay() local
1903 newray.SetFlags(Ray::OtherRay, true, false); in TraceShadowRay()
1907 TraceAreaLightShadowRay(lightsource, newdepth, newray, point, colour); in TraceShadowRay()
1909 TracePointLightShadowRay(lightsource, newdepth, newray, colour); in TraceShadowRay()
1918 …ComputeShadowMedia(newray, isect, colour, (lightsource.Media_Interaction) && (lightsource.Media_At… in TraceShadowRay()
/dports/graphics/povray37/povray-3.7.0.10/source/backend/render/
H A Dtrace.cpp1842 Ray newray(lightsourceray); in TraceShadowRay() local
1848 newray.SetFlags(Ray::OtherRay, true, false); in TraceShadowRay()
1852 TraceAreaLightShadowRay(lightsource, newdepth, newray, point, colour, ticket); in TraceShadowRay()
1854 TracePointLightShadowRay(lightsource, newdepth, newray, colour, ticket); in TraceShadowRay()
1863 …ComputeShadowMedia(newray, isect, colour, (lightsource.Media_Interaction) && (lightsource.Media_At… in TraceShadowRay()