Follow

I wonder if I can recreate the "raytracing in one weekend" picture without having read "raytracing in one weekend"

· · Web · 4 · 2 · 12

@SuricrasiaOnline i remember going through that and implementing it in rust! it was fun

i used a library for vectors and colors because that's just boring but all the geometry and stuff was written by me

@SuricrasiaOnline (it was also my introduction to how dynamic dispatch based on a trait can be *significantly* slower than just having an enum with each implementor as a variant; fortunately, the enum_dispatch crate exists)

@SuricrasiaOnline I'd be interested in finding out if you could do it, and then reading the book and finding the areas where you use the same methods and where you differ.

I can't do this becuase I have math schooling from a US Public education. I.e. "a dot product is what you get when you sell dots. The company that did this is Tootsieco. You may not sell dots yourself. Please pay us $1.50 for having learned this information."

@SuricrasiaOnline i'm gonna have to spend a whole weekend haha. I still remember some of what you taught me but most of it is buried in executive dysfunction

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!