Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenGL Python 3D Engine

License

NotificationsYou must be signed in to change notification settings

MatinAfzal/FloatArtsEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

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.

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 blockEmptyWorld

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 textureWorldWithblock

FAE Created byMatinAfzal


[8]ページ先頭

©2009-2025 Movatter.jp