Merge pull request #1147 from barfowl/docs_ptex_images

Improved Far patch parameterization documentation for non-quads
This commit is contained in:
David G Yu 2019-06-27 15:41:31 -07:00 committed by GitHub
commit a5d73955fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,15 +369,24 @@ It is important to note that this uv parameterization is the intrinsic
parameterization within a given patch or coarse face and is distinct
from any client specified face-varying channel data.
Patches which result from irregular coarse faces (non-quad faces in the
Catmark scheme, or non-trianglular faces in the Loop scheme) are offset
by the one additional level needed to "quadrangulate" or "triangulate"
the irregular face.
.. image:: images/far_patchUV.png
:align: center
:target: images/far_patchUV.png
Patches which result from irregular coarse faces (non-quad faces in the
Catmark scheme) are offset by the one additional level needed to
"quadrangulate" the irregular face. It is the indices of these offset
faces that are stored in the PatchParam and used in other classes such
as the Far::PatchMap. These offset indices can be identified from the
coarse face using the Far::PtexIndices class when needed.
+--------------------------------------------+--------------------------------------------+
| .. image:: images/ptex_coarse.png | .. image:: images/ptex_quadrangulated.png |
| :align: center | :align: center |
| :width: 100% | :width: 100% |
| :target: images/ptex_coarse.png | :target: images/ptex_quadrangulated.png |
+--------------------------------------------+--------------------------------------------+
A patch along an interpolated boundary edge is supported by an incomplete
sets of control vertices. For consistency, patches in the PatchTable always
have a full set of control vertex indices and the PatchParam Boundary bitmask