Any Java3d Specialist help to me..........

I Created one Geometry(Line Array)..........then that Geometry added to Shape3d..........then i display to the canvas3d..........My Problem is i want to Zoom the lineArray.....(without Mouse Zoom)....like step by step....using Scale...... i
[275 byte] By [amir430] at [2007-11-26 12:17:16]
# 1
Put the Shape3D in a TransformGroup with a Transform3D object and use the Transform3D object's scale method
FortisVenaliter at 2007-7-7 14:54:32 > top of Java-index,Archived Forums,Socket Programming...
# 2

k thanks for ur solution ..........

Now i did that step now another problem occurs............i drawn the rectangle (using line strip array this is one geometry) and i display the corner points in small sphere (this is another one geometry) ......now i added this two in single transform group and i did the zoom operation (use scale method) as u told like.......now i want only the rectangle to zoom and the display of sphere(in corner) that should be constant scale but .....

Help me .........

> Put the Shape3D in a TransformGroup with a

> Transform3D object and useobject's

> scale method

amir430 at 2007-7-7 14:54:32 > top of Java-index,Archived Forums,Socket Programming...
# 3
So let me get this straight: you want one primitive to remain constant and another to grow/shrink. If this is so, you need to define a custom behavior class (see tutorial). You cannot directly update the transform3D.
FortisVenaliter at 2007-7-7 14:54:32 > top of Java-index,Archived Forums,Socket Programming...
# 4

First of all thanks for ur reply

Display the corners(sphere ) this geometry i added directly to the

BranchGroup now rectangle zoom big size but the corner shown old position

...it is not move to current rectangle corner.....so i want rectangle

zoom and constant sphere move along the rectangle.......i am not geting

any idea from tutorial.....

thanks for ur reply

amir430 at 2007-7-7 14:54:32 > top of Java-index,Archived Forums,Socket Programming...