gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
304 stars 99 forks source link

Tracker: Camera issues #1878

Closed AlexisDrogoul closed 2 years ago

AlexisDrogoul commented 8 years ago

Several issues are still floating around regarding the cameras and their definition, management, etc. This issue tracker is meant to group them into one coherent set in order to address them all in a global way. They will be closed for the sake of clarity, but their actual resolution needs to be indicated here (by checking the box).

Most central issue:

Improvement of existing behaviors

Addition of new capabilities:

agrignard commented 7 years ago

Any update on this "big" issue?

One thing related to gama-platform/gama#579, one very cool feature could be to be able to save the camera settings once you find you're right field of view (by pressing on a special button) in txt file and then being able to reset the camera position from this text file at the initialization of a simulation.

agrignard commented 7 years ago

Maybe the best option would be to enhance the "bottom overlay" that already display the position of the cam, I think if it displays also the look_pos and upVector is does the trick. it's maybe a lot of information for the user but anyway this is an information layer.

Actually in LayeredDisplayView '''getOverlayZoomInfo()''' the only information we have is '''ds.getCameraPosition()''' I would be in favor to modify that in order to get (and display) pos,lookpos and upvector

agrignard commented 7 years ago

I think it's more or less here with this commit https://github.com/gama-platform/gama/commit/5b26f83941b615374c588555e287360ace6dbcc9

the only thing I miss now is that the overlay size is a bit too short so it's not possible to display the hole information.

I tried it and I think (at least for my case) it's great, you can spend time to choose a good angle and then being able to redefine it using camera_pos: {} camera_look_pos: {} camera_up_vector:{}

In the ideal world it should use the camera statement instead