急激にカーブするパッチに適用されたテクスチャを補正するための拡張命令を、arcticPigsは持っています。

アニマスとは異なり、arcticPigsヴューアはシンプルで平均的に分布しているものとしてパッチのテクスチャ座標を得ています。 もしパッチが急激にカーブしていなければ、一般的にアニマスとarcticPigsのテクスチャの扱いに目立った違いは表れません。
下の図1、2は、パッチのカーブ率によって差があらわれる典型的な例です。 (図1は、arcticPigsヴューアのスクリーンショット)

図1  図2

アニマスのスクリーンショット(図2)を見ると、パッチが急激なカーブを持っていることがわかります。(特に向かって右側の目は、4つのコントロールポイントで円が描かれている)
図3は同じモデルですが、splitneutralフラグをtrueにセットしたものです。(splitneutral :分割とニュートラルを合わせた造語?) このフラグを使用することで、パッチのカーブ率によるデカルの差がなくなり、デカルはサブディビジョン・レベルにおいても同じものとなっています。

図3  図4

splitneutralモードを使用する際、法線(normals)がスムーズに連続したものである必要があります。 もしスプラインの一部がピークになっている場合は、デカルは不連続なものになるかもしれません。

また、この補正は少し計算に時間がかかるため、必要な場所にだけ適用するようにしてください。


参照: (splitneutral = true)




The decal has a single arcticPigs extension to correct the effects of heavily curved patches on the textures applied to the surface. Unlike Animation:Master, the arcticPigs viewer uses a simple averaging to get at the new texture coordinates while patch splitting. If patches are not too 'curved' there generally is no noticeable difference between the AM texturing and the arcticPigs textured models. The example below is typical of cases where the curvature does make a difference. This screen shot was taken from the arcticPigs viewer.

<IMAGES>

From the screenshot of Animation:Master you can see that the patches are heavily curved, on the right eye only 4 control points are used to describe a full circle. Below is the same textured model, but now with the splitneutral flag set to true. You can see that the decal is now no longer influenced by the curvature of the patch. In fact the decal will look the same at any subdivision level.

<IMAGES>

It is important to have continuous, smooth normals while using the splitneutral mode. The normal is an important input to correcting the deformation of the texture. If you have any peaked splines the decal will become discontinuous across patches. This correction is a bit expensive to compute so only use it if necessary.

See also:

(splitneutral = true) |

2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.