I've a problem I dont know how to solve. Can anybody please help me ! The problem is that I load a number of VRML models. I want to scale one at the time and make it scale around its center. The idea is that a whole ship consists of a number of blocks and that I want to inspect how each block fits by letting the user scale it a little down. My problem is that the model can be scaled ok, but it moves during the scaling. I've tried to use the models uppermost BranchGroup and from that get the BoundingSphere and the center. But exactly how to use that I haven't been able to figure out. Another approach I've tried is from the models uppermost TransformGroup to move it to some kind of origin. I haven't found out how to do that either, without the model being moved during scaling. The last thing I've tried is to use the local to virtual world coordinates. That doesn't either seem to give me a feasible result. Has anyone a piece of code that shows me how to do or any advice ? Ole Vilmann Danish Maritime Institute =========================================================================== 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".
