3 ms·
OK I'm curious, this is computer graphics crap like z-buffers (I would probably say form a binary space partition tree, color all the polygons one color and a d
by AtlasBarfed 5y ago
OK I'm curious, this is computer graphics crap like z-buffers (I would probably say form a binary space partition tree, color all the polygons one color and a default background as black, rasterize the view, and then trace the outline)?
Or is this some trick?
- cableshaft 5y agoI didn't figure it out in time and he didn't elaborate, just sat there and watched me flounder, so I don't know for sure. This was way back in 2012 too, so I don't remember the details of what he asked super well. I was under the impression he was wanting me to figure out how to do it using only the bounds of the rectangles mathematically, and not by changing how it rendered, from what I can remember.
- AtlasBarfed 5y agoA 3d map of a city is a bunch of polygons. A skyline is a perspective on that 3d model, so you need occlusion/etc. The single line is then a postprocess on that view of the skyline. Maybe there's some 2.5D cheats like DOOM did since the 3d model is all on one plane. Agreed, a ridiculous question. These questions where you either know the algorithms of giants, or are expected to reverse-engineer algorithms that people did research on for months or years... The height of arrogance.