Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Richards Software Ramblings



Model Loading Code Updated to AssimpNet 3.3.1

Posted by ericrrichards22, 11 February 2015 · 0 views
AssimpNet, C#, 3D Models and 1 more...
Just a quick update today. I've updated the 3D model loading code to use the latest version of AssimpNet that is on Nuget now. The latest code is updated on GitHub.

The biggest changes appear to be that the AssimpImporter/Exporter classes have been merged into a single AssimpContext class that can do both. Some of the GetXXX methods to retrieve vertex e...


Serving HTML5 Video using Nancy

Posted by ericrrichards22, 17 January 2015 · 0 views
C#, Nancy, OWIN, HTML5 Video and 1 more...
Not really game related, but something I've been working on lately.

Recently, I have been using OWIN a good deal for developing internal web applications. One of the chief benefits of this is that OWIN offers the ability to host its own HTTP server, which allows me to get out of the business of installing and configuring IIS on windows, which is one of t...


Geodesic Sphere Tessellation

Posted by ericrrichards22, 21 December 2014 · 233 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 · 328 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 · 454 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 · 738 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...






March 2015 »

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
29 3031    

Latest Visitors

PARTNERS