Joseph Gardner 8 years ago
parent 685b508f1e
commit 55de754164

@ -69,7 +69,7 @@ public class NextMarkController {
String arrowPath = "assets/mark_arrow.x3d"; String arrowPath = "assets/mark_arrow.x3d";
Shape3D arrow = Assets3D.loadX3d(arrowPath); Shape3D arrow = Assets3D.loadX3d(arrowPath);
AmbientLight ambientLight = new AmbientLight(Color.web("#999999")); AmbientLight ambientLight = new AmbientLight(Color.web("#CCCCCC"));
arrow.setScaleX(15); arrow.setScaleX(15);
arrow.setScaleY(15); arrow.setScaleY(15);

@ -484,8 +484,8 @@ public class RaceViewController extends Controller {
double boatZ = gpsConverter.convertGPS(boat.getPosition()).getY(); double boatZ = gpsConverter.convertGPS(boat.getPosition()).getY();
Assets3D.boatHighlight.setX(boatX); Assets3D.boatHighlight.setX(boatX);
Assets3D.boatHighlight.setZ(boatZ); Assets3D.boatHighlight.setZ(boatZ);
pointLight.setTranslateX(boatX); // pointLight.setTranslateX(boatX);
pointLight.setTranslateZ(boatZ); // pointLight.setTranslateZ(boatZ);
} }
}; };
highlightTrack.start(); highlightTrack.start();

Loading…
Cancel
Save