Topic: 我是Java3D初学者,请教一个问题

  Print this page

1.我是Java3D初学者,请教一个问题 Copy to clipboard
Posted by: losfound
Posted on: 2005-11-23 01:31

动画旋转时,调用setSchedulingBounds设置BoundingSphere,但是无论BoundingSphere的半径是多少,对结果都没影响。
代码大概是这样:
RotationInterpolator rotator = new RotationInterpolator(rotationAlpha, objSpin);
BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 1.0);
rotator.setSchedulingBounds(bounds);

请问设置的这个BoundingSphere到底是什么作用?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923