ジャンプ先: 概要. 戻り値. 関連項目. フラグ. MEL 例.

概要

displaySmoothness [-all] [-boundary] [-defaultCreation] [-divisionsU int] [-divisionsV int] [-full] [-hull] [-pointsShaded int] [-pointsWire int] [-polygonObject int] [-renderTessellation boolean] [-simplifyU int] [-simplifyV int] [objects]

displaySmoothness は 「元に戻す」が可能、「照会」が可能、「編集」が不可能 です。

NURBS カーブとサーフェスの表示の滑らかさが、あらかじめ定義された値またはカスタム値に設定されます。 ハルなどの精度とハルの単純化係数も表示モード用に設定されます。 現在、このコマンドは取り消すことはできません。

戻り値

なし

戻り値の型は照会モードでは照会フラグが基になります。

関連項目

currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displayStats, displaySurface, hide, refresh, showHidden, toggle

フラグ

all, boundary, defaultCreation, divisionsU, divisionsV, full, hull, pointsShaded, pointsWire, polygonObject, renderTessellation, simplifyU, simplifyV
ロング ネーム(ショート ネーム) 引数型 プロパティ
-all(-all) createquery
すべてのカーブとサーフェスの平滑性を変更します。
-full(-f) createquery
完全解像度でサーフェスが表示されます。これがデフォルトです。
-hull(-hl) createquery
ハルを使用してサーフェスが表示されます(サーフェス ノット ポイントではなく、制御点が描画されます)。このモードは、サーフェス上でポイントを評価する必要がないので、サーフェスを修正したときの、表示パフォーマンスが改善されて便利です。
-boundary(-bn) createquery
サーフェスの境界のみを使用してワイヤフレームが表示されます。まだ完全には実装されていません。
-defaultCreation(-dc) createquery
作成時のデフォルト値(-du、-dv、-pw、-ps のみを適用)。
-pointsWire(-pw) int createquery
ワイヤフレーム モードにおける、サーフェス アイソパラム スパンごとのポイント数、またはカーブ スパンごとのポイント数。 値の有効範囲は [1,128] です。 注: NURBS カーブにも適用されるフラグはこれだけです。
-pointsShaded(-ps) int createquery
シェーディング モードでのサーフェス スパンごとのポイント数。値の有効範囲は [1,64] です。
-divisionsU(-du) int createquery
U 方向における、スパンごとのアイソパラム分割数。 値の有効範囲は [0,64] です。
-divisionsV(-dv) int createquery
V 方向における、スパンごとのアイソパラム分割数。 値の有効範囲は [0,64] です。
-simplifyU(-su) int createquery
ハル表示モードの場合に U 方向でスキップされるスパン数。
-simplifyV(-sv) int createquery
ハル表示モードの場合に V 方向でスキップされるスパン数。
-renderTessellation(-rt) boolean createquery
シェーディング モードではレンダー テッセレーション パラメータを使って表示します。
-polygonObject(-po) int createquery
指定した解像度でポリゴン オブジェクトが表示されます。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// create a surface
sphere;

// set rough smoothness settings
displaySmoothness -du 0 -dv 0 -pw 4 -ps 1;

// set medium smoothness settings
displaySmoothness -du 1 -dv 1 -pw 8 -ps 2;

// set fine smoothness settings
displaySmoothness -du 2 -dv 2 -pw 16 -ps 4;

// Display surface as a hull
displaySmoothness -hull;

// Display with reduced number of points
displaySmoothness -hull -su 2 -sv 2;

// Display rendering tesselation
displaySmoothness -rt 1;

// Set default value for pointsShaded.
// Subsequent surfaces created will have pointsShaded as 2.
displaySmoothness -dc -ps 2;

// displaySmoothness queries
displaySmoothness -q -hull;        // query hull display, returns boolean
displaySmoothness -q -dc -ps;    // query default pointsShaded value
displaySmoothness -q -du;        // query surface divisionsU value

// Only the -pointsWire flag works on curves.
circle;

// change the number of points displayed per curve span.
displaySmoothness -pw 3;
// query default pointsWire value for curves.
displaySmoothness -q -dc -pw;

polyCube;

// Query the display resolution
displaySmoothness -q -polygonObject;
// Result: 0

// Change the display resolution
displaySmoothness -polygonObject 2;