Searched refs:Vec3vfx (Results 1 – 9 of 9) sorted by relevance
/dports/graphics/embree/embree-3.13.2/kernels/geometry/ |
H A D | curve_intersector_ribbon.h | 95 const Vec3vfx nn0 = normalize(n0); in intersect_ribbon() 96 const Vec3vfx nn1 = normalize(n1); in intersect_ribbon() 97 const Vec3vfx lp0 = madd(p0.w,nn0,Vec3vfx(p0)); in intersect_ribbon() 98 const Vec3vfx lp1 = madd(p1.w,nn1,Vec3vfx(p1)); in intersect_ribbon() 99 const Vec3vfx up0 = nmadd(p0.w,nn0,Vec3vfx(p0)); in intersect_ribbon() 100 const Vec3vfx up1 = nmadd(p1.w,nn1,Vec3vfx(p1)); in intersect_ribbon() 140 const Vec3vfx nn0 = normalize(n0); in intersect_ribbon() 142 const Vec3vfx lp0 = madd(p0.w,nn0,Vec3vfx(p0)); in intersect_ribbon() 143 const Vec3vfx lp1 = madd(p1.w,nn1,Vec3vfx(p1)); in intersect_ribbon() 144 const Vec3vfx up0 = nmadd(p0.w,nn0,Vec3vfx(p0)); in intersect_ribbon() [all …]
|
H A D | curve_intersector_sweep.h | 150 typedef Vec3<vfloatx> Vec3vfx; in intersect_bezier_recursive_jacobian() typedef 204 const vfloatx rr1 = sqr_point_to_line_distance(Vec3vfx(dP0du),Vec3vfx(P3-P0)); in intersect_bezier_recursive_jacobian() 205 const vfloatx rr2 = sqr_point_to_line_distance(Vec3vfx(dP3du),Vec3vfx(P3-P0)); in intersect_bezier_recursive_jacobian() 213 const CylinderN<vfloatx::size> cylinder_outer(Vec3vfx(P0),Vec3vfx(P3),r_outer); in intersect_bezier_recursive_jacobian() 214 const CylinderN<vfloatx::size> cylinder_inner(Vec3vfx(P0),Vec3vfx(P3),r_inner); in intersect_bezier_recursive_jacobian() 218 … BBox<vfloatx> tc_outer; vfloatx u_outer0; Vec3vfx Ng_outer0; vfloatx u_outer1; Vec3vfx Ng_outer1; in intersect_bezier_recursive_jacobian() 225 … BBox<vfloatx> h0 = HalfPlaneN<vfloatx::size>(Vec3vfx(P0),+Vec3vfx(dP0du)).intersect(org,dir); in intersect_bezier_recursive_jacobian() 227 … BBox<vfloatx> h1 = HalfPlaneN<vfloatx::size>(Vec3vfx(P3),-Vec3vfx(dP3du)).intersect(org,dir); in intersect_bezier_recursive_jacobian() 240 …vfloatx u_inner0 = zero; Vec3vfx Ng_inner0 = zero; vfloatx u_inner1 = zero; Vec3vfx Ng_inner1 = ze… in intersect_bezier_recursive_jacobian() 244 … const vboolx unstable0 = (!valid_inner) | (abs(dot(Vec3vfx(Vec3fa(ray.dir)),Ng_inner0)) < 0.3f); in intersect_bezier_recursive_jacobian() [all …]
|
/dports/graphics/embree/embree-3.13.2/kernels/subdiv/ |
H A D | subdivpatch1base_eval.cpp | 182 Vec3vfx vtx = patchEval(patch,u,v); in evalGrid() 187 const Vec3vfx normal = normalize_safe(patchNormal(patch, u, v)); in evalGrid() 344 Vec3vfx bounds_min; in evalGridBounds() 349 Vec3vfx bounds_max; in evalGridBounds() 358 Vec3vfx vtx = patchEval(patch,u,v); in evalGridBounds() 363 const Vec3vfx normal = normalize_safe(patchNormal(patch,u,v)); in evalGridBounds()
|
H A D | bezier_curve.h | 532 Vec3vfx pl(pos_inf), pu(neg_inf); in accurateBounds() 537 const Vec3vfx p = eval0<VSIZEX,Vec3vf<VSIZEX>>(i,N); in accurateBounds() 538 const Vec3vfx dp = derivative0<VSIZEX,Vec3vf<VSIZEX>>(i,N); in accurateBounds() 539 const Vec3vfx pm = p-Vec3vfx(scale)*select(vi!=vintx(0),dp,Vec3vfx(zero)); in accurateBounds() 540 const Vec3vfx pp = p+Vec3vfx(scale)*select(vi!=vintx(N),dp,Vec3vfx(zero)); in accurateBounds() 587 Vec3vfx pl(pos_inf), pu(neg_inf); vfloatx ru(0.0f); in accurateFlatBounds()
|
H A D | patch_eval_grid.h | 85 const Vec3vfx p = patch->patch.eval(lu,lv); in evalLocalGrid() 86 Vec3vfx n = zero; in evalLocalGrid()
|
H A D | feature_adaptive_eval_grid.h | 153 const Vec3vfx p = patch.eval(lu,lv); in evalLocalGrid() 154 Vec3vfx n = zero; in evalLocalGrid()
|
H A D | catmullrom_curve.h | 258 Vec3vfx pl(pos_inf), pu(neg_inf); vfloatx ru(0.0f); in accurateFlatBounds()
|
H A D | bspline_curve.h | 251 Vec3vfx pl(pos_inf), pu(neg_inf); vfloatx ru(0.0f); in accurateFlatBounds()
|
/dports/graphics/embree/embree-3.13.2/kernels/common/ |
H A D | default.h | 149 typedef Vec3<vfloatx> Vec3vfx; typedef
|