/dports/graphics/embree/embree-3.13.2/kernels/common/ |
H A D | default.h | 217 __forceinline int getTimeSegment(float time, float numTimeSegments, float& ftime) in getTimeSegment() argument 219 const float timeScaled = time * numTimeSegments; in getTimeSegment() 220 const float itimef = clamp(floorf(timeScaled), 0.0f, numTimeSegments-1.0f); in getTimeSegment() 227 const float timeScaled = (time-start_time)/(end_time-start_time) * numTimeSegments; in getTimeSegment() 228 const float itimef = clamp(floorf(timeScaled), 0.0f, numTimeSegments-1.0f); in getTimeSegment() 236 const vfloat<N> timeScaled = time * numTimeSegments; in getTimeSegment() 237 const vfloat<N> itimef = clamp(floor(timeScaled), vfloat<N>(zero), numTimeSegments-1.0f); in getTimeSegment() 245 const vfloat<N> timeScaled = (time-start_time)/(end_time-start_time) * numTimeSegments; in getTimeSegment() 246 const vfloat<N> itimef = clamp(floor(timeScaled), vfloat<N>(zero), numTimeSegments-1.0f); in getTimeSegment() 257 …st int itime_upper = (int)min(ceil (round_down*time_range.upper*numTimeSegments), numTimeSegments); in getTimeSegmentRange() [all …]
|
H A D | scene_user_geometry.h | 67 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
|
H A D | scene_curves.cpp | 393 using CurveInterfaceT<Curve>::numTimeSegments; 534 if (!valid(ctype, j, make_range<size_t>(0, numTimeSegments()))) continue; in createPrimRefArray() 552 …const PrimRefMB prim(lbox,this->numTimeSegments(),this->time_range,this->numTimeSegments(),geomID,… in createPrimRefMBArray()
|
H A D | scene_points.h | 252 …st PrimRefMB prim(linearBounds(j, t0t1), this->numTimeSegments(), this->time_range, this->numTimeS… in createPrimRefMBArray()
|
H A D | scene_instance.h | 263 …const PrimRefMB prim(linearBounds(0,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
|
H A D | scene_line_segments.h | 319 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
|
H A D | scene_triangle_mesh.h | 308 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
|
H A D | scene_quad_mesh.h | 327 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
|
H A D | geometry.h | 495 __forceinline unsigned numTimeSegments () const { in numTimeSegments() function
|
H A D | scene.cpp | 64 int timesegments = get(i)->numTimeSegments(); in printStatistics()
|
/dports/graphics/embree/embree-3.13.2/common/math/ |
H A D | lbbox.h | 62 __forceinline LBBox(const BoundsFunc& bounds, const BBox1f& time_range, float numTimeSegments) in LBBox() 64 const float lower = time_range.lower*numTimeSegments; in LBBox() 65 const float upper = time_range.upper*numTimeSegments; in LBBox() 87 const float f = (float(i)/numTimeSegments - time_range.lower) / time_range.size(); in LBBox() 152 __forceinline LBBox(const BoundsFunc& bounds, const range<int>& time_range, int numTimeSegments) in LBBox()
|
/dports/graphics/embree/embree-3.13.2/kernels/builders/ |
H A D | bvh_builder_msmblur.h | 117 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator() 128 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator() 155 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator() 165 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator()
|
/dports/graphics/embree/embree-3.13.2/kernels/bvh/ |
H A D | bvh_builder_sah_mb.cpp | 241 const unsigned num_time_segments = mesh->numTimeSegments(); in operator ()() 532 …RefMB prim(mesh->linearBounds(g,x,y,t0t1),mesh->numTimeSegments(),mesh->time_range,mesh->numTimeSe… in createPrimRefArrayMSMBlurGrid()
|
H A D | bvh_builder_subdiv.cpp | 288 …patchIndex] = recalculatePrimRef(patchIndexMB,mesh->time_range,mesh->numTimeSegments(),BBox1f(0.0f… in rebuild()
|