News for hackers. Stuff that matters.
Re:How to create 2D visibility/shadow effects for your game by forrestthewoods on Tuesday March 11, 2014 @04:48PM (#7382014)
I'm downvoting your comment because on technical posts the top rated comment is damn near always of zero value and only serves to make the commenter try to sound smarter than the post author. The more in-depth and complicated the post the more those type of comments appear.

This is a nice little post that reasonably describes a technique that has been used by a fair number of professional, commercial products. That anyone would try to downplay it to make themselves feel superior is silly.

To provide some actual value, most of the the images in the post are actually interactive. It's pretty cool. I somehow read the whole thing and didn't notice.

Re:How to create 2D visibility/shadow effects for your game by Mithaldu on Tuesday March 11, 2014 @05:18PM (#7382190)
> That anyone would try to downplay it to make themselves feel superior is silly.

Why would you think that was my goal? Did i say the author was stupid or didn't pay attention? I simply pointed out a limitation that might not be obvious to others at first sight and which wasn't discussed in the article itself, thus also providing for others an easy starting point to improve on the algorithm as presented.

Heck, in the circles* i run the first part of my comment is even praise. Figuring out ways to approximate "real" results so they can be done in realtime is not easy.

*Have an example of EXTREMELY competent faking from those circles: https://www.youtube.com/watch?v=MJfceF0syK8

Re:How to create 2D visibility/shadow effects for your game by sartakdotorg on Tuesday March 11, 2014 @04:56PM (#7382070)
You didn't read very carefully if you missed that everything was interactive.

"Today, I will show you how to make something like this: (move your mouse around in the box below)"

"The demo below just draws a bunch of line segments and tracks your mouse position."

"Here's what all that math looks like: (move your mouse over the box)"

Re:How to create 2D visibility/shadow effects for your game by forrestthewoods on Tuesday March 11, 2014 @05:15PM (#7382178)
You are correct. I did not read very carefully. Thank you for pointing that out. I focused on the pretty pictures before reading all of the text. I can say with extreme confidence that I am not the only person who made the mistake of not reading carefully so I thought it worthwhile to mention.
Re:How to create 2D visibility/shadow effects for your game by richforrester on Tuesday March 11, 2014 @05:19PM (#7382205)
Some of us only skim articles.

It's not a sin.

Re:How to create 2D visibility/shadow effects for your game by sartakdotorg on Tuesday March 11, 2014 @05:42PM (#7382378)
Agreed. But given the rest of forrestthewoods's post I thought it was worth pointing out.