Thanks! Cristian, It looks like I can not scale the cone one direction in dependent from the other direction. the setScale is limited to uniform scale matrix in the specs.
At 05:23 PM 3/29/2002 +0200, you wrote: >Add your cone to a TransformGroup, set the capabilities of the TransformGroup > >tg.setCabability(TransformGroup.ALLOW_TRANSFORM_WRITE); > >And then, when the branchgroup becomes live, you can use something like: > >Transform3D t=new Transform3D(); >tg.getTransform(t); >t.setScale(....float...); >tg.setTransform(t); > >Cristian > > > ><<Hi, dear all: > >Is there any way to change the size of a Cone object in a live scene >without using detaching/retaching BranchGroup? >I mean like using Geometry By Reference, you can change vertex corrdinates >on fly without adding the object under a BranchGroup, here I want to change >the height and radius of the cone. > >I would like to confirm this conclusion. So that I will start another >approach to model my objects. > >Thanks much in advance!>> Lan Wu-Cavener Research Associate and Programmer Dept. of Landscape Architecture =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
