Hi,

Can you not just alter a transform group above the object. The following is
a working fragment from one of my programs.
     Transform3D tt=new Transform3D();
     tt.setScale(relScale);
     parent.relScaleGroup.setTransform(tt);
I get relScale from a slider component. The model faithfully grows and
shrinks as I move the slider. You have to set all the capabilities but this
becomes clear when you try to execute the program.

Regards

Mike
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+44 (0)20 8949 0353 (Work)
+44 (0)7956 359001   (Mobile)
+44 (0)20 8395 7587 (Home)
Mike Goldwater: [EMAIL PROTECTED]

Auric Hydrates Ltd
26,Sandal Road
New Malden
Surrey KT3 5AP
UK


-----Original Message-----
From:   Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]
On Behalf Of Janet Song
Sent:   06 January 2000 09:15
To:     [EMAIL PROTECTED]
Subject:        Re: [JAVA3D] setScale

Hi

i got the same problem.... seems it only can scale during the initialization
(in the constructor).... then during runtime cannot change
... do let me know if u solve this problem... :-)

cheers.....

-----Original Message-----
From:   Eric Arnold [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, January 05, 2000 10:47 PM
To:     [EMAIL PROTECTED]
Subject:        [JAVA3D] setScale

I was just wondering why the setScale method doesn't seem to update the size
of objects at run time?  I am trying to get the objects to grow over time
(it is a predator/prey simulation).  Is there some other way I should go
about it?  Thanks
Eric

===========================================================================
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".

===========================================================================
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".

===========================================================================
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".

Reply via email to