Skip to content

MatinAfzal/FloatArtsEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Float Arts Engine (FAE)

OpenGL Python 3D Engine

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