DDDEN!SSS, вот пример перемещения модели с сайта сониэрикссон ===>> AffineTrans camera = new AffineTrans(); Vector3D eye = new Vector3D(...); Vector3D lookat = new Vector3D(...); Vector3D up = new Vector3D(...); camera.lookAt(eye, lookat, up); AffineTrans trans = new AffineTrans(); trans.set(4096, 0, 0, position.x, 0, 4096, 0, position.y, 0, 0, 4096, position.z); affine.mul(camera, trans); layout.setAffineTrans(affine); g3.renderFigure(figure, 0, 0, layout, effect);
24 янв 2009 в 12:58