Hacker News new | ask | show | jobs
by burrish 907 days ago
My black triangle was making Suzane (blender monkey) appear on the screen.
1 comments

OpenGL? I did the monkey too! But I did a simple software rasterizer... (No OpenGL, draw bitmap directly.)

I only got as far as point cloud (the wireframe without the wires, heh). Want to continue the project and add lighting and texturing eventually.

My "big insight" (shower thought) that gave me the confidence to do 3D is that you don't need linear algebra. You can do it all with trig! A 3D rotation is just three 2D rotations!

It won't be very performant, obviously, but I'll take "my toy renderer runs slowly" over "it doesn't exist because I am struggling with linear algebra for the 7th time".

It's a lot more fun doing things the easy way! Even perspective is one line of code.

>It won't be very performant, obviously, but I'll take "my toy renderer runs slowly" over "it doesn't exist because I am struggling with linear algebra for the 7th time".

Haha I could not agree more