1,265 reputation
312
bio website hexgridutilities.codeplex.com
location Canada
age 59
visits member for 2 years, 2 months
seen 14 hours ago

A physicist, accountant (CGA,CPA), and software developer by training, and a professional developer by employment, I wrote my first computer program in FORTRAN w/ WATFOR in high school. Since then I have written device drivers for a PDP-15, CAD/CAM applications in C, and Database applications in everything from FORTRAN (?!) and C to SQL and MS-Office.

I currently build financial and business applications professionally, mostly with VBA / C# / SQL, while developing my own Napoleonics game engine in C# on weekends and evenings.


Apr
3
comment How the values of h and the perpendicular had computed
@DMGregory: Good point; I will correct when back on a proper keyboard.
Mar
20
comment A* pathfinding for grid with direction-dependent nodes?
If you are using a hexagonal grid, check out my HexgridUtilities library (open source, MIT License) here: hexgridutilities.codeplex.com. It includes an efficient A-star implementation as well as raycasting line-of-sight on terrain hexgrids.
Mar
16
comment How to procedurally generate Mountains that Looks more natural
Check out Fractals.
Mar
12
comment How do I figure out if a point is infront or behind my vehicle?
What exactly do you mean by in front of? Dead ahead? forward of abeam? In the front quarter?
Mar
8
comment To what extent are video game bots & NPCs “artificial intelligence”?
Alan Turing thought about this extensively, and proposed the Turing Test as the appropriate means for testing AI: en.wikipedia.org/wiki/Turing_test
Mar
6
comment Need some help with math steering behavior stopping on destination point
@user62462: I have directed you to the necessary mathematical tools - now it is up to you to actually write the program.
Mar
6
comment Need some help with math steering behavior stopping on destination point
@user62462: Then please correct with 2 constants: maxspeed and acceleration in your question.
Mar
6
answered Need some help with math steering behavior stopping on destination point
Mar
5
answered In a grid based system, where users can build their own walls to create buildings, how do you determine which parts are indoors?
Mar
5
answered Is there a quick way to determine if a vector is in a quadrant?
Mar
3
answered How the values of h and the perpendicular had computed
Mar
1
answered Finding neighboring coordinates on offset tile map
Mar
1
comment How to get a position from a radial distance and angles?
How is this question not trivially addressed by Googling "Azimuthal Coordinates", yielding: en.wikipedia.org/wiki/…
Feb
27
comment Alternative to Rotation degrees or clock facing to describe cards angle
Navies have traditionally used a 32-point compass for describing ship heading. Every second point has a traditional name: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, N, NNW.
Feb
21
awarded  Yearling
Feb
21
answered How do I model diffusion and heat?
Feb
17
comment Basic Node Based Pathfinding
Check out Eric Lippert's great tutorial on implementing A-star in C# here: blogs.msdn.com/b/ericlippert/archive/2007/10.aspx. I have adapted it to a hexagonal terrain-grid, and pumped up performance, at this open-source site: hexgridutilities.codeplex.com
Feb
14
answered Creating LOS zones on a 2D grid for chase AI
Feb
14
comment Creating LOS zones on a 2D grid for chase AI
Eric Lippert presented a tutorial (in C# of course) on calculating Line-of-Sight with Shadowcasting for a square grid here: blogs.msdn.com/b/ericlippert/archive/2011/12.aspx
Feb
11
comment Possible A* Optimizations
But if you are using a PQ to order the node search and have an admissible heuristic, then you never need to re-prioritize the nodes in the PQ. It's a tautology.