Fixed default camera coordinates

This commit is contained in:
Martin Opat 2025-01-24 14:15:55 +01:00
parent afd9c045ab
commit 82b9d2577c
3 changed files with 6 additions and 6 deletions

View File

@ -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 ---------------------------

View File

@ -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);
}

View File

@ -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;