More the editor
Here’s a another screenshot of the editor. This time with the Font editor plug-in in action. Note that this is very very very incomplete and may not look like this when everything is said and done.
In: Programming · Tagged with: .NET, 2D, Direct3D, Editor, fonts, Gorgon - My 2D graphics library, Graphics
The editor
So I’ve been busy working on building the editor for creating the content for Gorgon. I know I posted a screenshot of a very old initial version of the editor way back: Ugly. Anyway, I totally scrapped that old thing and restarted. And here’s a more up to date (but not even close to being [...]
In: Programming · Tagged with: .NET, 2D, File systems, Game Development, Gorgon - My 2D graphics library, gorPack, Graphics, Programming
DEATH TO D3DX!
FINALLY. I’VE FINALLY DONE IT! It took weeks of work, but I managed to exorcise D3DX from Gorgon. Behold my video playing an animated GIF using a 2D texture array: I’ve provided extensive info after the jump thingy.
In: Programming · Tagged with: .NET, 2D, Direct3D, file associations, Gorgon - My 2D graphics library, Graphics, png
Boing!
Well, it’s been a while. I’ve been busy. You’ve been busy. Anyway, I actually took some time to test out a piece of functionality for the new version of Gorgon. This new version of Gorgon will have a graphics API separate from the 2D renderer (the 2D renderer uses the graphics API however). This is [...]
In: Programming · Tagged with: 2D, 3D, Direct3D, Gorgon - My 2D graphics library, Graphics, HLSL, SharpDX
Dual monitor stuff
So here’s a screenshot of the dual monitor code in action: It’s not much to look at, but it was a major pain in the ass to get working, and does indeed work. Basically you create 2 forms, and 2 swap chains and set both swap chains to full screen and then add some special [...]
In: Programming · Tagged with: 2D, Animation, Direct3D, Gorgon - My 2D graphics library, Graphics, Programming, SharpDX
Look at my balls
So, I’ve been quite busy lately with a new job and such. And as a consequence I haven’t had any time for Gorgon recently. But I finally sat down this evening and did a little work (not much mind you, and certainly nothing of note) on Gorgon 2.x. I’ve uploaded the Ball Demo to the [...]
In: Programming · Tagged with: .NET, 2D, Animation, Direct3D, Game Development, Gorgon - My 2D graphics library, HLSL, Programming, SharpDX
Gorgon – 1.1.4529.31450
There’s a new version of Gorgon uploaded. There’s not a huge amount in this release regarding the actual graphics library, just a few bug fixes. However, there are two important changes: The project/solution files for the library source code were converted to Visual Studio 2010. This means that in order to compile the Gorgon library, [...]
In: Programming · Tagged with: .NET, 2D, Direct3D, Game Development, Gorgon - My 2D graphics library, Graphics, Programming, SlimDX
Font editor
So the font editor is nearly complete. Here’s a few screen shots:
In: Programming · Tagged with: .NET, 2D, Gorgon - My 2D graphics library, Graphics, Kerning, SharpDX
Editors
I decided to take a break from writing the library, and have been working on the editor. Here’s a screen shot of the font editor in semi-action. Please note that this is very preliminary and there’s not a lot going on here.
In: Programming · Tagged with: 2D, C#, Direct3D, Editor, Gorgon - My 2D graphics library, Graphics, Kerning
More text stuff.
Here’s a sample of text rendering in Gorgon 2.0 (Dorian). It’s rendering 16,019 characters, animated with shadowing (which doubles the character count), plus the FPS counter. When it renders the text, it renders with kerning information (provided the font has any) so the output should be properly spaced. And while it’s doing this, it’s scaling [...]
In: Programming · Tagged with: .NET, 2D, Animation, Direct3D, Gorgon - My 2D graphics library, Graphics, Kerning
Text output and Fonts
Sweet merciful fuck. That was painful. I just spent the last 4 evenings/nights writing Gorgon’s font system and it was not fun. And, of course, I’m still nowhere near done (still have to create the TextSprite object, and other the font effects like gradients and GDI+ image brushes). But, I got it working. Not only [...]
In: Programming · Tagged with: 2D, C#, Direct3D, DrawString, fonts, GDI+, Gorgon - My 2D graphics library, Graphics, Kerning, text
Yet more shaders
Here’s another bundled effect, the Gaussian Blur shader: If you see any stuttering, blame Fraps, I was getting over 1000 FPS while it was blurring and running.
In: Programming · Tagged with: .NET, 2D, C#, Direct3D, Gorgon - My 2D graphics library, Graphics, HLSL, Shaders
Gorgon Shaders
So I got custom shaders up and running in Gorgon 2.0. The new version has always had shader ability because it’s using Direct3D 11, so it’s required to use them. However, up until now the shader code has been hardcoded to use 3 default shaders. But after today, there’s an ability to use customized shaders: [...]
In: Programming · Tagged with: .NET, 2D, C#, Direct3D, Gorgon - My 2D graphics library, Graphics, HLSL, Shaders
You’re so primitive.
So, I’m moving to a new place tomorrow and work on Gorgon v2 is going to halt for a bit until I get my life back in order. In the meantime, here’s a screenshot of the primitives (rectangles, lines, etc…) that have been making me insane (click it to see a larger version): You can [...]
In: Programming · Tagged with: .NET, 2D, C#, circle, Direct3D, ellipse, Gorgon - My 2D graphics library, Graphics, lines, points, Primitives, Programming, rectangles
65536 balls.
So, I’ve gotten most of the sprite functionality back into Gorgon 2.0. And of course, with the help of my stupid ball demo program I learned something neat… (click the “read the rest of this post…”, you know you want to)
In: Programming · Tagged with: .NET, 2D, Alexandre Mutel, Animation, Direct3D, Gorgon - My 2D graphics library, Graphics, Programming, SharpDX
