Skip to content

Commit

Permalink
update amr_osmesa.py example to also set a camera position
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Dec 11, 2024
1 parent 93473ef commit 2b5be54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/amr_osmesa.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@

image = rc.run()
yt.write_bitmap(image, "step2.png")

rc.scene.camera.set_position([1.0, 1.5, 3.0])
image = rc.run()
yt.write_bitmap(image, "step3_set_position.png")

0 comments on commit 2b5be54

Please sign in to comment.