Improvements and Optimizations to 3D engine
Improvements have been made to the 3D Engine with added features:
- Import and parsing of .obj 3D model files
- UV mapping and displaying Textures
- Z-Buffer to sort models draw order
The biggest Performance optimization came from of compacting matrix transforms into one matrix before applying them to the list of model transforms for projection. The 3D calculations are the biggest bottle neck of 3D graphics so the less calculations necessary to project properly to the screen the better.
In it's current state the 3D engine is able to meet my needs for making 3D back grounds.
There are features like lighting, or a moveable 3D camera that I could add to put more polish into the game project.
I recognize that I currently have a bare minimum to work with so I can focus on developing Gunner Zed as a game rather than as a 3D engine add-on to love 2D.
My motivation for adding 3D to Love 2D was to help understand Linear Algebra better and to reach an aesthetic goal in a development environment I was comfortable in.
Get 3D Projection Demo (Love2D)
3D Projection Demo (Love2D)
A program that reads and draws 3D models from .OBJ files
More posts
- Lighting ImplimentedJul 07, 2020
Leave a comment
Log in with itch.io to leave a comment.