Home
last modified time | relevance | path

Searched refs:numTimeSegments (Results 1 – 14 of 14) sorted by relevance

/dports/graphics/embree/embree-3.13.2/kernels/common/
H A Ddefault.h217 __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 Dscene_user_geometry.h67 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
H A Dscene_curves.cpp393 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 Dscene_points.h252 …st PrimRefMB prim(linearBounds(j, t0t1), this->numTimeSegments(), this->time_range, this->numTimeS… in createPrimRefMBArray()
H A Dscene_instance.h263 …const PrimRefMB prim(linearBounds(0,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
H A Dscene_line_segments.h319 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
H A Dscene_triangle_mesh.h308 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
H A Dscene_quad_mesh.h327 …const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSe… in createPrimRefMBArray()
H A Dgeometry.h495 __forceinline unsigned numTimeSegments () const { in numTimeSegments() function
H A Dscene.cpp64 int timesegments = get(i)->numTimeSegments(); in printStatistics()
/dports/graphics/embree/embree-3.13.2/common/math/
H A Dlbbox.h62 __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 Dbvh_builder_msmblur.h117 …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 Dbvh_builder_sah_mb.cpp241 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 Dbvh_builder_subdiv.cpp288 …patchIndex] = recalculatePrimRef(patchIndexMB,mesh->time_range,mesh->numTimeSegments(),BBox1f(0.0f… in rebuild()