from ideas to solutions

# Search

Search MSDN Blogs
Search Results
• #### Blog Post: Shadowcasting in C#, Part Five

...friends. We'll finish up 2011 here with a bit more on shadowcasting, and then pick up with more C# language design facts and...bottomVector, topVector)); And there you go; that's shadowcasting from the origin in the first octant. Next time we'll...
in Blog -
• #### Blog Post: Shadowcasting in C#, Part Six

OK, let's finish up this year and this series. We have an algorithm that can compute what cells in the zero octant are in view to a viewer at the origin when given a function that determines whether a given cell is opaque or transparent. It marks the visible points by calling an action with the
in Blog -
• #### Blog Post: Shadowcasting in C#, Part Four

Last time we saw how many different ways there were to get the calculation of the top cell based on the top vector wrong. Today we'll take a briefer look at determining the bottom cell. We know from our discussion of last time that the right way to determine what is the top-most visible cell
in Blog -
• #### Blog Post: Shadowcasting in C#, Part One

I've always loved the "roguelike" games; perhaps you've played some of them. Those are the games where you get a top-down view of a tile-based world, and have as much real time as you like to make a choice of action. The canonical plot is to enter a dungeon, get to the bottom, retrieve the
in Blog -
• #### Blog Post: Shadowcasting in C#, Part Three

Before we get started, thanks for all the great comments to the previous couple of posts. I'll be updating the algorithm to try to make even better-looking circles of light based on the comments. Like I said, there's a lot of subtleties to these algorithms and I am just learning about them
in Blog -
• #### Blog Post: Shadowcasting in C#, Part Two

I hope the basic idea of the shadow casting algorithm is now clear. Let's start to implement the thing. There are two main concerns to deal with. The easy one is "what should the interface to the computation look like?" The second is "how to implement it?" Let's deal with the easy one first;
in Blog -
Page 1 of 1 (6 items)
Search Tips
• The more specific you can be with your keywords, the better the search results.
• If you're looking for a specific phrase then use quotes. For example: "code of conduct" or "how to".
• Avoid using words such as 'the', 'of', 'a' - they exist in every article and are ignored in the search except when used as part of a phrase.