Fixed default camera coordinates
This commit is contained in:
parent
afd9c045ab
commit
82b9d2577c
|
|
@ -34,7 +34,7 @@ const float MAX_SPEED = 14.0f;
|
|||
// --------------------------- Raycasting Constants ---------------------------
|
||||
const float minAllowedDensity = 0.001f;
|
||||
|
||||
const float stepSize = 0.002;
|
||||
const float stepSize = 0.2;
|
||||
|
||||
|
||||
// --------------------------- Illumination Constants ---------------------------
|
||||
|
|
|
|||
|
|
@ -203,10 +203,10 @@ void Widget::render() {
|
|||
}
|
||||
|
||||
void Widget::resetCamera() {
|
||||
this->cameraPos = Point3::init(69.5f, -19.5f, 59.5f); // Camera for partially trimmed data set
|
||||
this->pitch = -19.5;
|
||||
this->yaw = -4.825;
|
||||
this->roll = -0.0;
|
||||
this->cameraPos = Point3::init(62.5f, 145.5f, -71.0f); // Camera for partially trimmed data set
|
||||
this->pitch = -18.165f;
|
||||
this->yaw = -1.605f;
|
||||
this->roll = -0.0f;
|
||||
this->cameraDir = Vec3::getDirectionFromEuler(pitch, yaw, roll);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ void getSpeed(std::vector<float>& speedData, int idx = 0) {
|
|||
|
||||
int main() {
|
||||
std::vector<float> data;
|
||||
getTemperature(data, 254); // 20121028
|
||||
getTemperature(data, 301); // 20121028
|
||||
// getSpeed(data, 254); // 20121028
|
||||
|
||||
std::cout << "DATA size: " << data.size() << std::endl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue