2590_ja-JP
3Dシーンの(x、y)にテキストを表示しますか?こんにちは、
3Dメソッドを使用してグラフボックスにカスタムの凡例を追加しようとしています。
色付きの箱がうまく機能している。 今私は
色付きの各ボックスの上部にテキストを追加する必要があります。
私の人生はどのようにしてわかります。 私は私が使用する必要があると確信しています
TRANSLATEコマンドが、それは私がそれがあるべきだと思う方法で働いていません。
ORTHO2Dオブジェクトを作成しています。テキストを
特定のX、Y値
ここにいくつかのサンプルコードがあります:
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> nlegend
style = "">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 10
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> legend_color
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
{
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 127
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 240
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;"> 25343
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;"> 54527
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";カラー:ティール;"> 4652983
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;"> 12058438
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;"> 16765952
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 16736768
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;" 15728640
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:ティール;"> 8323072
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">}
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> legend_list
style = "">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
{
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 10
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 20
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 30
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 40
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 50
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 60
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 70
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 80
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 90
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 100
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">}
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:rgb(0、0、221);">シーン
表示
リスト
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">()
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> //作成
表示リスト
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> lxmin
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> lxmax
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 150
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> ldelta
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
lxmax
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> /
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
伝説
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> l_xsize
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
デルタ
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> *
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;">。8
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> ly1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> ly2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 4.5
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> / *
という名前の表示リストを作成します。
正方形の頂点を保持するlegend_scene。
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;">
style = "">
すべてのz頂点がゼロ
これは二次元のシーンですから。
style = ""> プット
の
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;">
style = "">
に対応する数
各正方形のすぐ上の色* /
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:rgb(0、0、221);">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
( 私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <=
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
伝説
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> ++、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
1×1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
( 私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> -
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 1
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> *
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
デルタ
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> +
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
lxmin
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
1×2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
1×1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> +
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
l_xsize
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> //
1マスを描く
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
色 ( legend_color [ 私 ])
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ベギン (
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:rgb(0、0、221);">ポリゴン
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
頂点 ( 1×1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ly1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
頂点 ( 1×1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ly2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
頂点 ( 1×2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ly2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
頂点 ( 1×2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ly1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
終わり ()
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;"> legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
翻訳する (
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ly2
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:rgb(0、0、221);">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
( 私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <=
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
伝説
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
私
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> ++、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
色 (
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> //
黒
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> //
翻訳がうまくいかない
私はそれを期待した方法...
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
翻訳する ( デルタ
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "">
legend_scene
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:rgb(0、0、221);">テキスト
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">(
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> center
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
ベースライン
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;">。1
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:rgb(0、0、221);"> char
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">(
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";カラー:黒;"> legend_list [ 私 ]))
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> // Put
ディスプレイボックス内のシーン
そして新しいウィンドウを作成します。
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">シーン
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> =
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:rgb(0、0、221);">シーン
ボックス
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">(
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 300
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 50
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:rgb(0、0、221);"> New
窓
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">(
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:紫;"> "サンプル
伝説"
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
シーン )
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">シーン
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
オルソ2d (
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 150
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 0
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">、
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ティール;"> 10
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">)
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">シーン
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
通話リスト ( legend_scene )
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:緑;"> //
を見るためにシーンを更新する
出力
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">シーン
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;"> <<
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
更新
style = "フォントサイズ:10pt;フォントファミリー:" Courier New ";色:ネイビー;">;
style = "フォントサイズ:10pt;フォントファミリ:" Courier New ";色:黒;">
どうもありがとう、
ピーター再:3Dシーンの(X、Y)にテキストを表示する?テキストを表示するには、まずフォントをレンダリングし、次に現在の投影法や遠近法を反映するようにフォントを変換します。小さいフォントをシャープにする(er) - レンダリング後の変換を減らすだけです。あなたの場合:Ortho2Dのサイズをシーンボックスのサイズに見合ったものにして、テキストの歪みを少なくしてください。
style="TEXT-ALIGN: left; WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 16px/20px 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>
style="LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"
class=Apple-style-span>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">nlegend
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">10
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_color
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> {
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">127
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">240
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">25343
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">54527
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">4652983
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">12058438
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">16765952
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">16736768
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">15728640
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">8323072
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">}
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_list
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> {
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">10
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">20
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">30
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">40
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">50
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">60
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">70
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">80
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">90
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">100
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">}
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">Scene
Display List
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">()
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">//Create a
display list
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">lxmin
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">lxmax
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">150
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">ldelta
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> lxmax
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">/
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> nlegend
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">l_xsize
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ldelta
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">*
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">.8
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">ly1
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">ly2
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="BACKGROUND-COLOR: #ffff66">
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">
style="BACKGROUND-COLOR: #ffff66" color=#ff3300>8.5
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">/* Creates a
display list named legend_scene that holds vertices for the squares.
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">
class=Apple-converted-space> All the z vertices are zero
since this is a two dimensional scene.
class=Apple-converted-space> Put the
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">
class=Apple-converted-space> count corresponding to the color
just above each square */
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">for
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> (i
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> i
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> nlegend
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> i
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">++,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> lx1
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> (i
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">1
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">*
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ldelta
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">+
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> lxmin
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> lx2
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> lx1
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">+
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> l_xsize
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">// Draw one
square
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> color(legend_color[i])
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Begin(
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">polygon
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Vertex(lx1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ly1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Vertex(lx1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ly2
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Vertex(lx2
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ly2
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Vertex(lx2
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ly1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> End()
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> translate(
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">-
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">ldelta
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">/
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">1.5
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> ly2
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> color(
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">//
black
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">for
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> (i
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">1
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> i
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> nlegend
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> i
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">++,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> translate(ldelta
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> legend_scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">text
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">(
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">center
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> baseline
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="BACKGROUND-COLOR: #ffff66">
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">
color=#ff3300>5
style="BACKGROUND-COLOR: #ffff66">
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">char
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">(
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">legend_list[i]))
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">//Put the
scene in a display box, and create a new window.
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">=
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">Scene
Box
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">(
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">300
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">50
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> )
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: rgb(0,0,221); FONT-SIZE: 10pt">New
Window
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">(
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: purple; FONT-SIZE: 10pt">"Sample
Legend"
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> scene
class=Apple-converted-space> )
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Ortho2d(
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">150
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">0
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">,
style="BACKGROUND-COLOR: #ffff66">
style="FONT-FAMILY: 'Courier New'; COLOR: teal; FONT-SIZE: 10pt">
style="BACKGROUND-COLOR: #ffff00" color=#ff3333>
style="BACKGROUND-COLOR: #ffff66">25
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Call
List(legend_scene)
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: green; FONT-SIZE: 10pt">// Update the
scene to see the output
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">scene
class=Apple-converted-space>
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt"><<
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space> Update
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">;
style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt">
class=Apple-converted-space>
Re: Display text at (x,y) in 3d scene?Wonderful - works great! Thanks a lot aim. I
tweaked the code a bit and here it is. Which brings up an
additional question: the text is kind of fuzzy - anyone know how to
make it appear any crisper? Thanks - Peter
style="font-size: 10pt; font-family: "Courier New"; color: black;">nlegend
style="">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">10
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_color
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">127
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">240
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">25343
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">54527
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">4652983
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">12058438
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">16765952
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">16736768
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">15728640
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: teal;">8323072
style="font-size: 10pt; font-family: "Courier New"; color: black;">}
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_list
style="">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{
style="font-size: 10pt; font-family: "Courier New"; color: teal;">10
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">20
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">30
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">40
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">50
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">60
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">70
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">80
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">90
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">100
style="font-size: 10pt; font-family: "Courier New"; color: black;">}
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">Scene
Display
List
style="font-size: 10pt; font-family: "Courier New"; color: black;">()
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//Create
a display list
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">lxmin
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">lxmax
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">150
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">ldelta
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
lxmax
style="font-size: 10pt; font-family: "Courier New"; color: navy;">/
style="font-size: 10pt; font-family: "Courier New"; color: black;">
nlegend
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">l_xsize
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ldelta
style="font-size: 10pt; font-family: "Courier New"; color: navy;">*
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">.8
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">ly1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">ly2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">4.5
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">/*
Creates a display list named
legend_scene that holds vertices for the squares.
style="font-size: 10pt; font-family: "Courier New"; color: green;">
style="">
All the z vertices are zero
since this is a two dimensional scene.
style=""> Put
the
style="font-size: 10pt; font-family: "Courier New"; color: green;">
style="">
count corresponding to the
color just above each square */
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">for
style="font-size: 10pt; font-family: "Courier New"; color: black;">
(i
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
i
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
nlegend
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
i
style="font-size: 10pt; font-family: "Courier New"; color: navy;">++,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
lx1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
(i
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: navy;">*
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ldelta
style="font-size: 10pt; font-family: "Courier New"; color: navy;">+
style="font-size: 10pt; font-family: "Courier New"; color: black;">
lxmin
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
lx2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
lx1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">+
style="font-size: 10pt; font-family: "Courier New"; color: black;">
l_xsize
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//
Draw one square
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
color(legend_color[i])
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Begin(
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">polygon
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Vertex(lx1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ly1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Vertex(lx1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ly2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Vertex(lx2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ly2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Vertex(lx2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ly1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
End()
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
translate(
style="font-size: 10pt; font-family: "Courier New"; color: navy;">-
style="font-size: 10pt; font-family: "Courier New"; color: black;">ldelta
style="font-size: 10pt; font-family: "Courier New"; color: navy;">/
style="font-size: 10pt; font-family: "Courier New"; color: teal;">1.5
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ly2
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
color(
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//
black
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">for
style="font-size: 10pt; font-family: "Courier New"; color: black;">
(i
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">1
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
i
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
nlegend
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
i
style="font-size: 10pt; font-family: "Courier New"; color: navy;">++,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
translate(ldelta
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="">
legend_scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">text
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">center
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
baseline
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">3
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">char
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">legend_list[i]))
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//Put
the scene in a display box,
and create a new window.
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">Scene
Box
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">300
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">50
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">New
Window
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: purple;">"Sample
Legend"
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
scene )
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Ortho2d(
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">150
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">0
style="font-size: 10pt; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: teal;">10
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Call List(legend_scene)
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//
Update the scene to see the
output
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">scene
style="font-size: 10pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Update
style="font-size: 10pt; font-family: "Courier New"; color: navy;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Re: Display text at (x,y) in 3d scene?Increase text size from 0.1 to 2 or 3.That will do the trick.
Comments
There are no comments yet