r/shittyprogramming • • Jul 18 '20

super approved Raytracer written in bbc basic

378 Upvotes

21 comments sorted by

View all comments

Show parent comment

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.