Good day.

There is a task: to create an interactive star sky on python. In the presence of an archive with the coordinates of the stars. It should be possible to change the angle of inclination and rotation of the camera, which stands inside the sphere and looks at this creation.

Knowledge of the language at the level of World World, a lot of time, patience and motivation as well. Tell me, it's not difficult for anyone, which libraries for drawing graphics are better to use for this task, for which resources to go on smoking manuals.

Thank you.

Closed due to the fact that the issue is too common for the participants aleksandr barakin , jfs , Vladimir Martyanov , andreymal , Nicolas Chabanovsky 28 Feb '18 at 13:17 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • @ Vladimir Martianov, it’s still better to learn from practical examples. And, preferably, not on exercises from the primer, but on some useful (if only for myself) project. So it is more useful and more interesting :) - stxdtm
  • I have a realization. I can throw the source. If you are from mathsha Urfu - Mikhail Gorobets
  • @Mikhail Gorobets Yes, the first year of computer science :) If you had told more about how it was done, it would be great. Tap on the mail klarefor@yandex.ua - Constantine Byzantine

1 answer 1

what libraries are best to use for this task

Libraries for creating games are suitable for this:

pygame and pyglet are not designed for full-fledged 3d games, but their capabilities will be enough for your tasks.

panda3d - created for 3d, but it will be harder for a beginner.


Here they talk about the principles of imitation 3d graphics in pygame (pay attention to the menu sections on the right): http://www.petercollingridge.co.uk/pygame-3d-graphics-tutorial

And in this article the author talks about how he simplified the import of models and work with shaders for pyglet: https://gabdube.imtqy.com/3d-with-python-pyglet-and-blender.html

  • Thank you very much, I went to read. - Constantine Byzantine