Neo3dEngine
Neo3dEngine is a minimalist 3D console engine written in C (.NET 8) that renders entirely on the CPU without any external graphics APIs or libraries. It uses raycasting and raytracing to render polygonal meshes in .obj format and geometric spheres, with Bounding Sphere checks optimizing triangle intersection calculations via a manual Möller-Trumbore implementation. The engine features dynamic lighting with distance-based attenuation, Lambertian diffuse shading, and real-time shadows through Shadow Rays. Rendering is multi-threaded using Parallel.For to distribute pixel calculations across CPU cores, with brightness mapped to a character gradient (' .:!/r(l1Z4H9W8$@') to simulate shading in the terminal. Optimized frame buffering groups color output to minimize native OS terminal API calls. Custom 3D mathematics includes Vector3, Vector2, Ray, and rotation matrices with Euler rotation support. Input is handled asynchronously using Win32 GetAsyncKeyState for non-blocking keyboard polling when the console window