Computer Graphics Programming, OpenGL using python

Publié le: 02 février 2022
sur la chaîne: MNS Tutorial
3,164
23

In this tutorial, you will learn how to prepare your system to using python to implement OpenGL programming.

Make sure you install python 3.8, since this is the latest python version that support installing pyOpenGL-accelerate via pip.

To Check your PowerShell if allow run scripts:
Get-ExecutionPolicy -List

You may need to run following command to allow your PowerShell to run custom scripts:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Create python environment:
python -m venv venv

Activate environment (PowerShell):
./venv/Scripts/Activate.ps1

Activate environment (Unix: macOS/Linux):
source ./venv/bin/activate

Deactivate environment (All platforms):
deactivate

Check installed packages:
pip list

Install required packages:
pip install numpy pygame pyopengl pyopengl-accelerate

The following repository is based on the book "Developing Graphics Frameworks with Python and OpenGL" by Lee Stemkoski and Michael Pascale:
https://github.com/ax-va/PyOpenGL-Pyg...


Sur cette page du site, vous pouvez voir la vidéo en ligne Computer Graphics Programming, OpenGL using python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MNS Tutorial 02 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,164 fois et il a aimé 23 téléspectateurs. Bon visionnage!