蟒蛇三维可视化和图形 [英] python 3D visualization and graphics

查看:174
本文介绍了蟒蛇三维可视化和图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找的Python兼容的3D图形。主要是我想能够画线,并查看它们在三维。我真的有这方面的经验,并在寻找知识和教程。

我学会通过实验编程最好的。因此,这包做我需要做的3-D图形?我真的很喜欢使用emacs,所以如果你有这些建议,以及这将是真棒!

在总结:

  1. 在哪些软件包我需要在Python中的3D图形。
  2. 请注意,我用的Ubuntu 12.04 LTS和emacs 24.3
解决方案

集成实时3D图形最常用的方法是使用的的OpenGL 库。 OpenGL和实时的图形是一个很大的话题,而是专注于像绘制3D线条应该不会太困难。绑定蟒蛇 http://pyopengl.sourceforge.net/

转运蛋白 - 可能是最好的提供X平台窗口和背景的设置,并包含在所提到的绑定

的OpenGL - 有多个版本,为您的应用程序,即时模式,传统的,可能是可以接受的。

下面是一些链接,学习 - 不要觉得有责任阅读所有这些 - 挑选您相关的主题

I am looking for Python compatible 3D graphics. Mostly I would like to be able to draw lines and view them in 3D. I literally have no experience in this area and am looking for knowledge and tutorials.

I learn programming best by experimentation. So which packages do I need to do 3-D graphics? I really enjoy using emacs, so if you have those suggestions as well that would be awesome!

In summary:

  1. Which packages do I need for 3D graphics in python.
  2. Note that I use Ubuntu 12.04 LTS and emacs 24.3

解决方案

The most common way to integrate realtime 3D graphics is using the OpenGL library. OpenGL and realtime graphics is a big topic, but focusing on something like drawing 3D lines should not be too difficult. Bindings exist for python http://pyopengl.sourceforge.net/

GLUT - is probably the best for providing X platform windowing and context setup, and is included in the mentioned bindings.

OpenGL - there are several versions, for your application, immediate mode, legacy, is probably acceptable.

Here are some links for learning - Don't feel obligated to read them all - pick the topics that are relevant to you.

这篇关于蟒蛇三维可视化和图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆