mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 14:20:38 +08:00
spelling
Summary: Collection of spelling things, mostly in docs / tutorials. Reviewed By: gkioxari Differential Revision: D26101323 fbshipit-source-id: 652f62bc9d71a4ff872efa21141225e43191353a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c2e62a5087
commit
124bb5e391
@@ -105,7 +105,7 @@ __device__ bool CheckPointOutsideBoundingBox(
|
||||
// which contains Pixel structs with the indices of the faces which intersect
|
||||
// with this pixel sorted by closest z distance. If the point pxy lies in the
|
||||
// face, the list (q) is updated and re-orderered in place. In addition
|
||||
// the auxillary variables q_size, q_max_z and q_max_idx are also modified.
|
||||
// the auxiliary variables q_size, q_max_z and q_max_idx are also modified.
|
||||
// This code is shared between RasterizeMeshesNaiveCudaKernel and
|
||||
// RasterizeMeshesFineCudaKernel.
|
||||
template <typename FaceQ>
|
||||
@@ -275,7 +275,7 @@ __global__ void RasterizeMeshesNaiveCudaKernel(
|
||||
const int yi = H - 1 - pix_idx / W;
|
||||
const int xi = W - 1 - pix_idx % W;
|
||||
|
||||
// screen coordinates to ndc coordiantes of pixel.
|
||||
// screen coordinates to ndc coordinates of pixel.
|
||||
const float xf = PixToNonSquareNdc(xi, W, H);
|
||||
const float yf = PixToNonSquareNdc(yi, H, W);
|
||||
const float2 pxy = make_float2(xf, yf);
|
||||
|
||||
@@ -27,7 +27,7 @@ __device__ inline bool operator<(const Pix& a, const Pix& b) {
|
||||
// which contains Pixel structs with the indices of the points which intersect
|
||||
// with this pixel sorted by closest z distance. If the pixel pxy lies in the
|
||||
// point, the list (q) is updated and re-orderered in place. In addition
|
||||
// the auxillary variables q_size, q_max_z and q_max_idx are also modified.
|
||||
// the auxiliary variables q_size, q_max_z and q_max_idx are also modified.
|
||||
// This code is shared between RasterizePointsNaiveCudaKernel and
|
||||
// RasterizePointsFineCudaKernel.
|
||||
template <typename PointQ>
|
||||
@@ -104,7 +104,7 @@ __global__ void RasterizePointsNaiveCudaKernel(
|
||||
const int yi = H - 1 - pix_idx / W;
|
||||
const int xi = W - 1 - pix_idx % W;
|
||||
|
||||
// screen coordinates to ndc coordiantes of pixel.
|
||||
// screen coordinates to ndc coordinates of pixel.
|
||||
const float xf = PixToNonSquareNdc(xi, W, H);
|
||||
const float yf = PixToNonSquareNdc(yi, H, W);
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ BarycentricPerspectiveCorrectionBackward(
|
||||
// Clip negative barycentric coordinates to 0.0 and renormalize so
|
||||
// the barycentric coordinates for a point sum to 1. When the blur_radius
|
||||
// is greater than 0, a face will still be recorded as overlapping a pixel
|
||||
// if the pixel is outisde the face. In this case at least one of the
|
||||
// if the pixel is outside the face. In this case at least one of the
|
||||
// barycentric coordinates for the pixel relative to the face will be negative.
|
||||
// Clipping will ensure that the texture and z buffer are interpolated
|
||||
// correctly.
|
||||
|
||||
@@ -245,7 +245,7 @@ inline std::tuple<vec3<T>, T, T, T> BarycentricPerspectiveCorrectionBackward(
|
||||
// Clip negative barycentric coordinates to 0.0 and renormalize so
|
||||
// the barycentric coordinates for a point sum to 1. When the blur_radius
|
||||
// is greater than 0, a face will still be recorded as overlapping a pixel
|
||||
// if the pixel is outisde the face. In this case at least one of the
|
||||
// if the pixel is outside the face. In this case at least one of the
|
||||
// barycentric coordinates for the pixel relative to the face will be negative.
|
||||
// Clipping will ensure that the texture and z buffer are interpolated
|
||||
// correctly.
|
||||
|
||||
Reference in New Issue
Block a user