Public API classes for reading, writing, caching, and filtering Ptex files.
Interface for reading data from a ptex file.
void splitAndApply(PtexTriangleKernel &k, int faceid, const Ptex::FaceInfo &f)
void applyIter(PtexTriangleKernelIter &k, PtexFaceData *dh)
void apply(PtexTriangleKernel &k, int faceid, const Ptex::FaceInfo &f)
virtual ~PtexTriangleFilter()
void buildKernel(PtexTriangleKernel &k, float u, float v, float uw1, float vw1, float uw2, float vw2, float width, float blur, Res faceRes)
void applyAcrossEdge(PtexTriangleKernel &k, const Ptex::FaceInfo &f, int eid)
virtual void release()
Release resources held by this pointer (pointer becomes invalid).
PtexTriangleFilter(PtexTexture *tx, const PtexFilter::Options &opts)
virtual void eval(float *result, int firstchan, int nchannels, int faceid, float u, float v, float uw1, float vw1, float uw2, float vw2, float width, float blur)
Apply filter to a ptex data file.
Triangle filter kernel iterator (in texel coords)
Triangle filter kernel (in normalized triangle coords)