<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Realtime Environment Destruction</title>
		<link>http://www.allegro.cc/forums/view/614006</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 12 Mar 2014 02:24:36 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey, it&#39;s me again.</p><p>This time with realtime environment destruction.</p><p>Imagine you have a city... and you have an angry Gyrados or Godzilla or some other giant monster from a video game or movie series.</p><p>And that Zilla-like monster goes on a rampage. It shoots its Mega-death-beam. Buildings collapse. Yea. That kind of thing.</p><p>Well, I managed it in realtime. Here&#39;s a screeny:</p><p><span class="remote-thumbnail"><span class="json">{"name":"608360","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/e\/9e6c23b5243c92db1a6401f8766bf437.png","w":960,"h":540,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/e\/9e6c23b5243c92db1a6401f8766bf437"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/9/e/9e6c23b5243c92db1a6401f8766bf437-240.jpg" alt="608360" width="240" height="135" /></span></p><p>And another after I level the building:</p><p><span class="remote-thumbnail"><span class="json">{"name":"608361","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/d\/5d9a7aec2d665ae300ef0afc39d7c46e.png","w":960,"h":540,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/d\/5d9a7aec2d665ae300ef0afc39d7c46e"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/5/d/5d9a7aec2d665ae300ef0afc39d7c46e-240.jpg" alt="608361" width="240" height="135" /></span></p><p>What do you think? Why not <a href="http://commaexcess.com/file_download/34/hologine20140308.zip">try it</a>?</p><p>&#39;1&#39; shoots a beam where the mouse is. &#39;2&#39; shoots a beam as in the first screenshot. Left mouse button rotates, right zooms, and middle pans (when moving the mouse, of course).</p><p>Feedback appreciated!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erin Maus)</author>
		<pubDate>Sun, 09 Mar 2014 11:27:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Your program opened a window with no content and then closed. Here is what the error.txt file said :</p><div class="quote_container"><div class="title">error.txt said:</div><div class="quote"><p>
System.NullReferenceException: Object reference not set to an instance of an object.<br />   at CommaExcess.Hologine.Game.UnloadContent()<br />   at CommaExcess.Algae.Application.Dispose()<br />   at CommaExcess.Hologine.Program.Main()
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 09 Mar 2014 11:53:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What graphics card do you have? Does it support OpenGL 3? If so, are the drivers up to date?</p><p>I&#39;ll have to enable some debug stuff later and you can try it again, if you want.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erin Maus)</author>
		<pubDate>Sun, 09 Mar 2014 12:17:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My laptop uses an integrated ATI Radeon X1270 graphics card on a Gateway M1617 laptop. I can&#39;t get updated drivers because gateway doesn&#39;t offer them and nvidia doesn&#39;t provide laptop drivers.</p><p>What version of OpenGL does my laptop support? I don&#39;t know, and the last time I tried to run that opengl version viewer program it just crashed hard.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 09 Mar 2014 12:25:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/614006/997521#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>I can&#39;t get updated drivers because gateway doesn&#39;t offer them and nvidia doesn&#39;t provide laptop drivers.</p></div></div><p>Sure they do. But nvidia drivers don&#39;t support radeon gpus. AMD also provides drivers for laptops, but the latest drivers may not support your older radeon. AMD likes to drop older hw rather quickly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 09 Mar 2014 13:47:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Works on my pc. Really cool stuff!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jmasterx)</author>
		<pubDate>Sun, 09 Mar 2014 19:56:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So it&#39;s <a href="http://atariage.com/Lynx/screenshots/s_Rampage_1.png">Rampage</a> in 3-D?</p><p>That being said, great implementation and good luck on your future work with it! I&#39;m sure you can come up with some pretty cool story/plot ideas to take it from tech demo to true gaming experience.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sun, 09 Mar 2014 19:58:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I meant to say ATI, not Nvidia. And no, I can&#39;t use their drivers on this laptop. They have to be customized for it first by Gateway and Gateway is too lazy to offer updates on this laptop&#39;s graphics drivers anymore (at all to begin with).</p><p>Edit - OpenGl extension viewer says I only have OpenGL 2 installed. :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 09 Mar 2014 23:54:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Really REALLY nice, but on my system it ran quite sloppy at a 09-15 FPS range, was it expected?</p><p>Specs:</p><p> - MS Windows7 SP1 64bit<br /> - Intel Core i3-2330M (on a laptop) processor @2.20GHz<br /> - 4GB RAM<br /> - Intel HD graphics 3000 integrated GPU</p><p>BTW is there some sort of procedura debris &quot;formation&quot;? Or are all the same? due to the sloppiness I couldn&#39;t quite see it right.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Tue, 11 Mar 2014 17:53:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks everyone!</p><p>pkrcel, the debris is procedural. As far as the sloppy FPS, it&#39;s because I hadn&#39;t optimized it. I was making upwards of ~1000 small draw calls for the shards. Since I posted it, I&#39;ve optimized it quite a bit, and now all the debris is drawn in one call. You can try <a href="http://commaexcess.com/file_download/35/hologine20140311.zip">this version</a>, if you want, and see if you have significant FPS gains.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erin Maus)</author>
		<pubDate>Tue, 11 Mar 2014 20:50:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What language are you programming it in?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Tue, 11 Mar 2014 23:03:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Judging from Edgar&#39;s crash report (and the spine-csharp.dll): C#. </p><p>Very nice, the second version runs much smoother than the first.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 11 Mar 2014 23:34:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/614006/997606#target">Chris Katko</a> said:</div><div class="quote"><p>What language are you programming it in?</p></div></div><p>

As Vanneto deduced, it&#39;s written in C#. I use a lightweight P/Invoke wrapper around Allegro 5 to create the display and handle input. Other than that, it&#39;s in C#.</p><p>The other bits and bobs include my graphics framework, which is based on modern graphics programming and is API agnostic (heck, I&#39;ve adopted a few DirectXisms from working with XNA in the past). I don&#39;t support low level operations, just the basic &quot;Here&#39;s a mesh, render it using this material to this render target.&quot;</p><p>Similarly, I use a custom game-engine-thing for the actual grunt of the non-graphics work. It&#39;s only for personal use, but it speeds up my game development quite a bit, when I can just pull code from other projects.</p><p>Vanneto, I&#39;m glad to hear it runs better. I&#39;ve made a few more changes since then. Just now, I finished optimized my loading code and get 60 FPS almost right off the bat during loading. Before, there was a flaw and loading would drop the FPS even in the loading screen... and thus cause delayed input, etc.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erin Maus)</author>
		<pubDate>Wed, 12 Mar 2014 02:17:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The new version runs SLIGHTLY smoother (~39FPS peak, 17PFS when all debris) but I also am on a different machine:</p><p>Specs:<br /> - MS Windows 7-SP1 64 bit<br /> - Intel Core i7-2670QM (a laptop...again <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> )<br /> - 4GB RAM<br /> - NVIDIA Geforce 610M 2GB </p><p>I get a minimum of 12 FPSes with the integrated Intel HD3000 GPU, for the record...which is still a bit sloppy but more manageable than the previous 9 FPS.</p><p>ANYWAY I&#39;ve seen that the debris are procedura but they seem cut out of the same shapes/volumes...well in any case it is really REALLY neat, props for this work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Wed, 12 Mar 2014 02:24:36 +0000</pubDate>
	</item>
</rss>
