Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
10 votes
3 answers
3k views

pyopenGL OBJ loader improvements

Current OBJLoader: Using pygame's obj loader as a base, I created a new obj loader for Python OpenGL. The loader includes the following functionality: Collect vertices, normals, and texture to draw ...
Kempie's user avatar
  • 201
3 votes
0 answers
556 views

Using a large number of actors in one render scene with vtk python

I used vtk python examples to write this function where it produces two lines with respect to a reference point like [0, 0, 0]. This function will return an actor ...
shahriar's user avatar
  • 131
4 votes
0 answers
644 views

Python Code For Drawing a Fractal Tree using pyglet

So I've just finished doing a coding challenge that involved drawing a fractal tree. Instead of doing it recursively(which is what I did initially but it proved to be to slow for branches greater than ...
Luis Averhoff's user avatar
8 votes
2 answers
430 views

Designing a Robust Texture and Framebuffer class for Game Engine

As part of my ongoing development of a 3D game engine based on PyOpenGL, I am trying to do some refactoring to make working with textures and framebuffers as painless as possible. I feel this ...
CodeSurgeon's user avatar
4 votes
1 answer
699 views

Speedups for Conway's Game of Life

I wrote Conway's Game of Life in Python with Pyglet. It works pretty well but is very slow when the number of cells gets high. Any easier speedups I can attain with this code? ...
Igglyboo's user avatar
  • 447
5 votes
1 answer
320 views

Accelerate OpenGL 2D on Python3

I'm using OpenGL to draw about 20 circles. Each circle has 2 lines, ~10 segments, and all of them have different colors and lengths. Frames per Second are around 4. How can I optimize this to run ...
user2286564's user avatar