Log In  

Got pico today.

Spent the past few hours writing a bunch of matrix math in lua. To celebrate I made a perspective-correct rotating cube :D

P#16201 2015-11-04 02:07 ( Edited 2015-11-05 05:50)

Little update :)

Got a wireframe working!

P#16202 2015-11-04 03:22 ( Edited 2015-11-04 08:23)

This is lovely! I guess the next step is rasterisation for filled triangles. Do you plan to implement use of level maps in 3D?

P#16217 2015-11-04 14:28 ( Edited 2015-11-04 19:28)

I'll probably make a full-on easy-to-use rendering library :)

P#16219 2015-11-04 14:56 ( Edited 2015-11-04 19:56)

Here's another update :)

I fixed the translation matrix, and added a generic "mesh" type, so it's super easy to add any meshes in, and draw them at different positions.

I haven't been able to get near-clipping and rasterization to work properly, though :(

P#16258 2015-11-05 00:50 ( Edited 2015-11-05 05:50)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 10:47:39 | 0.006s | Q:14