How do I make 3D in pyglet?
问题 I was trying to create using OpenGL, Python and pyglet, a flat triangle in 3D space, I saw some tutorials on the internet, some videos on YouTube, and in the end I wrote this code down there, the problem is that it did not work as I expected, I thought that if I tried to spin, I would see the triangle turning flat, and when I walked away, the triangle did not have to diminish? import pyglet from pyglet.gl import * config = Config(sample_buffers=1, samples=8) tela = pyglet.window.Window(height