3 ms·
I 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 do
by cableshaft 5y ago
I 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.