Home
last modified time | relevance | path

Searched refs:tfar (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/dports/graphics/embree/embree-3.13.2/kernels/common/
H A Dray.h118 tfar = ray.tfar;
219 tfar = ray.tfar;
479 ray.tfar = tfar(offset)[0];
671 ray.tfar[k] = *tfar(ofs);
712 *tfar(ofs) = ray.tfar[k];
749 *tfar(ofs) = ray.tfar[k];
782 tfar = (float*)&t.tfar;
1147 ray_k->tfar = ray.tfar[k];
1178 ray_k->tfar = ray.tfar[k];
1352 ray_k->tfar = ray.tfar[k];
[all …]
/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/
H A Dbox.cpp89 flt tnear, tfar; in box_intersect() local
92 tfar= FHUGE; in box_intersect()
102 if (tx2 < tfar) tfar=tx2; in box_intersect()
104 if (tnear > tfar) return; in box_intersect()
105 if (tfar < 0.0) return; in box_intersect()
115 if (ty2 < tfar) tfar=ty2; in box_intersect()
117 if (tnear > tfar) return; in box_intersect()
118 if (tfar < 0.0) return; in box_intersect()
128 if (tz2 < tfar) tfar=tz2; in box_intersect()
130 if (tnear > tfar) return; in box_intersect()
[all …]
H A Dbndbox.cpp105 flt tnear, tfar; in bndbox_intersect() local
123 tfar= FHUGE; in bndbox_intersect()
133 if (tx2 < tfar) tfar=tx2; in bndbox_intersect()
135 if (tnear > tfar) return; in bndbox_intersect()
136 if (tfar < 0.0) return; in bndbox_intersect()
146 if (ty2 < tfar) tfar=ty2; in bndbox_intersect()
148 if (tnear > tfar) return; in bndbox_intersect()
149 if (tfar < 0.0) return; in bndbox_intersect()
159 if (tz2 < tfar) tfar=tz2; in bndbox_intersect()
161 if (tnear > tfar) return; in bndbox_intersect()
[all …]
H A Dvol.cpp158 flt tnear, tfar; in scalar_volume_texture() local
174 tfar= FHUGE; in scalar_volume_texture()
184 if (tx2 < tfar) tfar=tx2; in scalar_volume_texture()
186 if (tnear > tfar) return col; in scalar_volume_texture()
187 if (tfar < 0.0) return col; in scalar_volume_texture()
197 if (ty2 < tfar) tfar=ty2; in scalar_volume_texture()
199 if (tnear > tfar) return col; in scalar_volume_texture()
200 if (tfar < 0.0) return col; in scalar_volume_texture()
210 if (tz2 < tfar) tfar=tz2; in scalar_volume_texture()
212 if (tnear > tfar) return col; in scalar_volume_texture()
[all …]
H A Dextvol.cpp154 flt tnear, tfar; in ext_volume_texture() local
172 tfar= FHUGE; in ext_volume_texture()
182 if (tx2 < tfar) tfar=tx2; in ext_volume_texture()
184 if (tnear > tfar) return col; in ext_volume_texture()
185 if (tfar < 0.0) return col; in ext_volume_texture()
195 if (ty2 < tfar) tfar=ty2; in ext_volume_texture()
197 if (tnear > tfar) return col; in ext_volume_texture()
198 if (tfar < 0.0) return col; in ext_volume_texture()
208 if (tz2 < tfar) tfar=tz2; in ext_volume_texture()
210 if (tnear > tfar) return col; in ext_volume_texture()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/
H A Dbox.cpp89 flt tnear, tfar; in box_intersect() local
92 tfar= FHUGE; in box_intersect()
102 if (tx2 < tfar) tfar=tx2; in box_intersect()
104 if (tnear > tfar) return; in box_intersect()
105 if (tfar < 0.0) return; in box_intersect()
115 if (ty2 < tfar) tfar=ty2; in box_intersect()
117 if (tnear > tfar) return; in box_intersect()
118 if (tfar < 0.0) return; in box_intersect()
128 if (tz2 < tfar) tfar=tz2; in box_intersect()
130 if (tnear > tfar) return; in box_intersect()
[all …]
H A Dbndbox.cpp105 flt tnear, tfar; in bndbox_intersect() local
123 tfar= FHUGE; in bndbox_intersect()
133 if (tx2 < tfar) tfar=tx2; in bndbox_intersect()
135 if (tnear > tfar) return; in bndbox_intersect()
136 if (tfar < 0.0) return; in bndbox_intersect()
146 if (ty2 < tfar) tfar=ty2; in bndbox_intersect()
148 if (tnear > tfar) return; in bndbox_intersect()
149 if (tfar < 0.0) return; in bndbox_intersect()
159 if (tz2 < tfar) tfar=tz2; in bndbox_intersect()
161 if (tnear > tfar) return; in bndbox_intersect()
[all …]
H A Dvol.cpp158 flt tnear, tfar; in scalar_volume_texture() local
174 tfar= FHUGE; in scalar_volume_texture()
184 if (tx2 < tfar) tfar=tx2; in scalar_volume_texture()
186 if (tnear > tfar) return col; in scalar_volume_texture()
187 if (tfar < 0.0) return col; in scalar_volume_texture()
197 if (ty2 < tfar) tfar=ty2; in scalar_volume_texture()
199 if (tnear > tfar) return col; in scalar_volume_texture()
200 if (tfar < 0.0) return col; in scalar_volume_texture()
210 if (tz2 < tfar) tfar=tz2; in scalar_volume_texture()
212 if (tnear > tfar) return col; in scalar_volume_texture()
[all …]
H A Dextvol.cpp154 flt tnear, tfar; in ext_volume_texture() local
172 tfar= FHUGE; in ext_volume_texture()
182 if (tx2 < tfar) tfar=tx2; in ext_volume_texture()
184 if (tnear > tfar) return col; in ext_volume_texture()
185 if (tfar < 0.0) return col; in ext_volume_texture()
195 if (ty2 < tfar) tfar=ty2; in ext_volume_texture()
197 if (tnear > tfar) return col; in ext_volume_texture()
198 if (tfar < 0.0) return col; in ext_volume_texture()
208 if (tz2 < tfar) tfar=tz2; in ext_volume_texture()
210 if (tnear > tfar) return col; in ext_volume_texture()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/
H A Dbox.cpp87 flt tnear, tfar; in box_intersect() local
90 tfar = FHUGE; in box_intersect()
106 if (tx2 < tfar) in box_intersect()
107 tfar = tx2; in box_intersect()
109 if (tnear > tfar) in box_intersect()
111 if (tfar < 0.0) in box_intersect()
128 if (ty2 < tfar) in box_intersect()
131 if (tnear > tfar) in box_intersect()
133 if (tfar < 0.0) in box_intersect()
153 if (tnear > tfar) in box_intersect()
[all …]
H A Dbndbox.cpp99 flt tnear, tfar; in bndbox_intersect() local
123 tfar = FHUGE; in bndbox_intersect()
139 if (tx2 < tfar) in bndbox_intersect()
140 tfar = tx2; in bndbox_intersect()
142 if (tnear > tfar) in bndbox_intersect()
144 if (tfar < 0.0) in bndbox_intersect()
161 if (ty2 < tfar) in bndbox_intersect()
164 if (tnear > tfar) in bndbox_intersect()
166 if (tfar < 0.0) in bndbox_intersect()
186 if (tnear > tfar) in bndbox_intersect()
[all …]
H A Dvol.cpp164 flt tnear, tfar; in scalar_volume_texture() local
180 tfar = FHUGE; in scalar_volume_texture()
196 if (tx2 < tfar) in scalar_volume_texture()
197 tfar = tx2; in scalar_volume_texture()
199 if (tnear > tfar) in scalar_volume_texture()
201 if (tfar < 0.0) in scalar_volume_texture()
218 if (ty2 < tfar) in scalar_volume_texture()
221 if (tnear > tfar) in scalar_volume_texture()
223 if (tfar < 0.0) in scalar_volume_texture()
243 if (tnear > tfar) in scalar_volume_texture()
[all …]
H A Dextvol.cpp154 flt tnear, tfar; in ext_volume_texture() local
172 tfar = FHUGE; in ext_volume_texture()
188 if (tx2 < tfar) in ext_volume_texture()
189 tfar = tx2; in ext_volume_texture()
191 if (tnear > tfar) in ext_volume_texture()
193 if (tfar < 0.0) in ext_volume_texture()
210 if (ty2 < tfar) in ext_volume_texture()
213 if (tnear > tfar) in ext_volume_texture()
215 if (tfar < 0.0) in ext_volume_texture()
235 if (tnear > tfar) in ext_volume_texture()
[all …]
/dports/graphics/embree/embree-3.13.2/kernels/geometry/
H A Dintersector_epilog.h51 ray.tfar = hit.t; in operator()
60 ray.tfar = hit.t; in operator()
157 ray.tfar[k] = hit.t; in operator()
519 ray.tfar = select(valid,t,ray.tfar); in operator()
521 ray.tfar = select(m_accept,ray.tfar,old_t); in operator()
584 ray.tfar = select(valid,t,ray.tfar); in operator()
586 ray.tfar = select(valid,ray.tfar,old_t); in operator()
634 ray.tfar = select(valid,t,ray.tfar); in operator()
636 ray.tfar = select(m_accept,ray.tfar,old_t); in operator()
694 ray.tfar = select(valid,t,ray.tfar); in operator()
[all …]
/dports/graphics/tachyon/tachyon/src/
H A Dbox.c46 flt tnear, tfar; in box_intersect() local
49 tfar= FHUGE; in box_intersect()
59 if (tx2 < tfar) tfar=tx2; in box_intersect()
61 if (tnear > tfar) return; in box_intersect()
62 if (tfar < 0.0) return; in box_intersect()
72 if (ty2 < tfar) tfar=ty2; in box_intersect()
74 if (tnear > tfar) return; in box_intersect()
75 if (tfar < 0.0) return; in box_intersect()
85 if (tz2 < tfar) tfar=tz2; in box_intersect()
87 if (tnear > tfar) return; in box_intersect()
[all …]
H A Dparvol.c61 flt tnear, tfar; in par_volume_texture() local
75 tfar= FHUGE; in par_volume_texture()
85 if (tx2 < tfar) tfar=tx2; in par_volume_texture()
87 if (tnear > tfar) return col; in par_volume_texture()
88 if (tfar < 0.0) return col; in par_volume_texture()
98 if (ty2 < tfar) tfar=ty2; in par_volume_texture()
100 if (tnear > tfar) return col; in par_volume_texture()
101 if (tfar < 0.0) return col; in par_volume_texture()
111 if (tz2 < tfar) tfar=tz2; in par_volume_texture()
113 if (tnear > tfar) return col; in par_volume_texture()
[all …]
H A Dvol.c143 flt tnear, tfar; in scalar_volume_texture() local
160 tfar= FHUGE; in scalar_volume_texture()
170 if (tx2 < tfar) tfar=tx2; in scalar_volume_texture()
172 if (tnear > tfar) return col; in scalar_volume_texture()
173 if (tfar < 0.0) return col; in scalar_volume_texture()
183 if (ty2 < tfar) tfar=ty2; in scalar_volume_texture()
186 if (tfar < 0.0) return col; in scalar_volume_texture()
196 if (tz2 < tfar) tfar=tz2; in scalar_volume_texture()
204 if (ry->maxdist < tfar) in scalar_volume_texture()
205 tfar = ry->maxdist; in scalar_volume_texture()
[all …]
H A Dextvol.c112 flt tnear, tfar; in ext_volume_texture() local
130 tfar= FHUGE; in ext_volume_texture()
140 if (tx2 < tfar) tfar=tx2; in ext_volume_texture()
142 if (tnear > tfar) return col; in ext_volume_texture()
143 if (tfar < 0.0) return col; in ext_volume_texture()
153 if (ty2 < tfar) tfar=ty2; in ext_volume_texture()
155 if (tnear > tfar) return col; in ext_volume_texture()
156 if (tfar < 0.0) return col; in ext_volume_texture()
166 if (tz2 < tfar) tfar=tz2; in ext_volume_texture()
168 if (tnear > tfar) return col; in ext_volume_texture()
[all …]
/dports/games/0ad/0ad-0.0.23b-alpha/source/maths/
H A DBoundingBoxAligned.cpp62 tfar = t1; in RayIntersect()
65 tfar = t2; in RayIntersect()
68 if (tfar<0) in RayIntersect()
81 if (t1<tfar) in RayIntersect()
82 tfar = t1; in RayIntersect()
87 tfar = t2; in RayIntersect()
90 if (tnear>tfar || tfar<0) in RayIntersect()
104 tfar = t1; in RayIntersect()
109 tfar = t2; in RayIntersect()
112 if (tnear>tfar || tfar<0) in RayIntersect()
[all …]
/dports/graphics/embree/embree-3.13.2/kernels/bvh/
H A Dbvh_intersector_hybrid.cpp94 tray1.tfar = ray.tfar[k]; in intersect1()
228 const vbool<K> active = curDist < tray.tfar; in intersect()
247 tray.tfar = min(tray.tfar, ray.tfar); in intersect()
361 tray.tfar = select(valid_leaf, ray.tfar, tray.tfar); in intersect()
514 if (likely(any((ray.tfar < tray.tfar) & valid_leaf))) in intersectCoherent()
516 tray.tfar = select(valid_leaf, ray.tfar, tray.tfar); in intersectCoherent()
586 ray.tfar[k] = neg_inf; in occluded1()
674 const vbool<K> active = curDist < tray.tfar; in occluded()
695 tray.tfar = select(terminated, vfloat<K>(neg_inf), tray.tfar); in occluded()
771 …tray.tfar = select(terminated, vfloat<K>(neg_inf), tray.tfar); // ignore node intersections for te… in occluded()
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/embree/
H A DEmbreeIntersector.h184 float tfar,
367 float tfar, in intersectRay() argument
386 hit.t = ray.tfar; in intersectRay()
398 float tfar, in intersectBeam() argument
451 float tfar, in intersectRay() argument
466 createRay(ray,origin,direction,tnear,tfar,mask); in intersectRay()
471 ray.tfar = tfar; in intersectRay()
499 hit.t = ray.tfar; in intersectRay()
506 min_t = ray.tfar; in intersectRay()
558 hit.t = ray.tfar; in intersectSegment()
[all …]
/dports/graphics/wings/libigl-2.1.0/include/igl/embree/
H A DEmbreeIntersector.h184 float tfar,
372 float tfar, in intersectRay() argument
399 hit.t = ray.ray.tfar; in intersectRay()
411 float tfar, in intersectBeam() argument
465 float tfar, in intersectRay() argument
481 createRay(ray,origin,direction,tnear,tfar,mask); in intersectRay()
486 ray.ray.tfar = tfar; in intersectRay()
521 hit.t = ray.ray.tfar; in intersectRay()
528 min_t = ray.ray.tfar; in intersectRay()
588 hit.t = ray.ray.tfar; in intersectSegment()
[all …]
/dports/graphics/embree/embree-3.13.2/tutorials/common/core/
H A Dray.h34 float tfar = embree::inf,
39 : org(org,tnear), dir(dir,time), tfar(tfar), mask(mask), primID(primID), geomID(geomID) in org()
52 float tfar; //!< End of ray segment member
77 float tfar = embree::inf,
83 ray = Ray(org,dir,tnear,tfar,time,mask,geomID,primID);
113 … ", dir = " << ray.dir << ", near = " << ray.tnear() << ", far = " << ray.tfar << ", time = " << r…
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/math/bsp/
H A Dbsp_intersector.h141 ValueType tfar = ray.m_tmax; in intersect() local
171 if (!(t >= tfar)) in intersect()
174 stack_ptr->m_tfar = tfar; in intersect()
177 tfar = t; in intersect()
200 if (distance < tfar) in intersect()
210 tnear = tfar; in intersect()
211 tfar = stack_ptr->m_tfar; in intersect()
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/embree/embree2/
H A Drtcore_ray.h35 float tfar; //!< End of ray segment (set to hit distance) member
67 float tfar[4]; //!< End of ray segment (set to hit distance) member
100 float tfar[8]; //!< End of ray segment (set to hit distance) member
133 float tfar[16]; //!< End of ray segment (set to hit distance) member
168 float* tfar; //!< End of ray segment (set to hit distance) member

12345678910>>...15