Open clort81 opened 1 year ago
Hi, thanks for checking out my project! (And for the Linux Makefile)
I'll take a look at the flickering and get back to you, but I just pushed the first version of my software renderer raster.rs. I have a feeling the approach to terminal rendering I took there might fix the flickering, mainly waiting to printf
an entire new frame rather than calling printf
for each pixel.
iTime
is written to here, and looking back at my code I think the constant on line 276 should be 1000.0f
instead of 1.0f
.
Cheers.
Wanted to do this for a while myself. Currently looking into why things are flickering badly even with FPS=10. glfw3, linux, aarch64
Commenting-out printfs and enabling GLFW_VISIBLE shows iTime moving too fast. the flgw-time.frag is alternating green/black with occasional red.
Not seeing how iTime is being incremented.
Makefile for linux attached. Makefile.txt