<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OMG! NUB!</title>
	<atom:link href="http://tape-worm.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://tape-worm.net</link>
	<description>Home of Gorgon - The 2D graphics library for .NET</description>
	<lastBuildDate>Fri, 03 May 2013 13:05:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>More the editor</title>
		<link>http://tape-worm.net/?p=579</link>
		<comments>http://tape-worm.net/?p=579#comments</comments>
		<pubDate>Thu, 28 Mar 2013 03:17:47 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=579</guid>
		<description><![CDATA[Here&#8217;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.]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" alt="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" width="355" height="116" /></a>Here&#8217;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.</p>
<div style="text-align: center;"><a href="http://www.tape-worm.net/GallereeeeCallOnMe/albums/gorgon/tools/v2/gorgon_fonteditor_plugin.png"><img class="alignnone" alt="" src="http://www.tape-worm.net/GallereeeeCallOnMe/albums/gorgon/tools/v2/gorgon_fonteditor_plugin.png" width="256" height="192" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=579</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The editor</title>
		<link>http://tape-worm.net/?p=572</link>
		<comments>http://tape-worm.net/?p=572#comments</comments>
		<pubDate>Mon, 25 Mar 2013 07:18:35 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[File systems]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[gorPack]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=572</guid>
		<description><![CDATA[So I&#8217;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&#8217;s a more up to date (but not even close to being [...]]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-8" alt="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" width="355" height="116" />So I&#8217;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:</p>
<div style="text-align: center;"><a href="http://tape-worm.net/wblog/wp-content/uploads/2012/05/Font_Editor.png"><img class="size-thumbnail wp-image-484" alt="Font editor window." src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/Font_Editor-256x192.png" width="256" height="192" /></a></div>
<p>Ugly.</p>
<p>Anyway, I totally scrapped that old thing and restarted.  And here&#8217;s a more up to date (but not even close to being done) screen shot:</p>
<div style="text-align: center;"><a href="http://www.tape-worm.net/GallereeeeCallOnMe/albums/gorgon/tools/v2/gorgoneditor_v2.x.png"><img alt="Not quite as ugly" src="http://www.tape-worm.net/GallereeeeCallOnMe/albums/gorgon/tools/v2/gorgoneditor_v2.x.png" width="256" height="192" /></a></div>
<p>A little better.</p>
<p>This new editor is going to be a replacement for all the tools in the previous version of Gorgon.  It will handle file management duties (File System Editor in v1.x), sprite editing (Sprite Editor in v1.x) and atlasing (Atlas tool in v1.x).  It will also add font editing.  The big thing about this editor is that it&#8217;s entirely plug-in based.  Meaning that the font editor, sprite editor, etc&#8230; are/will be DLLs that are loaded/unloaded as needed.  What this means for you:  You can write your own plug-in modules for it.  Want to build a map editor and integrate it with the rest of your content?  With the plug-in system in the editor, you can write your own map editor and host it right in the editor interface (if anything the minimized tedium of having to write UI code is worth it).  Want to write out your content data as encrypted data?  You can extend the file writing functionality to write out encrypted file data.</p>
<p>Unlike the sprite editor in the previous version, the files are no longer saved as loose files on your hard drive that require a separate utility (file system editor) to pack into a single compressed file.  This editor now outputs data as a packed file (of course, this can be modified with a plug-in) so you don&#8217;t have to come up with a strategy to update your content, allowing you to edit directly.  This is where it takes over from the file system editor and like the old file system editor this one is capable of importing files by either clicking on an Import menu item, or dragging and dropping directly from explorer.  And, obviously, there&#8217;ll be a way to extract the files to your harddrive should you wish to do so.</p>
<p>I have several plans for plug-in modules for the editor including a sprite editor, image editor (a very very very very simple editor, use photoshop or paint.net if you want high detail stuff), a font editor and a shader editor (maybe).</p>
<p>FYI, the window will look like that in Windows 7 as well (i.e. no aero glass).  I&#8217;ve modified it to look like the Zune window by including a new object in Gorgon.Common.Dll called ZuneForm.  Basically you inherit this form instead of a System.Windows.Forms.Form and then you get a Zune-looking window.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=572</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEATH TO D3DX!</title>
		<link>http://tape-worm.net/?p=565</link>
		<comments>http://tape-worm.net/?p=565#comments</comments>
		<pubDate>Fri, 22 Feb 2013 07:04:49 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[file associations]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=565</guid>
		<description><![CDATA[FINALLY.   I&#8217;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&#8217;ve provided extensive info after the jump thingy. In case you&#8217;re wondering (and you know that you are), I used the D3DX utility library [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" alt="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" width="355" height="116" /></a>FINALLY.   I&#8217;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:</p>
<div style="text-align: center;">
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/tQbbIKIoOQU?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
</div>
<p>I&#8217;ve provided extensive info after the jump thingy.</p>
<p><span id="more-565"></span>In case you&#8217;re wondering (and you know that you are), I used the D3DX utility library to handle some horrible jobs in Gorgon.  Namely saving and loading textures and importing GDI+ (System.Drawing) bitmaps into textures.  But with the abomination that is Windows 8, and DirectX 11.1 (which, just to be clear, Gorgon is <strong>NOT</strong> using), D3DX has been left to rot.  Fine by me, one less dependency (and hopefully no more <em>d3dx4312318793728.dll was not found</em> errors).</p>
<p>So, how am I performing texture loading/saving?  Well, being the daft bastard that I am, I created a rather complicated (for me) imaging system to handle loading, saving and <span style="text-decoration: underline;">manipulation</span> of image data.  The last part is underlined because Gorgon 1.x had very limited capability in that area.  It&#8217;s all based on the toolkit code in <a title="Sharp DX website." href="http://sharpdx.org" target="_blank">SharpDX</a> by Alexandre Mutel and the <a title="DirectX Tex" href="http://directxtex.codeplex.com/" target="_blank">DirectXTex</a> library by Chuck Walbourn.  I seriously wouldn&#8217;t have been able to get anywhere if those guys hadn&#8217;t done as much work as they did.</p>
<p>That said, it was still no walk in the park.  The SharpDX toolkit code is fairly basic, and the DirectXTex library is in C++ (I now remember exactly why I don&#8217;t use that bastard of a language anymore).</p>
<p>With all that said, here&#8217;s what&#8217;s new with texture loading/saving:</p>
<ul>
<li><span style="line-height: 13px;">Image data is now manipulated through the <em><strong>GorgonImageData</strong></em> object.  This allows us direct access to the pixels of an image on any texture array (or depth slice if using volume textures) index and mip map level.  It breaks the indices and mips into parts that can be indexed like a collection and provides data streams to allow reading/writing of data into those buffers.  All requisite information is included, such as row pitch, slice pitch (<em>= image width * height * bytes/pixel</em>).  All in all, it makes accessing the data pretty easy.</span>
<ul>
<li>Images can be loaded directly into the image data using FromFile/Stream methods.  This is pretty straightforward.  Image data can also be saved to a file/stream.</li>
<li>The image data object can perform conversion on several (but not all) formats.  Plus it&#8217;ll do resizing of images.</li>
<li>That&#8217;s the image data object&#8230; is that a texture?  No, it is not a texture.  It is the data that a texture can use however.  You may create textures by loading them directly from a file/stream, or into an image data object and then pass that image data object into the texture creation methods.  Or even create an empty texture and copy the data in later.  The two object types are related, but different.  One is for low level image manipulation, the other is for dumping that image data into your video card.</li>
</ul>
</li>
<li>Codecs&#8230; Gorgon now has several objects called codecs.  These are used to decode/encode image data from a file/stream.  Codec objects are passed to load/save methods whenever texture or image data objects are loaded/saved.  Currently Gorgon has support for:
<ol>
<ol>
<li>DDS &#8211; This was a bastard to write.</li>
<li>TGA</li>
<li>GIF &#8211; This was a bastard too</li>
<li>PNG</li>
<li>TIFF</li>
<li>BMP</li>
<li>WMP</li>
</ol>
</ol>
</li>
<ul>
<li>Codecs are objects.  Not enumeration types like the previous versions of Gorgon.  Why?  Because each codec has a set of properties which allow you to alter how images are decoded and encoded based on the codec you&#8217;re using.  This allows us to do transformation of image data as it&#8217;s brought in.</li>
<li>Codecs are custom objects.  That is, you, yes you, can write your own by inheriting from GorgonImageCodec and you&#8217;ll be able to save/load your very own file format.  Because the world needs more file formats.</li>
</ul>
</ul>
<p>Currently GIF, PNG, BMP, WMP, and TIFF are using the Windows Imaging Component API to encode/decode the data for those file formats.  This requires that WIC be installed on your system if you plan on using those formats.  However, this shouldn&#8217;t be an issue because Windows 7 should have it installed already.  Also, because codecs can be created by users, you can always write your own PNG codec and not use my crappy version.</p>
<p>Anyway, that&#8217;s about as much as I care to babble on about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=565</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://tape-worm.net/?p=562</link>
		<comments>http://tape-worm.net/?p=562#comments</comments>
		<pubDate>Thu, 10 Jan 2013 07:39:41 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[Raw Input]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=562</guid>
		<description><![CDATA[So I&#8217;ve been adding examples to the new version of Gorgon for the last week or so.  The latest one shows how to use the new input system to use a Raw Input mouse, keyboard and joystick (if present, and is actually not using Raw Input as such).  It&#8217;s a pretty silly example, but shows [...]]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-8" alt="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" width="355" height="116" />So I&#8217;ve been adding examples to the new version of Gorgon for the last week or so.  The latest one shows how to use the new input system to use a Raw Input mouse, keyboard and joystick (if present, and is actually not using Raw Input as such).  It&#8217;s a pretty silly example, but shows how to get the input plug-ins loaded, how to create an input factory and how to create the objects used to represent the various input devices.</p>
<p>You want pictures though.  I have one.  And it is <a title="Gorgon v2 Input Device Example." href="http://www.tape-worm.net/GallereeeeCallOnMe/gorgon/gorgon-v2-dorian-/gorgonv2example_imagedevices.png.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=562</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boing!</title>
		<link>http://tape-worm.net/?p=546</link>
		<comments>http://tape-worm.net/?p=546#comments</comments>
		<pubDate>Mon, 31 Dec 2012 05:08:20 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[SharpDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=546</guid>
		<description><![CDATA[Well, it&#8217;s been a while.  I&#8217;ve been busy.  You&#8217;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 [...]]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-8" alt="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" width="355" height="116" />Well, it&#8217;s been a while.  I&#8217;ve been busy.  You&#8217;ve been busy.</p>
<p>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 unlike the previous version where the renderer was pretty much all you had access to.  I had a user ask me a long time ago if it were possible to access the underlying renderer to render 3D along with the 2D.  At first, it did not, but I did hack in a way to access SlimDX directly through a plug-in and it was awful.</p>
<p>So, in this version I decided to give the developer access to the full graphics API under the renderer.  This allows the user to switch between 2D graphics and whatever they want.  And here&#8217;s the results of my intense labour pain:</p>
<div style="text-align: center;">
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/cKX91fj2erU?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
</div>
<p>Yep, it&#8217;s a clone of the old Amiga demo &#8220;Boing&#8221;.  As you can see, there are 2D elements (the text and the logo) along with the 3D elements (which were all done manually I might add, Gorgon does <strong>NOT</strong> have a 3D renderer so don&#8217;t get too excited).  I&#8217;ve decided to include the code as an example program for the new Gorgon.</p>
<p>Rejoice.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=546</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET 4.5 &#8211; Visual Studio 2012</title>
		<link>http://tape-worm.net/?p=536</link>
		<comments>http://tape-worm.net/?p=536#comments</comments>
		<pubDate>Mon, 22 Oct 2012 04:28:28 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Idiocy]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=536</guid>
		<description><![CDATA[So, I got myself a copy of Visual Studio 2012 Pro.  It&#8217;s pretty nice, except for the shitty all-caps menus (which you can turn off with the registry hack located here).  I really didn&#8217;t have any plans on moving Gorgon v2.x to .NET 4.5/VS2012 until I saw this: This is a big deal to me. [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>So, I got myself a copy of Visual Studio 2012 Pro.  It&#8217;s pretty nice, except for the shitty all-caps menus (which you can turn off with the registry hack located <a title="Remove all caps from VS2012 menus" href="http://www.richard-banks.org/2012/06/how-to-prevent-visual-studio-2012-all.html" target="_blank">here</a>).  I really didn&#8217;t have any plans on moving Gorgon v2.x to .NET 4.5/VS2012 until I saw this:</p>
<div id="attachment_537" class="wp-caption aligncenter" style="width: 266px"><a href="http://tape-worm.net/wblog/wp-content/uploads/2012/10/VS2012_PixelDebug.png"><img class="size-thumbnail wp-image-537" title="FINALLY!!" src="http://tape-worm.net/wblog/wp-content/uploads/2012/10/VS2012_PixelDebug-256x192.png" alt="FINALLY!!" width="256" height="192" /></a><p class="wp-caption-text">No more PIX! I can barely contain myself.</p></div>
<p><span id="more-536"></span>This is a big deal to me. I can&#8217;t begin to tell you how much I hated PIX (the graphics debugger from the Direct X SDK). When I could get it working, it was painful because I had to run it outside of Visual Studio and even then a lot of stuff failed in PIX and/or crashed PIX.  And don&#8217;t even bother trying to do graphics debugging with a 64 bit application in PIX&#8230;  Anyway, being able to debug my shaders and stuff in Visual Studio makes me a happy boy.</p>
<p>One other really neat thing I noticed (and it&#8217;s about time) is that I could open up the Visual Studio 2010 solution/project files and it didn&#8217;t try to convert them, meaning that I could make changes to the 2010 files in VS2012, and still open them in VS2010.   This means I only need to keep -1- copy of Visual Studio and it&#8217;ll work when updating the 1.x and 2.x versions and won&#8217;t screw up the files.   I am pleased.</p>
<p>So, yeah, I&#8217;m moving version 2.x to Visual Studio 2012/.NET 4.5.  Hopefully this won&#8217;t be a painful thing for people, and it shouldn&#8217;t be:  By the time Gorgon 2.x is released, we&#8217;ll probably be on to Visual Studio 2112/.NET Temple of Syrinx Edition (a little Rush joke) and it&#8217;ll be moot.  So, to reiterate: <strong>going forward you&#8217;ll require Visual Studio 2012 to compile/use Gorgon <em><span style="text-decoration: underline;">2.x</span></em></strong><em><span style="text-decoration: underline;"></span></em>.</p>
<p>I know people might hem and haw over this&#8230; <em>&#8220;But Tape, I can&#8217;t afford to remove my other kidney and sell it on the black market so I can afford the newest Visual Studio!  I already sold my first one because I needed to get Visual Studio 2008 (or 2010)&#8221;</em>   And to you I say, fret not.  As with previous versions of Gorgon, this version works just fine with the Express edition of Visual Studio 2012 (I tested tonight), which is free&#8230; well, free as in you&#8217;ll have to give Microsoft your precious personal information to register it, which is a joke really&#8230; anyway, it won&#8217;t cost you money.  Just your soul.</p>
<p>And now, this part, because I can only assume someone&#8217;s going to ask about it:  <strong><span style="text-decoration: underline;">Gorgon 1.x</span></strong> (i.e. the one that actually works and is available for you to use) <strong>will <em><span style="text-decoration: underline;">remain as a Visual Studio 2010 project</span></em></strong>  and I have no plans to migrate that version.  So, if you&#8217;re that hell bent on staying with Visual Studio 2010, then that&#8217;s the version of Gorgon you want.   Plus, it&#8217;s the only version that&#8217;s available right now&#8230; so&#8230; yeah, you don&#8217;t have much choice in the matter.</p>
<p>That is all.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=536</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Gorgon in text mode&#8230;</title>
		<link>http://tape-worm.net/?p=529</link>
		<comments>http://tape-worm.net/?p=529#comments</comments>
		<pubDate>Thu, 13 Sep 2012 02:00:16 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=529</guid>
		<description><![CDATA[Yep.  Console window actually.   Exciting.  Just a silly example program showing how to use some of the functionality from the common library. You can go back to sleep now.]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>Yep.  Console window actually.   Exciting.  Just a silly example program showing how to use some of the functionality from the common library.</p>
<p>You can go back to sleep now.</p>
<div id="attachment_533" class="wp-caption aligncenter" style="width: 266px"><a href="http://tape-worm.net/wblog/wp-content/uploads/2012/09/Gorgon_In_Text_Mode.png"><img class="size-thumbnail wp-image-533" title="Gorgon_In_Text_Mode" src="http://tape-worm.net/wblog/wp-content/uploads/2012/09/Gorgon_In_Text_Mode-256x192.png" alt="" width="256" height="192" /></a><p class="wp-caption-text">Text mode. Now you too can write state-of-the-art adventure games. N, E, LOOK, INV, instant death&#8230; good times.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=529</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FYI&#8230; Logitech&#8230;</title>
		<link>http://tape-worm.net/?p=526</link>
		<comments>http://tape-worm.net/?p=526#comments</comments>
		<pubDate>Tue, 28 Aug 2012 02:02:32 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Real life]]></category>
		<category><![CDATA[customer service]]></category>
		<category><![CDATA[g9 mouse]]></category>
		<category><![CDATA[logitech]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=526</guid>
		<description><![CDATA[Is awesome.  Seriously.  You should buy their products whenever possible. Best. Customer. Service. Ever.]]></description>
				<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>Is awesome</strong></span>.  Seriously.  You should buy their products whenever possible.</p>
<p>Best. Customer. Service. Ever.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=526</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 8</title>
		<link>http://tape-worm.net/?p=522</link>
		<comments>http://tape-worm.net/?p=522#comments</comments>
		<pubDate>Sun, 26 Aug 2012 18:54:10 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Real life]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[SharpDX]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=522</guid>
		<description><![CDATA[So I&#8217;m trying out Windows 8 (yes, it&#8217;s not released to the public, and yes I have it legally). Dear God, what a mess this whole Metro/desktop thing is.  Someone over at Microsoft must have split personality disorder or something.  How in hell did they think that was a good idea?? Anyway, the OS does [...]]]></description>
				<content:encoded><![CDATA[<p>So I&#8217;m trying out Windows 8 (yes, it&#8217;s not released to the public, and yes I have it legally).</p>
<p>Dear God, what a mess this whole Metro/desktop thing is.  Someone over at Microsoft must have split personality disorder or something.  How in hell did they think that was a good idea??</p>
<p>Anyway, the OS does have some really nice improvements and it&#8217;s very responsive (except when it&#8217;s not&#8230; I get random freezes once in a while, apparently it&#8217;s something to do with my Intel SSD).  And more importantly, after installing VS2010, and the June 2010 DirectX SDK, the new (and presumably old since I haven&#8217;t tried it yet) Gorgon works fine.  What I knew, and was hoping I was wrong, is that they took out the D3DX library for the new DirectX, and as such things broke horribly under Gorgon because SharpDX uses the D3DX libraries to load/save textures.  After installing the June 2010 DXSDK, everything worked again, so there&#8217;s that.</p>
<p>I really really really don&#8217;t like this metro thing.  It&#8217;s just horrible with a mouse/keyboard and while I was ambivalent towards the Start Menu in previous versions, I really miss that I can&#8217;t group my applications (and I have a <strong>lot</strong>) under folders.  This made everything really horrible to organize, especially with how obsessive I am about organization on my machine.</p>
<p>That said, the desktop is real nice.  Love the new task manager, love the new copy/delete dialogs.   I even like the new look they put in (they got rid of Aero, or probably more likely, the glass effect).</p>
<p>Sadly, I now have to figure out how in hell I&#8217;m going to make Gorgon work without relying on D3DX (yes, I know, I could keep with developing for the June 2010 SDK, but at some point you know they&#8217;re going to drop that).  Apparently I can use WIC (Windows Imaging Component), but it looks pretty convoluted and I need something that&#8217;ll give me AnyCPU support.</p>
<p>All in all, the awfulness of Windows 8 outweighs its benefits in my opinion.  Someone really needs to kick Ballmer (I blame him wholeheartedly for this mess) out of that company and install someone with a fucking clue (i.e. we don&#8217;t <em>all</em> use/want a tablet, nor do we all want to develop for them).</p>
<p><span style="color: #ff0000;">Anyway, I <strong>am not </strong>dropping support for Windows 7/Vista from Gorgon.  So don&#8217;t ask about it.</span></p>
<p>That&#8217;s all for now.  Gorgon is still being worked on, a little, here and there.  It&#8217;ll be ready by 2213.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=522</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dual monitor stuff</title>
		<link>http://tape-worm.net/?p=515</link>
		<comments>http://tape-worm.net/?p=515#comments</comments>
		<pubDate>Mon, 13 Aug 2012 04:07:39 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[SharpDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=515</guid>
		<description><![CDATA[So here&#8217;s a screenshot of the dual monitor code in action: It&#8217;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 [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>So here&#8217;s a screenshot of the dual monitor code in action:</p>
<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2012/08/DualMonitor1.png"><img class="aligncenter size-thumbnail wp-image-519" title="DualMonitor" src="http://tape-worm.net/wblog/wp-content/uploads/2012/08/DualMonitor1-256x192.png" alt="" width="256" height="192" /></a></p>
<p>It&#8217;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 code to handle cases where focus is lost/restored on the primary form.</p>
<p>Gorgon would normally handle focus loss to reset your full screen mode for you when focus is returned (this is due to a bug in WinForms and DXGI).  And that&#8217;s all well and good, but this code really doesn&#8217;t work well with multiple monitor situations.  So, there&#8217;s a flag to tell Gorgon to turn off the automatic mode reset on focus, and that will let you, the user, handle the transition when dealing with multiple monitors.  It&#8217;s not an ideal situation, but it works</p>
<p>It&#8217;s a bit complicated to set up, but there&#8217;ll be an example included with Gorgon on how to use dual monitor setups that&#8217;ll guide you through the process.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=515</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Look at my balls</title>
		<link>http://tape-worm.net/?p=510</link>
		<comments>http://tape-worm.net/?p=510#comments</comments>
		<pubDate>Mon, 16 Jul 2012 04:11:24 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[SharpDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=510</guid>
		<description><![CDATA[So, I&#8217;ve been quite busy lately with a new job and such.  And as a consequence I haven&#8217;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&#8217;ve uploaded the Ball Demo to the [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>So, I&#8217;ve been quite busy lately with a new job and such.  And as a consequence I haven&#8217;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.</p>
<p>I&#8217;ve uploaded the <a title="Ball Demo file" href="http://www.tape-worm.net/public/BallDemo.zip">Ball Demo</a> to the site so people can have a look at it.  I&#8217;d appreciate any feedback (please post the feedback to the forums, thank you).</p>
<p>Please note the following before running it:</p>
<ol>
<li>It&#8217;ll probably crash.  It&#8217;s in development after all.</li>
<li>You <em><span style="text-decoration: underline;"><strong>NEED</strong></span></em> Windows Vista Service Pack 2, or Windows 7 (Windows 8 <em>-might-</em> work, but don&#8217;t count on it).</li>
<li>It will run on Direct 3D 9 capable video devices.  However, it requires Direct X 11 be installed on the system (hence the OS requirements).</li>
</ol>
<p>To run it, just run the BallDemo.exe and pray (oh, and ensure that the zip file isn&#8217;t &#8216;blocked&#8217; by Windows, .NET assemblies hate that shit).  It defaults to windowed mode with a resolution of 1280&#215;800 although you can modify the BallDemo.config file to change to a resolution you like.</p>
<p>Let me know what your performance is like.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=510</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Issues with installing SlimDX Mar 2009 (2.0.7.41)</title>
		<link>http://tape-worm.net/?p=506</link>
		<comments>http://tape-worm.net/?p=506#comments</comments>
		<pubDate>Sat, 30 Jun 2012 22:21:37 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[DirectX]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[SlimDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=506</guid>
		<description><![CDATA[Apparently there&#8217;s an issue with Gorgon installing SlimDX.  When the installer runs, it is supposed to detect whether the March 2009 SP1 (v2.0.7.41) SlimDX assemblies are installed.  If they are not, then it will install SlimDX for you.  However, it has come to my attention that the Gorgon install has not been installing SlimDX. The [...]]]></description>
				<content:encoded><![CDATA[<p>Apparently there&#8217;s an issue with Gorgon installing SlimDX.  When the installer runs, it is supposed to detect whether the March 2009 SP1 (v2.0.7.41) SlimDX assemblies are installed.  If they are not, then it will install SlimDX for you.  However, it has come to my attention that the Gorgon install has not been installing SlimDX.</p>
<p>The issue is with the March 2009 SP1 SlimDX end user runtime installer (Gorgon runs this when it installs).  Apparently it&#8217;s not working, and even though I&#8217;ve tried to download it from the SlimDX site it still refuses to run (for me) and claims that the installer is invalid.</p>
<p>If you&#8217;re having issues running Gorgon applications because it can&#8217;t find the v2.0.7.41 SlimDX assemblies:<br />
&#8220;<em>Could not load file or assembly &#8216;SlimDX, Version=2.0.7.41, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9&#8242; or one of its dependencies. The system cannot find the file specified.</em>&#8221;</p>
<p>Then install the SlimDX March 2009 SP1 Developer SDK from <a title="SlimDX March 2009 SP1 SDK" href="http://slimdx.org/download_mar09.php" target="_blank">here</a> and all should be well again.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=506</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gorgon &#8211; 1.1.4529.31450</title>
		<link>http://tape-worm.net/?p=497</link>
		<comments>http://tape-worm.net/?p=497#comments</comments>
		<pubDate>Sun, 27 May 2012 18:16:34 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[SlimDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=497</guid>
		<description><![CDATA[There&#8217;s a new version of Gorgon uploaded.  There&#8217;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, [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>There&#8217;s a new version of Gorgon uploaded.  There&#8217;s not a huge amount in this release regarding the actual graphics library, just a few bug fixes.</p>
<p>However, there are two important changes:</p>
<ol>
<li>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, you will need Visual Studio 2010.  The library still uses .NET 3.5 SP1, so Visual Studio 2008 will continue to work when using the library assembly.</li>
<li>Most important of all: There&#8217;s been a new library added called GSound (Gorgon Sound).  Written by ShadowDust702.  <a title="Gorgon Sound forums" href="http://www.tape-worm.net/forums" target="_blank">New forums</a> have been added to reflect this new addition.</li>
</ol>
<p>You can download Gorgon from <a title="Gorgon" href="http://code.google.com/p/gorgonlib/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=497</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Font editor</title>
		<link>http://tape-worm.net/?p=482</link>
		<comments>http://tape-worm.net/?p=482#comments</comments>
		<pubDate>Thu, 17 May 2012 02:52:43 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Kerning]]></category>
		<category><![CDATA[SharpDX]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=482</guid>
		<description><![CDATA[So the font editor is nearly complete.  Here&#8217;s a few screen shots:]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-medium wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo-300x98.png" alt="" width="300" height="98" /></a>So the font editor is nearly complete.  Here&#8217;s a few screen shots:
<a href='http://tape-worm.net/?attachment_id=483' title='New font'><img width="256" height="192" src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/New_Font-256x192.png" class="attachment-thumbnail" alt="New font fialog" /></a>
<a href='http://tape-worm.net/?attachment_id=484' title='Font editor'><img width="256" height="192" src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/Font_Editor-256x192.png" class="attachment-thumbnail" alt="Font editor window." /></a>
<a href='http://tape-worm.net/?attachment_id=485' title='Color picker'><img width="256" height="192" src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/Editor_ColorPick-256x192.png" class="attachment-thumbnail" alt="The new color picker" /></a>
<a href='http://tape-worm.net/?attachment_id=486' title='Text editing'><img width="256" height="192" src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/Font_TextEdit-256x192.png" class="attachment-thumbnail" alt="Text editing for testing the font." /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=482</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editors</title>
		<link>http://tape-worm.net/?p=465</link>
		<comments>http://tape-worm.net/?p=465#comments</comments>
		<pubDate>Mon, 07 May 2012 05:54:02 +0000</pubDate>
		<dc:creator>Tape_Worm</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Direct3D]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[Gorgon - My 2D graphics library]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Kerning]]></category>

		<guid isPermaLink="false">http://tape-worm.net/?p=465</guid>
		<description><![CDATA[I decided to take a break from writing the library, and have been working on the editor.  Here&#8217;s a screen shot of the font editor in semi-action.  Please  note that this is very preliminary and there&#8217;s not a lot going on here.]]></description>
				<content:encoded><![CDATA[<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png"><img class="alignleft size-full wp-image-8" title="sitelogo" src="http://tape-worm.net/wblog/wp-content/uploads/2008/10/sitelogo.png" alt="" width="355" height="116" /></a>I decided to take a break from writing the library, and have been working on the editor.  Here&#8217;s a screen shot of the font editor in semi-action.  <em>Please  note that this is very preliminary and there&#8217;s not a lot going on here.</em></p>
<p><a href="http://tape-worm.net/wblog/wp-content/uploads/2012/05/GorgonEditor.png"><img class="aligncenter size-thumbnail wp-image-466" title="GorgonEditor" src="http://tape-worm.net/wblog/wp-content/uploads/2012/05/GorgonEditor-256x192.png" alt="" width="256" height="192" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tape-worm.net/?feed=rss2&#038;p=465</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
