3D Polygon Engine #9 - Multiple Materials, NanoSnake Physics
2022-12-30. I have made internal modifications to the engine to allow for various materials, controlled by XNA / MonoGame's Effect (in this case, BasicEffect). The moving objects, in the NanoSnake pattern, have a different texture than the ground tiles. They are both being lit by the same lighting parameters, and since the textures are mostly solid color, perhaps this is not so clear in this demo.
The modifications are mostly internal to support a Scene Graph style of implementation. In my case, the graph is supported primarily by the materials / effects, to allow for all objects that share the same effect to be rendered together. This is different from the standard XNA / MonoGame design of loading a pre-existing model, which includes its own BasicEffect -- making each model have a unique effect, to be switched to for every single model rendered. This is done to allow loaded models to be usable without extra effort, but it does not fit into an optimized renderer.
I don't expect to play around too much with optimizations, but I do want to have a proper architecture for adding features to the engine, as I'd like to prototype a simple 3D game with it.
Playlists:
--------------------
- Polygon 3D: https://youtube.com/watch?v=0Qq_euAMP48&list=PLjnbT4UISq0YyjqBGG8Q34Kng5gqDmYrT
- Voxel Software 3D: https://youtube.com/watch?v=uadGU-stF-w&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Ray Casting 3D: https://youtube.com/watch?v=SkaPYZOKPQg&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Graph-All Calculator 2D: https://youtube.com/watch?v=kLSc7bZW2Bs&list=PLjnbT4UISq0YLgynFSpLzml4BMC6TDZL2
- Parallax Side-Scroll Shooter 2D: https://youtube.com/watch?v=l9bIYkZepPo&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- Road Pseudo 3D: https://youtube.com/watch?v=rA4g4VX7ys8&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Arena Shooter 2D: https://youtube.com/watch?v=VKjiuq437t0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU
Websites:
---------------------
- GitHub: https://github.com/JDoucette
- Indie Game Studio: http://xona.com
- Blog: http://thefirstpixel.com