OpenGL Python 3D Engine
- Moving camera (wasd + mouse)
- Reading and displaying obj files
- Textures and atlases
- Light and reflection
- Single branching and displaying the world with a single call without the need for a for loop (CellAttach)
- Internal models for construction
Consider that you want to display a block
The class needed to make a cube is inside the module_capsulrun_Vany.Block module
# FloatArtsEngine/fae.py
from main.Level.module_capsulrun_Vany.Block import *
self.block = Block(5, 1.5, 5, self.img_crete, material=self.mat)
After creating the cube, we can call it inside the display function
# FloatArtsEngine/fae.py
...
def display(self):
...
self.block.draw(self.camera, self.light)
The cube is created and displayed at the desired coordinates with the desired texture
FAE Created by MatinAfzal