Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.44 KB

File metadata and controls

41 lines (32 loc) · 1.44 KB

Float Arts Engine (FAE)

OpenGL Python 3D Engine

⚠️ Important:
At the time I was working on this project, my main goal was to get it running on my own machine. It hasn't been optimized for other environments, so you may run into issues.

Capabilities

  • 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

FAE-V0

Example

Consider that you want to display a block EmptyWorld

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 WorldWithblock

FAE Created by MatinAfzal