ptxmake
[-fedfile name]
[-depth byte or short or half or float]
[-splat none or diffusion or smooth or area]
[-newer 0 or 1]
[-verbose]
[-outofcore]
[-help]
ptcfilename channelname ptxfilename
ptxmake converts a given channel of a point cloud file into a ptexture file by projecting UV sets in the point cloud file onto faces in the ptexture file.
In order to use ptxmake to project the face data, the point cloud must contain the u, v, faceid coordinates stored in the P (point) value - in other words, the bake3d call used to generate the point cloud should look like this:
bake3d(bakefile, "mypointcloud", point(u,v,faceid), ...)
Although not required, it is best to use a "face-edge-data" file (fedfile) to describe the connectivity of the faces in a ptexture file. The ptexture() call cannot filter the results well without the connectivity data. This file can be created using a RIF plugin called RifFaceEdgeData.
Several algorithms are provided for the projection process, and the diffusion method is the default. It is very robust in cases of sampling that can have widely different point densities per face with no particulare structure; also, the hole filling takes care of cases where the leaking of black samples can occur if the face has discontinuities.
Determines the algorithm used to splat points onto the image plane. Valid choices are:
If not specified, the default splat mode is: diffusion .
Pixar Animation Studios
|