Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


Richards Software Ramblings



Geodesic Sphere Tessellation

Posted by ericrrichards22, 21 December 2014 · 221 views
C#, SlimDX, DirectX 11 and 1 more...
A couple of weeks ago as I was browsing HackerNews, I stumbled onto an article about creating spherical procedural maps by Andy Gainey. Procedural terrain/map generation is always something I find interesting, having grown up slightly obsessed with Civilization and its successors. Various methods of tiling a sphere in order to make a game grid have been...


HLSL Cookbook: Directional Lighting

Posted by ericrrichards22, 24 November 2014 · 237 views
HLSL, C#, SlimDX, Direct3D11 and 2 more...
Moving along with Chapter 1 of the HLSL Development Cookbook , we're on to handling directional lighting. I've covered most of the theory behind directional lighting previously , so this is going to be quite brief.

To recap, in case anyone is unfamiliar with the term, a directional light is a light which illuminates the entire scene equally from a given...


Hemispherical Ambient Lighting

Posted by ericrrichards22, 13 November 2014 · 295 views
C#, SlimDX, DirectX 11, HLSL and 1 more...
Well, it's been two rough months since the last post. Work has been crazy, and I've been wrestling with finishing up my never-ending Voronoi mapping project. So I decided to switch gears and return to the HLSL Development Cookbook . Now that I've got code in place to handle loading the .sdkmesh model files used by the book's examples, the hardest part is...


Loading an SDKMESH Model file with SlimDX

Posted by ericrrichards22, 11 September 2014 · 326 views
SDKMESH, SlimDX, DirectX 11, DXUT
Many moons ago now, I picked up a copy of HLSL Development Cookbook by Doron Feinstein. I had intended to work my way through it after I finished up Luna's Introduction to 3D Game Programming with Direct3D 11.0 , but winter and life kind of got in the way...

Another difficulty I had with this book was that the code samples made heavy use of DXUT which...


Site Migration

Posted by ericrrichards22, 19 July 2014 · 381 views

I've decided to move my blog off of Blogger. Blogger was great for getting started, but it has just become too painful to fight with going forward. I'm sick of fighting the Blogger templating to force it to display my content the way that I want it to. Blogger has a habit of absolutely mangling the html that I try to post. For posts consisting mostly of p...


Clipping Lines to a Rectangle using the Cohen-Sutherland Algorithm

Posted by ericrrichards22, 14 July 2014 · 452 views
Line Clipping, C# and 1 more...
For the last six or eight months, off and on, I’ve been trying to write some code that will create a Voronoi diagram from a set of random points, inspired by Amit Patel’s Polygonal Map Generation demo . In the last week or so, I had a bit of a break-through, in that I finally managed to get an implementation of Fortune’s Algorithm put together that wou...


One Year Later…

Posted by ericrrichards22, 10 July 2014 · 737 views

Tuesday was the anniversary of my first real post on this blog. For the most part, I’ve tried to keep my content here on the technical side of things, but, what the hell, this is a good time to reflect on a year of blogging – what went well, what went poorly, and where I’m going from here.

What I Meant to Accomplish (And What I actually Accomplished…)...


Rendering Text using SlimDX SpriteTextRenderer

Posted by ericrrichards22, 05 February 2014 · 494 views
SlimDX, DirectX 11, C# and 1 more...
Howdy. Today, I’m going to discuss rendering UI text using the SlimDX SpriteTextRenderer library . This is a very nifty and light-weight extension library for SlimDX, hosted on CodePlex. In older versions of DirectX, it used to be possible to easily render sprites and text using the ID3DXSprite and ID3DXFont interfaces, but those have been removed in n...


IBM Connect 2014

Posted by ericrrichards22, 02 February 2014 · 621 views
IBM, Connect 2014, Dilbert and 1 more...
Yikes! It’s been more than two weeks since my last post… It’s been a busy two weeks, as my employer has been gearing up for and attending IBM’s Connect 2014 conference in Orlando. So I’ve had less time than usual to work on my side projects here. Because of that, I’m going to go outside of my usual format, and recap the conference and some thoughts on...


Simple Particle Physics

Posted by ericrrichards22, 18 January 2014 · 562 views
C#, Physics, Particle Physics and 2 more...
As I mentioned last time , I’m going to move on from fiddling with my Terrain class for a little while, and start working on some physics code instead. I bought a copy of Ian Millington’s Game Physics Engine Development some months ago and skimmed through it, but was too busy with other things to really get into the accompanying source code . Now, I do...






December 2014 »

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 29 3031   

Latest Visitors

PARTNERS