[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Java3Djp:00205] RE: [Java3Djp:00204] Re: Java3D と Swingについて
◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇
◇ 掲載広告募集中 ¥ 10,000〜 ◇
◇ http://www.dns-ml.co.jp/ad-proto.html◇
◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇
田中@xxxxxxxxxxです。
池田さん:
> 4....run Java 3D in Swing components?
>
> Strickly speaking, Java3D cannot run in Swing components. This is principally due to the
> heavyweight vs lightweight issue. J3D is designed to run with hardware accelaration thus
> requiring a heavyweight component for the video card to directly render to. There are many
> technical issues as to why this was the choice which we won't go into here. Sun is very much
> aware of the problem and are working on at least a partial fix for J3D 1.2 involving
offscreen
> rendering.
>
> # 以下略
>
> というFAQが載っていました。だめみたいですね。
> 次のバージョンに期待します。
http://java.sun.com/products/jfc/tsc/archive/tech_topics_arch/mixing/mixing.html
にも以下のような一文があります。
The Swing team is considering adding the option of creating InternalFrames
as heavyweight containers in a future Swing release to alleviate this problem.
However, until then, adhere to the following guideline:
というわけで、考えられるアプローチは2つあるわけですね。
1. Offscreen rendering (by Java3D team)
2. Heavywaight InternalFrames (by Swing team)
どっちかってーと2が有り難いですけど、これってSwingの根っこから書き直す
ことになりそうな。。。
# InternalFrameの境界情報使って有効な描画領域を自分でクリッピング
# するというのは可能なのかな???
// 田中@xxxxxxxxxx
// デザインスピンネーカーセンター