展示物コーナー展示作品リストその他

腕時計(Ada Quinnell)

■作品名:腕時計
■作者名:Ada Quinnell
■カテゴリ:その他

■作品の説明
テクスチャアニメーションを使った時計です。秒針も日付も動作します。
タッチで現在の日時表示(IM)します。オーナのロングタッチでデザイン変更できま
す(展示品は誰でもできます)。設定ファイルにより時差設定、文字盤と針のデザイ
ン追加設定ができます。再リンクできるので時計自体のデザインを変えることもで
きます。また、メッセージは日英対応しています。クライアント言語でメッセージ
の使用言語を切り替えています。
作品紹介記事:http://quinnellada.blog63.fc2.com/blog-entry-68.html

■工夫した点
・ムーブメント
アルファチャネルなしの文字盤の上にアルファチャンネル有りの針を重ねました。
3針ありますが、OpenGLのバグに悩まされることなく動作しています。
http://quinnellada.blog63.fc2.com/blog-entry-67.html (失敗談)
秒針と分針はテクスチャアニメーションを使っています。継続的に動くアニメー
ションを同期させるには、一時停止するのが簡単です。詳細は次のblogを参照下
さい。
http://quinnellada.blog63.fc2.com/blog-entry-69.html
・日付計算アルゴリズム
http://quinnellada.blog63.fc2.com/blog-entry-48.html
ここで紹介したアルゴリズムを使っています。2100年の2/28まで正常に動きます。
曜日も分かるので、曜日表示の追加は容易です。今回はデザインの都合上省きまし
た。
・スクリプトの共通化
壁掛け時計(http://quinnellada.blog63.fc2.com/blog-entry-66.html)と同じスクリプト
を使ってます。オブジェクト名からプリセットデザインを構成するようにしていま
す。また、秒針、長針も同じスクリプトになっています。
・クリック色々
http://quinnellada.blog63.fc2.com/blog-entry-70.html

■主要な機能として使っているLSL関数など
llSetTextureAnim,llGetUnixTime,llMessageLinked,llSetPrimitiveParams,llSetLinkPrimitiveParams,
llGetLinkName,llGetInventoryKey

■自己紹介など
エイダ と申します。メインランドにお店があります。よろしければお立ち寄りくだ
さい。他にもいろいろあります。今のところ全部フリーです^^
ブログ: http://quinnellada.blog63.fc2.com/
SLURL: http://slurl.com/secondlife/Fontaine/39/104/39



展示場所: HERE


*Product Name: Wristwatch
*Creator: Ada Quinnell

*Description
This is a wrist watch that is based on texture animation technique. Hands and
date display on the watch work because it is a watch.
It sends date and time to the avatar who touch it. When an owner do long-
touch, the owner can choose a design by a popup menu (an exhibit version can
be used by everyone) . Time difference and addition of a design of hands and
a plate can be done by editing config in its content tab. This watch can be re-
linked by a owner so that the owner can change design of its exterior.
Message language are selected automatically according to an avatar's client
language.

References(some of them are Japanese):
Introduction of the watch -- http://quinnellada.blog63.fc2.com/blog-entry-68.html
Introduction of a clock -- http://quinnellada.blog63.fc2.com/blog-entry-66.html
About a texture with alpha channel -- http://quinnellada.blog63.fc2.com/blog-entry-67.html
Applications of texture animation -- http://quinnellada.blog63.fc2.com/blog-entry-69.html
The way of getting a calendar info. -- http://quinnellada.blog63.fc2.com/blog-entry-48.html
Valiation of "click" -- http://quinnellada.blog63.fc2.com/blog-entry-70.html

*LSL Functions used in this item
llSetTextureAnim,llGetUnixTime,llMessageLinked,llSetPrimitiveParams,llSetLinkPrimitiveParams,
llGetLinkName,llGetInventoryKey

*Creator Profile
I'm Ada Quinnell. I have a store in mainland. I'm gently asking you to visit my store.
As of today, ALL ITEMS ARE FREE.
ブログ: http://quinnellada.blog63.fc2.com/
SLURL: http://slurl.com/secondlife/Fontaine/39/104/39



exhibit location : HERE