Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
Blogs
from ideas to solutions
Search
MSDN Blogs
>
Search
>
"shadowcasting"
Search MSDN Blogs
Subscribe via RSS
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Search Results
Sort by:
Most Relevant
|
Highest Rated
|
Most Recent
|
Alphabetical
Blog Post:
Shadowcasting
in C#, Part Five
By
Eric Lippert
...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...
Posted on
27 Dec 2011
in Blog -
Blog Post:
Shadowcasting
in C#, Part Six
By
Eric Lippert
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
Posted on
28 Dec 2011
in Blog -
Blog Post:
Shadowcasting
in C#, Part Four
By
Eric Lippert
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
Posted on
22 Dec 2011
in Blog -
Blog Post:
Shadowcasting
in C#, Part One
By
Eric Lippert
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
Posted on
11 Dec 2011
in Blog -
Blog Post:
Shadowcasting
in C#, Part Three
By
Eric Lippert
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
Posted on
19 Dec 2011
in Blog -
Blog Post:
Shadowcasting
in C#, Part Two
By
Eric Lippert
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;
Posted on
15 Dec 2011
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.