<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Draw bitmap as trapezoid</title>
		<link>http://www.allegro.cc/forums/view/613323</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 03 Oct 2013 17:44:36 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m trying to draw a non-rotated bitmap as a trapezoid, where the top and bottom have different sizes.</p><p>I currently do this by drawing it line by line, scaling each row using linear interpolation, but it&#39;s a bit slow with larger bitmaps.</p><p>Is there some way I can do it more efficiently using allegro 5.0.10? Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Mon, 30 Sep 2013 22:21:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You could simply &quot;tilt&quot; it as a 3D quad, A4 would probably do it fast enough.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Mon, 30 Sep 2013 22:22:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>How exactly would I do that? I&#39;m not using OpenGL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Mon, 30 Sep 2013 22:40:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m trying to find a ten year old example hidden somewhere in this terabyte drive, please stand by.</p><p>[EDIT]</p><p>Found it (and had to tweak it a bit), it&#39;s in the paperclip along with an image file.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Mon, 30 Sep 2013 22:54:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I just tried it and it works nicely, but I&#39;m using 5.0.10, not 4. Is there a way I can use the triangle3D function in 5?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Tue, 01 Oct 2013 00:14:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>al_draw_prim lets you draw whatever shape you want by providing verticies and a texture. So you could map your texture onto  4 verticies where the 2 top ones go inward on the x axis to form a trapezoid.</p><p><a href="https://www.allegro.cc/manual/5/al_draw_prim">https://www.allegro.cc/manual/5/al_draw_prim</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jmasterx)</author>
		<pubDate>Tue, 01 Oct 2013 00:56:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Holy carp!  I read the original post as saying &quot;Is there some way I can do it more efficiently <b>other than</b> using allegro 5.0.10?&quot;
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 01 Oct 2013 01:44:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can&#39;t get trapezoids like that using 2D coordinates only. <span class="source-code"><a href="http://www.allegro.cc/manual/al_draw_prim"><span class="a">al_draw_prim</span></a></span> will work, but 5.0.10 does not have a good mechanism for the necessary perspective transformation... although maybe sticking a perspective transformation into <span class="source-code"><a href="http://www.allegro.cc/manual/al_use_transform"><span class="a">al_use_transform</span></a></span> will work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 01 Oct 2013 02:29:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Come to think of it, he didn&#39;t specify what the trapezoid dimensions should be.  Just rotating a quad would involve trigonometry to get the outside edge sizes at least.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 01 Oct 2013 02:35:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I programmed my own 3d coordinates that get converted to 2d coords to get the 4 points.</p><p>If the function lets me draw a shape in 3d I can reprogram it taking advantage of that, if it&#39;s 2D I can still draw it using my points and a trick to keep proper perspective but it won&#39;t be as efficient.</p><p>I&#39;m trying <span class="source-code"><a href="http://www.allegro.cc/manual/al_draw_prim"><span class="a">al_draw_prim</span></a></span>, but I&#39;m having a bit of trouble getting it to render anything
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Tue, 01 Oct 2013 02:51:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can&#39;t get it to work either. <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 01 Oct 2013 03:19:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried for a bit, and I can&#39;t get it to work with 5.0.10 in pure Allegro. Works like a charm in 5.1 though. I&#39;d either upgrade, or hack it up using OpenGL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 01 Oct 2013 04:34:41 +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/613323/990762#target">SiegeLord</a> said:</div><div class="quote"><p> Works like a charm in 5.1 though.</p></div></div><p>Please post the code, I&#39;m using 5.1.7.  I just stuck the example in the docs in, and tried altering the z if there was a viewing frustum I didn&#39;t know about and couldn&#39;t get it to work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 01 Oct 2013 05:56:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span><span class="p">#include &lt;allegro5/allegro.h&gt;</span>
<span class="number">  2</span><span class="p">#include &lt;allegro5/allegro_primitives.h&gt;</span>
<span class="number">  3</span>
<span class="number">  4</span><span class="k1">int</span> main<span class="k2">(</span><span class="k2">)</span>
<span class="number">  5</span><span class="k2">{</span>
<span class="number">  6</span>  <a href="http://www.allegro.cc/manual/al_init"><span class="a">al_init</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  7</span>  <a href="http://www.allegro.cc/manual/al_init_primitives_addon"><span class="a">al_init_primitives_addon</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  8</span>  <a href="http://www.allegro.cc/manual/ALLEGRO_DISPLAY"><span class="a">ALLEGRO_DISPLAY</span></a><span class="k3">*</span> d <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_create_display"><span class="a">al_create_display</span></a><span class="k2">(</span><span class="n">800</span>, <span class="n">600</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  9</span>  
<span class="number"> 10</span>  <a href="http://www.allegro.cc/manual/ALLEGRO_VERTEX"><span class="a">ALLEGRO_VERTEX</span></a> vtx<span class="k2">[</span><span class="n">4</span><span class="k2">]</span><span class="k2">;</span>
<span class="number"> 11</span>  vtx<span class="k2">[</span><span class="n">0</span><span class="k2">]</span>.x <span class="k3">=</span> <span class="k3">-</span><span class="n">400</span><span class="k2">;</span>
<span class="number"> 12</span>  vtx<span class="k2">[</span><span class="n">0</span><span class="k2">]</span>.y <span class="k3">=</span> <span class="k3">-</span><span class="n">200</span><span class="k2">;</span>
<span class="number"> 13</span>  vtx<span class="k2">[</span><span class="n">0</span><span class="k2">]</span>.z <span class="k3">=</span> <span class="k3">-</span><span class="n">400</span><span class="k2">;</span>
<span class="number"> 14</span>  vtx<span class="k2">[</span><span class="n">0</span><span class="k2">]</span>.color <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_map_rgb_f"><span class="a">al_map_rgb_f</span></a><span class="k2">(</span><span class="n">0</span>, <span class="n">0</span>, <span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 15</span>
<span class="number"> 16</span>  vtx<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.x <span class="k3">=</span> <span class="k3">-</span><span class="n">400</span><span class="k2">;</span>
<span class="number"> 17</span>  vtx<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.y <span class="k3">=</span> <span class="n">200</span><span class="k2">;</span>
<span class="number"> 18</span>  vtx<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.z <span class="k3">=</span> <span class="k3">-</span><span class="n">800</span><span class="k2">;</span>
<span class="number"> 19</span>  vtx<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.color <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_map_rgb_f"><span class="a">al_map_rgb_f</span></a><span class="k2">(</span><span class="n">0</span>, <span class="n">1</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 20</span>
<span class="number"> 21</span>  vtx<span class="k2">[</span><span class="n">2</span><span class="k2">]</span>.x <span class="k3">=</span> <span class="n">400</span><span class="k2">;</span>
<span class="number"> 22</span>  vtx<span class="k2">[</span><span class="n">2</span><span class="k2">]</span>.y <span class="k3">=</span> <span class="n">200</span><span class="k2">;</span>
<span class="number"> 23</span>  vtx<span class="k2">[</span><span class="n">2</span><span class="k2">]</span>.z <span class="k3">=</span> <span class="k3">-</span><span class="n">800</span><span class="k2">;</span>
<span class="number"> 24</span>  vtx<span class="k2">[</span><span class="n">2</span><span class="k2">]</span>.color <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_map_rgb_f"><span class="a">al_map_rgb_f</span></a><span class="k2">(</span><span class="n">1</span>, <span class="n">0</span>, <span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 25</span>
<span class="number"> 26</span>  vtx<span class="k2">[</span><span class="n">3</span><span class="k2">]</span>.x <span class="k3">=</span> <span class="n">400</span><span class="k2">;</span>
<span class="number"> 27</span>  vtx<span class="k2">[</span><span class="n">3</span><span class="k2">]</span>.y <span class="k3">=</span> <span class="k3">-</span><span class="n">200</span><span class="k2">;</span>
<span class="number"> 28</span>  vtx<span class="k2">[</span><span class="n">3</span><span class="k2">]</span>.z <span class="k3">=</span> <span class="k3">-</span><span class="n">400</span><span class="k2">;</span>
<span class="number"> 29</span>  vtx<span class="k2">[</span><span class="n">3</span><span class="k2">]</span>.color <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_map_rgb_f"><span class="a">al_map_rgb_f</span></a><span class="k2">(</span><span class="n">1</span>, <span class="n">1</span>, <span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 30</span>  
<span class="number"> 31</span>  <a href="http://www.allegro.cc/manual/ALLEGRO_TRANSFORM"><span class="a">ALLEGRO_TRANSFORM</span></a> t<span class="k2">;</span>
<span class="number"> 32</span>  <a href="http://www.allegro.cc/manual/al_identity_transform"><span class="a">al_identity_transform</span></a><span class="k2">(</span><span class="k3">&amp;</span>t<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 33</span>  al_perspective_transform<span class="k2">(</span><span class="k3">&amp;</span>t, <span class="k3">-</span><span class="n">400</span>, <span class="k3">-</span><span class="n">300</span>, <span class="n">400</span>, <span class="n">400</span>, <span class="n">300</span>, <span class="n">10000</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 34</span>  al_set_projection_transform<span class="k2">(</span>d, <span class="k3">&amp;</span>t<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 35</span>  
<span class="number"> 36</span>  <a href="http://www.allegro.cc/manual/al_clear_to_color"><span class="a">al_clear_to_color</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/al_map_rgb_f"><span class="a">al_map_rgb_f</span></a><span class="k2">(</span><span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 37</span>  <a href="http://www.allegro.cc/manual/al_draw_prim"><span class="a">al_draw_prim</span></a><span class="k2">(</span>vtx, NULL, NULL, <span class="n">0</span>, <span class="n">4</span>, ALLEGRO_PRIM_TRIANGLE_FAN<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 38</span>  <a href="http://www.allegro.cc/manual/al_flip_display"><span class="a">al_flip_display</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 39</span>  <a href="http://www.allegro.cc/manual/al_rest"><span class="a">al_rest</span></a><span class="k2">(</span><span class="n">1</span>.<span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 40</span><span class="k2">}</span>
</div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 01 Oct 2013 07:59:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, that worked, I didn&#39;t have the transforms and stuff.  Thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 01 Oct 2013 08:24:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Works beautifully for me as well. The thing is I&#39;m using features in 5.0.10 that aren&#39;t available in 5.1.7.</p><p>Is it possible to take the primitives addon from 5.1.7 and use it with 5.0.10?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Tue, 01 Oct 2013 08:43:23 +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/613323/990772#target">ph03nix</a> said:</div><div class="quote"><p> The thing is I&#39;m using features in 5.0.10 that aren&#39;t available in 5.1.7</p></div></div><p>I&#39;m not sure what you mean by this... what features would those be? Is 5.1.7 behind 5.0.10 somehow? EDIT: Oh I guess it&#39;s possible, 5.1.7 is from May and 5.0.10 is from June...</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> Is it possible to take the primitives addon from 5.1.7 and use it with 5.0.10?</p></div></div><p>It&#39;s not the primitives addon that&#39;s at &quot;fault&quot;, it&#39;s the core. The function that you need (<span class="source-code">al_set_projection_transform</span>) is part of the core.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 01 Oct 2013 09:05:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Whoops, I thought some of the blend modes weren&#39;t available in the 5.1 branch for some reason... <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>Anyway, is there a chance al_set_projection_transform and the rest will be added to the stable branch any time in the near future?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Tue, 01 Oct 2013 09:09:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s not impossible (quite a few of the 5.1 features were backported to 5.0) but it seems unlikely... but who knows. It&#39;s really up to Peter Wang who does the backporting.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 01 Oct 2013 09:11:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Does al_draw_prim do nothing in 5.0.10? Could it be possible that it requires some type of transformation to make it visible on screen?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ph03nix)</author>
		<pubDate>Thu, 03 Oct 2013 04:16:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As I said before, this has nothing to do with the primitives addon and everything to do with Allegro&#39;s core. Maybe it&#39;s possible to hack something up using the transformation utilities available in 5.0.10... but I wouldn&#39;t bet on it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 03 Oct 2013 06:52:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In other words, if you used your own 4x4 matrices, and used them to mathematically transform the vertices, it&#39;d work?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 03 Oct 2013 09:44:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>5.0.10 has an unchangeable orthographic transform for the projection matrix labeled P, and a user customizable transformation T. The vertices are transformed by a product of P and T. The goal is to create a perspective projection matrix J by modifying T. So, it&#39;s just a matter of solving this matrix equation, J = T P for T. I don&#39;t feel like writing up a 4x4 matrix inversion necessary to do that... the reason why we add features to 5.1 at all is to make this stuff easier... finding workabouts for this in 5.0 kind of defeats the point, eh?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 03 Oct 2013 10:13:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d like to know how and why stuff works from first principles, rather than rules of thumb.  It was almost a rhetorical question.</p><p>[EDIT]</p><p>It makes no difference if you come up with an algorithm to solve the answer to life, the universe, and everything if nobody knows about it, e.g. isn&#39;t covered in the documentation.  I tried the example in the docs with copy and paste, and it didn&#39;t work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 03 Oct 2013 10:16:23 +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/613323/990936#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p> I&#39;d like to know how and why stuff works from first principles, rather than rules of thumb.</p></div></div><p>There are no rules of thumb in my post, just simple linear algebra.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I tried the example in the docs with copy and paste, and it didn&#39;t work.
</p></div></div><p>Which example is that? <span class="source-code"><a href="http://www.allegro.cc/manual/al_draw_prim"><span class="a">al_draw_prim</span></a></span> one works just fine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 03 Oct 2013 10:32:53 +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/613323/990937#target">SiegeLord</a> said:</div><div class="quote"><p> Which example is that? al_draw_prim one works just fine.</p></div></div><p>The example I&#39;m talking about is on the al_draw_prim page.
</p><div class="source-code snippet"><div class="inner"><pre><span class="c">//For example to draw a textured triangle you could use:</span>

<a href="http://www.allegro.cc/manual/ALLEGRO_VERTEX"><span class="a">ALLEGRO_VERTEX</span></a> v<span class="k2">[</span><span class="k2">]</span> <span class="k3">=</span> <span class="k2">{</span>
    <span class="k2">{</span>.x <span class="k3">=</span> <span class="n">128</span>, .y <span class="k3">=</span> <span class="n">0</span>, .z <span class="k3">=</span> <span class="n">0</span>, .u <span class="k3">=</span> <span class="n">128</span>, .v <span class="k3">=</span> <span class="n">0</span><span class="k2">}</span>,
    <span class="k2">{</span>.x <span class="k3">=</span> <span class="n">0</span>, .y <span class="k3">=</span> <span class="n">256</span>, .z <span class="k3">=</span> <span class="n">0</span>, .u <span class="k3">=</span> <span class="n">0</span>, .v <span class="k3">=</span> <span class="n">256</span><span class="k2">}</span>,
    <span class="k2">{</span>.x <span class="k3">=</span> <span class="n">256</span>, .y <span class="k3">=</span> <span class="n">256</span>, .z <span class="k3">=</span> <span class="n">0</span>, .u <span class="k3">=</span> <span class="n">256</span>, .v <span class="k3">=</span> <span class="n">256</span><span class="k2">}</span><span class="k2">}</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_draw_prim"><span class="a">al_draw_prim</span></a><span class="k2">(</span>v, NULL, texture, <span class="n">0</span>, <span class="n">3</span>, ALLEGRO_PRIM_TRIANGLE_LIST<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
it doesn&#39;t say anything about any dependencies on transformations etc. </p><p>[EDIT]</p><p>No doubt these shortcomings will be hammered out in time, it&#39;s just that the developers already know so much about how to use A5 that they forget to mention lots of things in the docs etc.  I&#39;ll stick to OpenGL, since there&#39;s so many gigabytes of info available already, not counting the other advantages.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 03 Oct 2013 10:36:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There is no special dependence of that code on transformations beyond what is common to all drawing code. You&#39;d get no farther in OpenGL if you didn&#39;t set the proper GL_PROJECTION matrix either.</p><p>Anyway, I already posted the <a href="https://www.allegro.cc/forums/thread/613323/990769#target">solution</a>... so I&#39;m not sure what the argument is anymore.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 03 Oct 2013 10:50:49 +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/613323/990939#target">SiegeLord</a> said:</div><div class="quote"><p> You&#39;d get no farther in OpenGL if you didn&#39;t set the proper GL_PROJECTION matrix either. </p></div></div><p>But there are thousands of examples to show you the way, from those ancient NeHe tutorials to the OpenGL docs at opengl.org.  You guys are creating something new from scratch as far as I can see.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 03 Oct 2013 10:53:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t think you&#39;d have an easy time finding the solution for OpenGL either. It&#39;s just a very specific task - nothing that should be in the documentation. But once you know that the problem can be solved with a perspective transformation and know the transformation you want to use, both OpenGL and Allegro should have enough documentation to implement it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 03 Oct 2013 17:44:36 +0000</pubDate>
	</item>
</rss>
