Transform3D scaleOneTransform = new Transform3D();
scaleOneTransform.setScale (
new Vector3d(width / Math.max(MINIMUM_SIZE, upper.x -lower.x),
width / Math.max(MINIMUM_SIZE, upper.y - lower.y),
width / Math.max(MINIMUM_SIZE, upper.z - lower.z)));
scaleOneTransform.mul(translation);
Transform3D modelTransform = new Transform3D();
if (modelRotation != null) {
// Apply model rotation
Matrix3f modelRotationMatrix = new Matrix3f(modelRotation [0][0], modelRotation [0][1], modelRotation [0][2],
modelRotation [1][0], modelRotation [1][1], modelRotation [1][2],