- Notifications
You must be signed in to change notification settings - Fork1
MatinAfzal/FloatArtsEngine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
- 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.pyfrom 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 byMatinAfzal
About
OpenGL Python 3D Engine
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published