[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Java3Djp:00159] Re: 表示の更新 ?
えんどうです。
> TransformGroup vtrans;
> vtrans = universe.getViewingPlatform().getViewPlatformTransform();
> Transform3D vp = new Transform3D();
> Vector3f vPosition3f = new Vector3f(0.0f,0.0f,4.0f);
> vp.setTranslation(vPosition3f);
> vtrans.setTransform(vp);
これだけだとダメです。PlatformGeometry を視点側に追加してください。
--
ENDO Yasuyuki <yasuyuki@xxxxxxxxxxxx>
http://www.javaopen.org/~yasuyuki/ (Personal/Japanese Only)
http://www.javaopen.org/jfriends/ (Japanese Only)