Files | |
| main.cpp | |
This example loads an indexed pyramid from data/pyramid.plg with mxObject::LoadPLG, then rotates, lights, and rasterizes its triangles with smooth vertex-color gradients through the CPU-side MXVK math pipeline. Its geometry, triangle layout, and face-local UV coordinates match models/obj/pyramid.obj. The software framebuffer defaults to 1280x720 and its Vulkan sprite is stretched to fit the window. Use --framebuffer WidthxHeight to override it.
Run it from the repository root: