PDA

View Full Version : Settingup OpenGL in python



ashuopengl
10-22-2016, 11:22 AM
Hi all, I want to install and setup glut and full opengl for 3d prog. in python in ubuntu and windows but i can't find any step-by-step tutorial on web or youtube, pls guide me.

thnaks in advance
thanks

Dark Photon
10-22-2016, 07:27 PM
Hi all, I want to install and setup glut and full opengl for 3d prog. in python in ubuntu and windows but i can't find any step-by-step tutorial on web or youtube, pls guide me.

thnaks in advance
thanks
So what have you done so far?

Installing packages in Linux is pretty simple. Just use your distros package manager. So do you have your GPUs GL drivers, python, freeglut, and pyopengl installed?

As to Windows, it's not quite so trivial. After you download/install your GPU's GL drivers, I think you'll need to go download and install the Windows packages for Python and freeglut separately. Not sure of the best way nowadays to get pyopengl installed on Windows such that it can find everything, so hopefully someone else can chime in with that.

Sergio007
10-23-2016, 04:35 AM
and how to calculate the texture coordinates?