Complete PHYSICS and 3D engine from scratch in C++. Check it out below!
Demo: https://youtu.be/L5EbMn3l9ck
Github repo: https://github.com/Arihan10/N3XTD
Fully featured 3D software renderer with the ability to import .obj models!
There is currently a C++ version and a Java version. I built both just to see the performance difference.
- Place all .obj models within the root directory
- Use object import comments at the top of import objects (plans for import GUI in future)
- Java only: Use the GUI to transform objects as needed
Make sure you're only exported triangulated meshes.
Example of exporting a valid .obj model from Blender:
- Select all the objects in the scene you want to export
- In .obj (wavefront) export settings, check "Apply All Modifiers"
- Check "Triangulate Mesh"
- Uncheck everything else
- Export
- Place .obj model inside root directory of the language version you are using (C++/Java)
- It's ready to use!
No, I did not follow any tutorial. All code is written by me.
