Skip to content

Commit

Permalink
Update export_pov.cc
Browse files Browse the repository at this point in the history
fixed rotation issue
  • Loading branch information
UBaer21 authored Oct 15, 2024
1 parent fbf9ba8 commit 8725639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/export_pov.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void export_pov(const std::shared_ptr<const Geometry>& geom, std::ostream& outpu

output << "camera { look_at <" << bbox.center().x() << ", " << bbox.center().y() << ", " << bbox.center().z() << "> "
"location <" << min_x + dx * move_away_factor << ", " << min_y - dy * move_away_factor << ", " << min_z + dz * move_away_factor << "> "
"up <0, 0, 1> right <1, 0, 0> sky <0, 0, 1> rotate <-55, clock * 3, clock + 25> right x*image_width/image_height }\n";
"up <0, 0, 1> right <1, 0, 0> sky <0, 0, 1> rotate <0, clock * 3, clock > right x*image_width/image_height }\n";
output << "#include \"rad_def.inc\"\n";
output << "global_settings { photons { count 20000 autostop 0 jitter .4 } radiosity { Rad_Settings(Radiosity_Normal, off, off) } }\n";
}

0 comments on commit 8725639

Please sign in to comment.