Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

3D Frustum Software Renderer implemented in Lua

$
0
0

Dear game developers,

I am looking forward to find people who are interested in 3D software rendering. In my opinion it is good to start in software to learn the basics, especially starting with a good implementation as foundation. If you understand everything you can move on to complex hardware acceleration APIs. The implementation is capable to render triangles and rectangles.

Mathematical definition of 3D frustum with screen space coordinates translated from frustum position, front, up and depth vectors.
Screenshot of MTA:SA rendering a 3D rectangle plane with depth information into color buffer.

Code to render a triangle looks …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>