I have created a 3d cube that spins. My problem is that it spins
extremely fast! Can I add anything or do anything to make this slow
down??? PLease help
THanks
<APPLET CODE="image3dcube.class" WIDTH=350 HEIGHT=400>
<PARAM name="speedvalue"="1">
<PARAM name="POVvalue"="2">
<PARAM name="Thetavalue"=".01">
<PARAM name="background" value="FFFFFF">
<PARAM name="shadowcolor" value="FFFFFF">
<PARAM name="textcolor" value="000000">
<PARAM name="spotlight" value="no">
<PARAM name="showlightbutton" value="no">
<PARAM name="sleeptime" value="8">
<PARAM name="target" value="_self">
<PARAM name="anglestep" value="3">
<PARAM name="mouseresponse" value="5">
<PARAM name="zoomspeed" value="1">
<PARAM name="image0" value="image1a.jpg">
<PARAM name="image1" value="image2a.jpg">
<PARAM name="image2" value="image3a.jpg">
<PARAM name="image3" value="image4a.jpg">
<PARAM name="image4" value="image5a.jpg">
<PARAM name="image5" value="image6a.jpg">
<PARAM name="url0" value="http://www.geocities.com/pyper33594/cube">
<PARAM name="url1" value="http://www.geocities.com/pyper33594/cube">
<PARAM name="url2" value="http://www.geocities.com/pyper33594/cube">
<PARAM name="url3" value="http://www.geocities.com/pyper33594/cube">
<PARAM name="url4" value="http://www.geocities.com/pyper33594/cube">
<PARAM name="url5" value="http://www.geocities.com/pyper33594/cube">
</APPLET> <script language="JavaScript">
</CENTER>
</body>
Cédric Olmanst - 11 May 2006 19:25 GMT
pyper33594@yahoo.com a écrit :
> I have created a 3d cube that spins. My problem is that it spins
> extremely fast! Can I add anything or do anything to make this slow
> down??? PLease help
TransformGroup tgSpin = new TransformGroup();
tgSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
Alpha alpha = new Alpha(-1,*4000*); _<=_change_that_value_
RotationInterpolator rotator=new rotationInterpolator(alpha,tgSpin);
BoundingSphere bounds = new BoundingSphere();
rotator.setSchedulingBounds(bounds);
tgSpin.addChild(rotator);
Cédric Olmanst - 11 May 2006 19:27 GMT
pyper33594@yahoo.com a écrit :
> I have created a 3d cube that spins. My problem is that it spins
> extremely fast! Can I add anything or do anything to make this slow
> down??? PLease help
TransformGroup tgSpin = new TransformGroup();
tgSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
Alpha alpha = new Alpha(-1,4000); <=_change_that_value_(4000)_
RotationInterpolator rotator=new rotationInterpolator(alpha,tgSpin);
BoundingSphere bounds = new BoundingSphere();
rotator.setSchedulingBounds(bounds);
tgSpin.addChild(rotator);
Oliver Wong - 11 May 2006 21:38 GMT
>I have created a 3d cube that spins. My problem is that it spins
> extremely fast! Can I add anything or do anything to make this slow
> down??? PLease help
> THanks
>
> <APPLET CODE="image3dcube.class" WIDTH=350 HEIGHT=400>
[snip the rest]
Did you make the above class file?
- Oliver