r/shittyprogramming • • Jul 18 '20

super approved Raytracer written in bbc basic

384 Upvotes

21 comments sorted by

View all comments

Show parent comment

10

u/SpaceGenesis Jul 18 '20

I've heard about raytracing ages ago in a French magazine called PC Team. They had POV (Persistence of Vision) tutorials. Do you know any good resources for beginners about how this thing really work?

13

u/RIcaz Jul 18 '20

Ray tracing is used for more than just pretty graphics, especially in 2D, eg. calculating line of sight and drawing shadows.

There are tons of material online explaining the topic. Just Google it.

If you plan to get into this sort of thing, I highly recommend starting with 2D. Graphics programming is a pretty heavy topic, and it gets unimaginably more complex in 3 dimensions.