<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Esenthel Forum - All Forums]]></title>
		<link>http://www.esenthel.com/community/</link>
		<description><![CDATA[Esenthel Forum - http://www.esenthel.com/community]]></description>
		<pubDate>Sun, 05 Feb 2012 21:47:34 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[particles - vertical billboard]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4832</link>
			<pubDate>Sun, 05 Feb 2012 13:55:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4832</guid>
			<description><![CDATA[Actually I would really recommend to implement possibility to limit axis of rotating for particle billboards. Add at least vertical billboard rotating only around vertical axis (usable for torches and candles) as I suggested in my example:<br />
<br />
<a href="http://www.esenthel.com/community/showthread.php?tid=4700" target="_blank">http://www.esenthel.com/community/showth...p?tid=4700</a><br />
<br />
Why? It is performance booster for free. I can aeasily achieve similar result with 1 particle instead of 40-60. For small flames like candles and torches it really makes sense, because in typical room, I have dozens of them. Big flame is indeed something different.<br />
<br />
If you want to see it in action, unity 3D has it implemented. Nothing really important, but anyway it helps with scene optimizations.]]></description>
			<content:encoded><![CDATA[Actually I would really recommend to implement possibility to limit axis of rotating for particle billboards. Add at least vertical billboard rotating only around vertical axis (usable for torches and candles) as I suggested in my example:<br />
<br />
<a href="http://www.esenthel.com/community/showthread.php?tid=4700" target="_blank">http://www.esenthel.com/community/showth...p?tid=4700</a><br />
<br />
Why? It is performance booster for free. I can aeasily achieve similar result with 1 particle instead of 40-60. For small flames like candles and torches it really makes sense, because in typical room, I have dozens of them. Big flame is indeed something different.<br />
<br />
If you want to see it in action, unity 3D has it implemented. Nothing really important, but anyway it helps with scene optimizations.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Eclipse SDK]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4831</link>
			<pubDate>Sun, 05 Feb 2012 01:43:43 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4831</guid>
			<description><![CDATA[even so esenthel doesnt support Eclipse C++ SDK<br />
im having issue regarding a link tool in it while building the engine<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>LINK : fatal error LNK1561: entry point must be defined</code></div></div>
what doe that mean?]]></description>
			<content:encoded><![CDATA[even so esenthel doesnt support Eclipse C++ SDK<br />
im having issue regarding a link tool in it while building the engine<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>LINK : fatal error LNK1561: entry point must be defined</code></div></div>
what doe that mean?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Error LNK2005]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4830</link>
			<pubDate>Sat, 04 Feb 2012 23:08:11 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4830</guid>
			<description><![CDATA[I'm getting this error when I try to compile my project, I tried to clean and rebuild and didn't work<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>1&gt;c:&#92;program files (x86)&#92;esenthelenginesdk&#92;tutorials&#92;auto.cpp(25): warning C4717: 'Auto::Auto' : recursive on all control paths, function will cause runtime stack overflow<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Chr&gt; Chrs" (?Chrs@@3U?&#36;ObjMemx@UChr@Game@EE@@@Game@EE@@A) already defined in Auto.obj<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Item&gt; Items" (?Items@@3U?&#36;ObjMemx@UItem@Game@EE@@@Game@EE@@A) already defined in Auto.obj<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Static&gt; Statics" (?Statics@@3U?&#36;ObjMemx@UStatic@Game@EE@@@Game@EE@@A) already defined in Auto.obj</code></div></div>
]]></description>
			<content:encoded><![CDATA[I'm getting this error when I try to compile my project, I tried to clean and rebuild and didn't work<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>1&gt;c:&#92;program files (x86)&#92;esenthelenginesdk&#92;tutorials&#92;auto.cpp(25): warning C4717: 'Auto::Auto' : recursive on all control paths, function will cause runtime stack overflow<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Chr&gt; Chrs" (?Chrs@@3U?&#36;ObjMemx@UChr@Game@EE@@@Game@EE@@A) already defined in Auto.obj<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Item&gt; Items" (?Items@@3U?&#36;ObjMemx@UItem@Game@EE@@@Game@EE@@A) already defined in Auto.obj<br />
1&gt;Jueguito.obj : error LNK2005: "struct EE::Game::ObjMemx&lt;struct EE::Game::Static&gt; Statics" (?Statics@@3U?&#36;ObjMemx@UStatic@Game@EE@@@Game@EE@@A) already defined in Auto.obj</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[regenerate lods in model editor after changing  a skeleton]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4829</link>
			<pubDate>Sat, 04 Feb 2012 21:51:53 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4829</guid>
			<description><![CDATA[Almost went crazy today because of this. I made the lods of my game avatar months ago, but recently I improved my animations and changed the skeleton a bit because of that.<br />
<br />
But parts of the animation were not visible and I couldn't figure out why. In the end I found the problem, with help from some other EE users. So lods are not updated when you change the skeleton, and that might cause problems.<br />
<br />
I wonder if it would be a good idea to regenerate them automatically after changing the skeleton? I won't make that same mistake twice, but I can imagine sooner or later someone else is banging his head against the wall because of this.]]></description>
			<content:encoded><![CDATA[Almost went crazy today because of this. I made the lods of my game avatar months ago, but recently I improved my animations and changed the skeleton a bit because of that.<br />
<br />
But parts of the animation were not visible and I couldn't figure out why. In the end I found the problem, with help from some other EE users. So lods are not updated when you change the skeleton, and that might cause problems.<br />
<br />
I wonder if it would be a good idea to regenerate them automatically after changing the skeleton? I won't make that same mistake twice, but I can imagine sooner or later someone else is banging his head against the wall because of this.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[AutoUpdater]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4828</link>
			<pubDate>Sat, 04 Feb 2012 19:19:05 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4828</guid>
			<description><![CDATA[can ive updated the SDK today it said <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>cant write to Tool/AutoUpdate.exe</code></div></div>
]]></description>
			<content:encoded><![CDATA[can ive updated the SDK today it said <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>cant write to Tool/AutoUpdate.exe</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Heightmap normal aligning]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4827</link>
			<pubDate>Sat, 04 Feb 2012 19:07:08 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4827</guid>
			<description><![CDATA[When I use this setting, for example grass is fyling above terrain. Without it is placed correctly. <br />
I was trying to move indetity matrix, but no effect. Bug?]]></description>
			<content:encoded><![CDATA[When I use this setting, for example grass is fyling above terrain. Without it is placed correctly. <br />
I was trying to move indetity matrix, but no effect. Bug?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Custom config saving/loading]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4826</link>
			<pubDate>Sat, 04 Feb 2012 14:09:46 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4826</guid>
			<description><![CDATA[Hello,<br />
<br />
Everyone know (or not <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="wink" title="wink" /> ) that Esenthel ConfigSave() and ConfigLoad() are saving/loading only predefined settings/variables to the file. Users had to create second, custom config file to save their own data.<br />
<br />
But there is very simple method, how to save/load custom data with standard Esenthel config in one file.<br />
For saving, we just have to call standard Esenthel ConfigSave() method, then open config as FileText and write own data. Reading config is similiar.<br />
<br />
Here's the sample code<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//somewhere&nbsp;in&nbsp;game&nbsp;code&nbsp;our&nbsp;sample&nbsp;variables<br /></span><span style="color: #0000BB">Flt&nbsp;someFloatVariable</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">Int&nbsp;customIntVariable</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//somewhere&nbsp;in&nbsp;Player&nbsp;class,&nbsp;name&nbsp;example<br /></span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//our&nbsp;saving&nbsp;method<br /></span><span style="color: #0000BB">Bool&nbsp;CustomSave</span><span style="color: #007700">(</span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//just&nbsp;prepare&nbsp;data&nbsp;for&nbsp;saving<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Str&nbsp;player_name</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">Players</span><span style="color: #007700">.</span><span style="color: #0000BB">elms</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Players</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">].</span><span style="color: #0000BB">name</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"anonymous"</span><span style="color: #007700">;<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ConfigSave</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//standard&nbsp;Esenthel&nbsp;config-save&nbsp;method<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FileText&nbsp;f</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;FileText&nbsp;object<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">append</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//&nbsp;open&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;file<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">endLine</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//make&nbsp;some&nbsp;space&nbsp;between&nbsp;default&nbsp;and&nbsp;custom&nbsp;data<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">put&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"FltVar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">someFloatVariable</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//save&nbsp;float&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">put&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"SomeIntVar&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">customIntVariable</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//save&nbsp;int&nbsp;&nbsp;&nbsp;&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">putName</span><span style="color: #007700">(</span><span style="color: #DD0000">"PlayerName&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">player_name&nbsp;&nbsp;</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//save&nbsp;player&nbsp;name&nbsp;to&nbsp;config<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;success<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;fail<br /></span><span style="color: #007700">}<br /><br /></span><span style="color: #FF8000">//and&nbsp;loading<br /></span><span style="color: #0000BB">Bool&nbsp;CustomLoad</span><span style="color: #007700">(</span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//temporary&nbsp;variables<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Str&nbsp;player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"anonymous"</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//if&nbsp;player&nbsp;name&nbsp;can't&nbsp;be&nbsp;loaded,&nbsp;it&nbsp;will&nbsp;be&nbsp;'anonymous'<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ConfigLoad</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//Standard&nbsp;Esenthel&nbsp;config&nbsp;loading<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FileText&nbsp;f</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//&nbsp;if&nbsp;file&nbsp;opened&nbsp;successfully<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">level</span><span style="color: #007700">();)&nbsp;</span><span style="color: #FF8000">//&nbsp;process&nbsp;file&nbsp;within&nbsp;its&nbsp;level<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"FltVar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">someFloatVariable</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getReal</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"SomeIntVar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">customIntVariable</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getInt&nbsp;</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"PlayerName"&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">player_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getName</span><span style="color: #007700">();&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//some&nbsp;post-operations<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">Players</span><span style="color: #007700">.</span><span style="color: #0000BB">elms</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Players</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">].</span><span style="color: #0000BB">name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">player_name</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//set&nbsp;player&nbsp;name<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;success<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;failure<br /></span><span style="color: #007700">}&nbsp;<br /></span></code></div></div></div>
The int, float and player_name are just examples. You can put there your own config. You can find out more about writing/reading data reading the FileText.h header file. The comments say everithing <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="wink" title="wink" /><br />
<br />
Now instead of ConfigSave() and ConfigLoad() we use CustomSave() and CustomLoad(). Done <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="grin" title="grin" /><br />
<br />
Barthap]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Everyone know (or not <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="wink" title="wink" /> ) that Esenthel ConfigSave() and ConfigLoad() are saving/loading only predefined settings/variables to the file. Users had to create second, custom config file to save their own data.<br />
<br />
But there is very simple method, how to save/load custom data with standard Esenthel config in one file.<br />
For saving, we just have to call standard Esenthel ConfigSave() method, then open config as FileText and write own data. Reading config is similiar.<br />
<br />
Here's the sample code<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//somewhere&nbsp;in&nbsp;game&nbsp;code&nbsp;our&nbsp;sample&nbsp;variables<br /></span><span style="color: #0000BB">Flt&nbsp;someFloatVariable</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">Int&nbsp;customIntVariable</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//somewhere&nbsp;in&nbsp;Player&nbsp;class,&nbsp;name&nbsp;example<br /></span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//our&nbsp;saving&nbsp;method<br /></span><span style="color: #0000BB">Bool&nbsp;CustomSave</span><span style="color: #007700">(</span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//just&nbsp;prepare&nbsp;data&nbsp;for&nbsp;saving<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Str&nbsp;player_name</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">Players</span><span style="color: #007700">.</span><span style="color: #0000BB">elms</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Players</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">].</span><span style="color: #0000BB">name</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"anonymous"</span><span style="color: #007700">;<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ConfigSave</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//standard&nbsp;Esenthel&nbsp;config-save&nbsp;method<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FileText&nbsp;f</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;FileText&nbsp;object<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">append</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//&nbsp;open&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;file<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">endLine</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//make&nbsp;some&nbsp;space&nbsp;between&nbsp;default&nbsp;and&nbsp;custom&nbsp;data<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">put&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"FltVar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">someFloatVariable</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//save&nbsp;float&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">put&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"SomeIntVar&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">customIntVariable</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//save&nbsp;int&nbsp;&nbsp;&nbsp;&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">putName</span><span style="color: #007700">(</span><span style="color: #DD0000">"PlayerName&nbsp;&nbsp;&nbsp;=&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">player_name&nbsp;&nbsp;</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//save&nbsp;player&nbsp;name&nbsp;to&nbsp;config<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;success<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;fail<br /></span><span style="color: #007700">}<br /><br /></span><span style="color: #FF8000">//and&nbsp;loading<br /></span><span style="color: #0000BB">Bool&nbsp;CustomLoad</span><span style="color: #007700">(</span><span style="color: #0000BB">Str&nbsp;name</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//temporary&nbsp;variables<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Str&nbsp;player_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"anonymous"</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//if&nbsp;player&nbsp;name&nbsp;can't&nbsp;be&nbsp;loaded,&nbsp;it&nbsp;will&nbsp;be&nbsp;'anonymous'<br /><br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ConfigLoad</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//Standard&nbsp;Esenthel&nbsp;config&nbsp;loading<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FileText&nbsp;f</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//&nbsp;if&nbsp;file&nbsp;opened&nbsp;successfully<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(;</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">level</span><span style="color: #007700">();)&nbsp;</span><span style="color: #FF8000">//&nbsp;process&nbsp;file&nbsp;within&nbsp;its&nbsp;level<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"FltVar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">someFloatVariable</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getReal</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"SomeIntVar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">customIntVariable</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getInt&nbsp;</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">cur</span><span style="color: #007700">(</span><span style="color: #DD0000">"PlayerName"&nbsp;&nbsp;</span><span style="color: #007700">))</span><span style="color: #0000BB">player_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=</span><span style="color: #0000BB">f</span><span style="color: #007700">.</span><span style="color: #0000BB">getName</span><span style="color: #007700">();&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//some&nbsp;post-operations<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">Players</span><span style="color: #007700">.</span><span style="color: #0000BB">elms</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Players</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">].</span><span style="color: #0000BB">name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">player_name</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//set&nbsp;player&nbsp;name<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;success<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;return&nbsp;failure<br /></span><span style="color: #007700">}&nbsp;<br /></span></code></div></div></div>
The int, float and player_name are just examples. You can put there your own config. You can find out more about writing/reading data reading the FileText.h header file. The comments say everithing <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="wink" title="wink" /><br />
<br />
Now instead of ConfigSave() and ConfigLoad() we use CustomSave() and CustomLoad(). Done <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="grin" title="grin" /><br />
<br />
Barthap]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] D.viewrange() issue]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4825</link>
			<pubDate>Sat, 04 Feb 2012 05:45:09 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4825</guid>
			<description><![CDATA[I may have stumbled across a bug here.  The issue is I cannot change the viewrange when the Sun position is &lt; zero.  To duplicate, I have the following (in pseudocode) being called on every "Bool UpdateGame()" call:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>void TestViewRange()<br />
{<br />
&nbsp;&nbsp;'If Sun.pos.y &lt; 0 then do below:<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Display last setting for D.viewrange();<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Set D.viewrange(30);<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Display current setting for D.viewrange();<br />
}</code></div></div>
<br />
The effect is that something is resetting the D.viewrange() to 200, consistently.  This does not happen when Sun.pos.y is &gt; zero.  I thought it was something in my code but I've nothing that sets viewrange to 200 and also I've nothing that sets viewrange only when Sun.pos.y is &lt; zero.<br />
<br />
The result is like the following:<br />
<blockquote><cite>Quote:</cite>400<br />
30<br />
200<br />
30<br />
200<br />
30<br />
200</blockquote>
<br />
The starting value of 400 is the initial default value set for testing.]]></description>
			<content:encoded><![CDATA[I may have stumbled across a bug here.  The issue is I cannot change the viewrange when the Sun position is &lt; zero.  To duplicate, I have the following (in pseudocode) being called on every "Bool UpdateGame()" call:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>void TestViewRange()<br />
{<br />
&nbsp;&nbsp;'If Sun.pos.y &lt; 0 then do below:<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Display last setting for D.viewrange();<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Set D.viewrange(30);<br />
&nbsp;&nbsp;&nbsp;&nbsp;'Display current setting for D.viewrange();<br />
}</code></div></div>
<br />
The effect is that something is resetting the D.viewrange() to 200, consistently.  This does not happen when Sun.pos.y is &gt; zero.  I thought it was something in my code but I've nothing that sets viewrange to 200 and also I've nothing that sets viewrange only when Sun.pos.y is &lt; zero.<br />
<br />
The result is like the following:<br />
<blockquote><cite>Quote:</cite>400<br />
30<br />
200<br />
30<br />
200<br />
30<br />
200</blockquote>
<br />
The starting value of 400 is the initial default value set for testing.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Memory containers behavior]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4823</link>
			<pubDate>Thu, 02 Feb 2012 18:16:54 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4823</guid>
			<description><![CDATA[Hello, I was wondering if anybody knows what is the behavoir of the EE memory containers compared to STL in regards to allocations (otherwise I have to use STL to reduce memory allocations).<br />
<br />
For example if I do:<br />
<br />
Memb&lt;int&gt; list1;<br />
<br />
every frame:<br />
// clear the list and add elements<br />
list1.clear(); <br />
list1.New(20);<br />
...<br />
<br />
Imagine a typical situation where every frame you clear the list at the beginning of the frame and then keep adding elements again, is new fresh memory allocated again for each new element, or is it just re-using the memory from previously allocated elements until they dont exceed the previous capacity of elements reached?<br />
<br />
The function <br />
"Memb&amp; del  (); // remove all elements and free helper memory"<br />
seems to give a hint that calling clear() keeps the memory allocated sofar, but I'd like to get a confirmation about that...]]></description>
			<content:encoded><![CDATA[Hello, I was wondering if anybody knows what is the behavoir of the EE memory containers compared to STL in regards to allocations (otherwise I have to use STL to reduce memory allocations).<br />
<br />
For example if I do:<br />
<br />
Memb&lt;int&gt; list1;<br />
<br />
every frame:<br />
// clear the list and add elements<br />
list1.clear(); <br />
list1.New(20);<br />
...<br />
<br />
Imagine a typical situation where every frame you clear the list at the beginning of the frame and then keep adding elements again, is new fresh memory allocated again for each new element, or is it just re-using the memory from previously allocated elements until they dont exceed the previous capacity of elements reached?<br />
<br />
The function <br />
"Memb&amp; del  (); // remove all elements and free helper memory"<br />
seems to give a hint that calling clear() keeps the memory allocated sofar, but I'd like to get a confirmation about that...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Run Esenthel App without window]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4822</link>
			<pubDate>Thu, 02 Feb 2012 16:06:23 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4822</guid>
			<description><![CDATA[Do you know how to do this? Just like Mouse Extend tool works. I tried to play with window.h:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>HWND hWnd = (HWND)App.hwnd();<br />
ShowWindow( hWnd, SW_HIDE );</code></div></div>
<br />
but window shows for a while (during InitPre function I think (just loading engine.pak)) and then disappear. <br />
<br />
Can I also create applications using EE without need of engine.pak?]]></description>
			<content:encoded><![CDATA[Do you know how to do this? Just like Mouse Extend tool works. I tried to play with window.h:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>HWND hWnd = (HWND)App.hwnd();<br />
ShowWindow( hWnd, SW_HIDE );</code></div></div>
<br />
but window shows for a while (during InitPre function I think (just loading engine.pak)) and then disappear. <br />
<br />
Can I also create applications using EE without need of engine.pak?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Animated 2D in 3D space]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4821</link>
			<pubDate>Thu, 02 Feb 2012 13:24:04 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4821</guid>
			<description><![CDATA[Hi,<br />
<br />
I'm about to start working on a project that is a 3D side scroller. <br />
The gameplay is bit similar as this game: <a href="http://www.youtube.com/watch?v=0jHu4GNYwwQ" target="_blank">http://www.youtube.com/watch?v=0jHu4GNYwwQ</a><br />
<br />
But I have some questions before I start. So if you can see on the video, the game uses 2D animated sprites as characters/objects etc. (except the environment).<br />
<br />
Now I like to do the same, because i'm are not good at animating characters in 3D. So i though il do the animations in 2D, but is this possible?<br />
Because what i see in the documents is that its not really possible, only in the GUI.<br />
<br />
<br />
Thank you,]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I'm about to start working on a project that is a 3D side scroller. <br />
The gameplay is bit similar as this game: <a href="http://www.youtube.com/watch?v=0jHu4GNYwwQ" target="_blank">http://www.youtube.com/watch?v=0jHu4GNYwwQ</a><br />
<br />
But I have some questions before I start. So if you can see on the video, the game uses 2D animated sprites as characters/objects etc. (except the environment).<br />
<br />
Now I like to do the same, because i'm are not good at animating characters in 3D. So i though il do the animations in 2D, but is this possible?<br />
Because what i see in the documents is that its not really possible, only in the GUI.<br />
<br />
<br />
Thank you,]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Stop rendering the terrain]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4820</link>
			<pubDate>Thu, 02 Feb 2012 12:34:29 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4820</guid>
			<description><![CDATA[Is there a way to not render the terrain momentarily?  I'm looking to disable the terrain when needed.<br />
<br />
Thanks.]]></description>
			<content:encoded><![CDATA[Is there a way to not render the terrain momentarily?  I'm looking to disable the terrain when needed.<br />
<br />
Thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] LightPoint bug?]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4818</link>
			<pubDate>Thu, 02 Feb 2012 01:04:59 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4818</guid>
			<description><![CDATA[So, I've been fiddling with this since last night and I just cannot understand what is going on.<br />
<br />
I place a simple LightPoint in the editor.  In-game at day time, the light stays on as expected.  At night time, the light turns off and only becomes lit up on certain angles of the camera.  I imagine this could be a matrix issue, but nothing has been done to the light code.  Is this a bug?]]></description>
			<content:encoded><![CDATA[So, I've been fiddling with this since last night and I just cannot understand what is going on.<br />
<br />
I place a simple LightPoint in the editor.  In-game at day time, the light stays on as expected.  At night time, the light turns off and only becomes lit up on certain angles of the camera.  I imagine this could be a matrix issue, but nothing has been done to the light code.  Is this a bug?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Draw Distance Malfunction + Terrain View Distance]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4817</link>
			<pubDate>Wed, 01 Feb 2012 20:26:00 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4817</guid>
			<description><![CDATA[What we're trying to do is add a slider that controls draw distance but having no luck. So far it only seems to increase the horizon distance but the draw distance of terrain and objects stays at a constant past a very conservative amount (i would estimate 1km). <br />
<br />
What we really want to have are two separate sliders, one for object draw distance (characters, buildings, etc) and one for terrain only draw distance only. This will help create the immersion of extremely large areas by allowing the user to see mountains in the distance, canyons and so on without the need to render every character or so on it's surface.<br />
<br />
So I guess my two questions are: How do we correct the issue with he current view distance not working and also how would we add a terrain-only distance slider?]]></description>
			<content:encoded><![CDATA[What we're trying to do is add a slider that controls draw distance but having no luck. So far it only seems to increase the horizon distance but the draw distance of terrain and objects stays at a constant past a very conservative amount (i would estimate 1km). <br />
<br />
What we really want to have are two separate sliders, one for object draw distance (characters, buildings, etc) and one for terrain only draw distance only. This will help create the immersion of extremely large areas by allowing the user to see mountains in the distance, canyons and so on without the need to render every character or so on it's surface.<br />
<br />
So I guess my two questions are: How do we correct the issue with he current view distance not working and also how would we add a terrain-only distance slider?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bug reports compiling on mac]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4816</link>
			<pubDate>Wed, 01 Feb 2012 20:11:02 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4816</guid>
			<description><![CDATA[H'lo!<br />
<br />
I just upgraded to Xcode 4, after learning that the project settings files were now updated to use this. However, in compiling some of the tutorials, I run into problems:<br />
<br />
<span style="font-weight: bold;">01 - Animation.cpp</span><br />
This seems to run okay (although the mouse vanishes). When I try to quit the tutorial by hitting escape, the application does not seem to terminate properly.<br />
<br />
GDB produces the following output:<br />
<br />
<blockquote><cite>Quote:</cite>There is absolutely no warranty for GDB.  Type "show warranty" for details.<br />
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000<br />
warning: Unable to read symbols for @executable_path/../Library/Frameworks/Cg.framework/Cg (file not found).<br />
warning: Unable to read symbols from "Cg" (not yet mapped into memory).<br />
[Switching to process 376 thread 0x0]<br />
Tutorials(376,0x7fff7769a960) malloc: *** error for object 0x400000001: pointer being freed was not allocated<br />
*** set a breakpoint in malloc_error_break to debug<br />
sharedlibrary apply-load-rules all<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(guard.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/guard.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_personality.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_personality.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_terminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_terminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_term_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_term_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(vterminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/vterminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_exception.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_exception.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(tinfo.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/tinfo.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(del_op.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/del_op.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_type.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_type.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_globals.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_globals.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2-fde-darwin.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2-fde-darwin.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_catch.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_catch.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_throw.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_throw.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_alloc.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_alloc.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_unex_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_unex_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(cp-demangle.o)" - no debug information available for "cp-demangle.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(pure.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/pure.cc".</blockquote>
<br />
and the stack trace:<br />
<blockquote><cite>Quote:</cite>Thread 1, Queue : com.apple.main-thread<br />
#0	0x00007fff8f3dece2 in __pthread_kill ()<br />
#1	0x00007fff8fd9b7d2 in pthread_kill ()<br />
#2	0x00007fff8fd8ca7a in abort ()<br />
#3	0x00007fff8fdeb84c in free ()<br />
#4	0x00000001000cb08f in EE::Free(void*&amp;) ()<br />
#5	0x0000000100002875 in EE::OrientP*&amp; EE::Free&lt;EE::OrientP&gt;(EE::OrientP*&amp;) at /Applications/EsenthelEngineSDK/Installation/EsenthelEngine/Memory/Memory.h:81<br />
#6	0x0000000100002820 in EE::Mems&lt;EE::OrientP&gt;::clear() ()<br />
#7	0x00000001000027d5 in EE::Mems&lt;EE::OrientP&gt;::del() ()<br />
#8	0x00000001000027b5 in EE::Mems&lt;EE::OrientP&gt;::~Mems() ()<br />
#9	0x0000000100002675 in EE::Mems&lt;EE::OrientP&gt;::~Mems() ()<br />
#10	0x00000001000025ff in EE::CSkeleton::~CSkeleton() ()<br />
#11	0x0000000100002035 in EE::CSkeleton::~CSkeleton() ()<br />
#12	0x00007fff8fd8c7c8 in __cxa_finalize ()<br />
#13	0x00007fff8fd8c652 in exit ()<br />
#14	0x00007fff8a252aca in -[NSApplication terminate:] ()<br />
#15	0x00000001001366c8 in -[MyApplication terminate:] ()<br />
#16	0x0000000100137575 in -[MyOpenGLView animationTimer:] ()<br />
#17	0x00007fff8bd5f014 in __NSFireTimer ()<br />
#18	0x00007fff92aa8f84 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()<br />
#19	0x00007fff92aa8ad6 in __CFRunLoopDoTimer ()<br />
#20	0x00007fff92a89471 in __CFRunLoopRun ()<br />
#21	0x00007fff92a88ae6 in CFRunLoopRunSpecific ()<br />
#22	0x00007fff8df143d3 in RunCurrentEventLoopInMode ()<br />
#23	0x00007fff8df1b58f in ReceiveNextEventCommon ()<br />
#24	0x00007fff8df1b4ca in BlockUntilNextEventMatchingListInMode ()<br />
#25	0x00007fff8a24c3f1 in _DPSNextEvent ()<br />
#26	0x00007fff8a24bcf5 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()<br />
#27	0x00007fff8a24862d in -[NSApplication run] ()<br />
#28	0x00007fff8a4c780c in NSApplicationMain ()<br />
#29	0x00000001000019c4 in start ()</blockquote>
<br />
<span style="font-weight: bold;">31 - Render To Texture.cpp</span><br />
<br />
Produces an error:<br />
<blockquote><cite>Quote:</cite>31 - Render To Texture.cpp:73:15:{73:16-73:53}: error: taking the address of a temporary object of type 'EE::RectI' [-Waddress-of-temporary,3]</blockquote>
<br />
<span style="font-weight: bold;">03 - World with Character</span><br />
When I run this tutorial, the application launches, and I just get a black (or sometimes white) screen.<br />
<br />
GDB output looks like it's related to the first issue here:<br />
<blockquote><cite>Quote:</cite>GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov  3 21:59:02 UTC 2011)<br />
Copyright 2004 Free Software Foundation, Inc.<br />
GDB is free software, covered by the GNU General Public License, and you are<br />
welcome to change it and/or distribute copies of it under certain conditions.<br />
Type "show copying" to see the conditions.<br />
There is absolutely no warranty for GDB.  Type "show warranty" for details.<br />
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000<br />
warning: Unable to read symbols for @executable_path/../Library/Frameworks/Cg.framework/Cg (file not found).<br />
warning: Unable to read symbols from "Cg" (not yet mapped into memory).<br />
[Switching to process 409 thread 0x0]<br />
2012-02-01 20:09:06.458 Tutorials[409:407] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:<br />
	/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper<br />
Tutorials: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.<br />
sharedlibrary apply-load-rules all<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(guard.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/guard.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_personality.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_personality.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_terminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_terminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_term_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_term_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(vterminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/vterminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_exception.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_exception.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(tinfo.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/tinfo.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(del_op.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/del_op.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_type.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_type.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_globals.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_globals.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2-fde-darwin.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2-fde-darwin.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_catch.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_catch.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_throw.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_throw.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_alloc.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_alloc.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_unex_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_unex_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(cp-demangle.o)" - no debug information available for "cp-demangle.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(pure.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/pure.cc".</blockquote>
]]></description>
			<content:encoded><![CDATA[H'lo!<br />
<br />
I just upgraded to Xcode 4, after learning that the project settings files were now updated to use this. However, in compiling some of the tutorials, I run into problems:<br />
<br />
<span style="font-weight: bold;">01 - Animation.cpp</span><br />
This seems to run okay (although the mouse vanishes). When I try to quit the tutorial by hitting escape, the application does not seem to terminate properly.<br />
<br />
GDB produces the following output:<br />
<br />
<blockquote><cite>Quote:</cite>There is absolutely no warranty for GDB.  Type "show warranty" for details.<br />
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000<br />
warning: Unable to read symbols for @executable_path/../Library/Frameworks/Cg.framework/Cg (file not found).<br />
warning: Unable to read symbols from "Cg" (not yet mapped into memory).<br />
[Switching to process 376 thread 0x0]<br />
Tutorials(376,0x7fff7769a960) malloc: *** error for object 0x400000001: pointer being freed was not allocated<br />
*** set a breakpoint in malloc_error_break to debug<br />
sharedlibrary apply-load-rules all<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(guard.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/guard.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_personality.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_personality.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_terminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_terminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_term_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_term_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(vterminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/vterminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_exception.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_exception.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(tinfo.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/tinfo.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(del_op.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/del_op.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_type.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_type.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_globals.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_globals.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2-fde-darwin.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2-fde-darwin.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_catch.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_catch.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_throw.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_throw.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_alloc.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_alloc.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_unex_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_unex_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(cp-demangle.o)" - no debug information available for "cp-demangle.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(pure.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/pure.cc".</blockquote>
<br />
and the stack trace:<br />
<blockquote><cite>Quote:</cite>Thread 1, Queue : com.apple.main-thread<br />
#0	0x00007fff8f3dece2 in __pthread_kill ()<br />
#1	0x00007fff8fd9b7d2 in pthread_kill ()<br />
#2	0x00007fff8fd8ca7a in abort ()<br />
#3	0x00007fff8fdeb84c in free ()<br />
#4	0x00000001000cb08f in EE::Free(void*&amp;) ()<br />
#5	0x0000000100002875 in EE::OrientP*&amp; EE::Free&lt;EE::OrientP&gt;(EE::OrientP*&amp;) at /Applications/EsenthelEngineSDK/Installation/EsenthelEngine/Memory/Memory.h:81<br />
#6	0x0000000100002820 in EE::Mems&lt;EE::OrientP&gt;::clear() ()<br />
#7	0x00000001000027d5 in EE::Mems&lt;EE::OrientP&gt;::del() ()<br />
#8	0x00000001000027b5 in EE::Mems&lt;EE::OrientP&gt;::~Mems() ()<br />
#9	0x0000000100002675 in EE::Mems&lt;EE::OrientP&gt;::~Mems() ()<br />
#10	0x00000001000025ff in EE::CSkeleton::~CSkeleton() ()<br />
#11	0x0000000100002035 in EE::CSkeleton::~CSkeleton() ()<br />
#12	0x00007fff8fd8c7c8 in __cxa_finalize ()<br />
#13	0x00007fff8fd8c652 in exit ()<br />
#14	0x00007fff8a252aca in -[NSApplication terminate:] ()<br />
#15	0x00000001001366c8 in -[MyApplication terminate:] ()<br />
#16	0x0000000100137575 in -[MyOpenGLView animationTimer:] ()<br />
#17	0x00007fff8bd5f014 in __NSFireTimer ()<br />
#18	0x00007fff92aa8f84 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()<br />
#19	0x00007fff92aa8ad6 in __CFRunLoopDoTimer ()<br />
#20	0x00007fff92a89471 in __CFRunLoopRun ()<br />
#21	0x00007fff92a88ae6 in CFRunLoopRunSpecific ()<br />
#22	0x00007fff8df143d3 in RunCurrentEventLoopInMode ()<br />
#23	0x00007fff8df1b58f in ReceiveNextEventCommon ()<br />
#24	0x00007fff8df1b4ca in BlockUntilNextEventMatchingListInMode ()<br />
#25	0x00007fff8a24c3f1 in _DPSNextEvent ()<br />
#26	0x00007fff8a24bcf5 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()<br />
#27	0x00007fff8a24862d in -[NSApplication run] ()<br />
#28	0x00007fff8a4c780c in NSApplicationMain ()<br />
#29	0x00000001000019c4 in start ()</blockquote>
<br />
<span style="font-weight: bold;">31 - Render To Texture.cpp</span><br />
<br />
Produces an error:<br />
<blockquote><cite>Quote:</cite>31 - Render To Texture.cpp:73:15:{73:16-73:53}: error: taking the address of a temporary object of type 'EE::RectI' [-Waddress-of-temporary,3]</blockquote>
<br />
<span style="font-weight: bold;">03 - World with Character</span><br />
When I run this tutorial, the application launches, and I just get a black (or sometimes white) screen.<br />
<br />
GDB output looks like it's related to the first issue here:<br />
<blockquote><cite>Quote:</cite>GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov  3 21:59:02 UTC 2011)<br />
Copyright 2004 Free Software Foundation, Inc.<br />
GDB is free software, covered by the GNU General Public License, and you are<br />
welcome to change it and/or distribute copies of it under certain conditions.<br />
Type "show copying" to see the conditions.<br />
There is absolutely no warranty for GDB.  Type "show warranty" for details.<br />
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000<br />
warning: Unable to read symbols for @executable_path/../Library/Frameworks/Cg.framework/Cg (file not found).<br />
warning: Unable to read symbols from "Cg" (not yet mapped into memory).<br />
[Switching to process 409 thread 0x0]<br />
2012-02-01 20:09:06.458 Tutorials[409:407] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:<br />
	/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper<br />
Tutorials: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.<br />
sharedlibrary apply-load-rules all<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(guard.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/guard.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_personality.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_personality.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_terminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_terminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_term_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_term_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(vterminate.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/vterminate.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_exception.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_exception.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(tinfo.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/tinfo.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(del_op.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/del_op.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_type.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_type.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_globals.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_globals.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64/libgcc_eh.a(unwind-dw2-fde-darwin.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/unwind-dw2-fde-darwin.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_catch.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_catch.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_throw.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_throw.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_alloc.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_alloc.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(eh_unex_handler.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/eh_unex_handler.cc".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(cp-demangle.o)" - no debug information available for "cp-demangle.c".<br />
<br />
warning: Could not find object file "/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++-static.a(pure.o)" - no debug information available for "/SourceCache/libstdcxx/libstdcxx-16/libstdcxx/libstdc++-v3/libsupc++/pure.cc".</blockquote>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Retarget and tweak animation and mocap with WebAnimate free]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4815</link>
			<pubDate>Wed, 01 Feb 2012 16:14:17 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4815</guid>
			<description><![CDATA[Hi Community !<br />
<br />
We have just release a beta version of WebAnimate - a tool based on IKinema engine in the browser (windows only for the moment) that allows you to retarget and customize animation and motion capture data in the browser for free.<br />
<br />
<a href="http://www.ikinema.com/webanimate/" target="_blank">http://www.ikinema.com/webanimate/</a><br />
<br />
Its free ! It would be great to hear your opinion and what you want to see in the future.<br />
<br />
It supports any creature, human or non-human. The pipeliene is: import models (FBX) and mocap (BVH) retarget, customize, export (FBX or BVH).<br />
<br />
We hope you will enjoy it !<br />
<br />
Best<br />
IKinema Team]]></description>
			<content:encoded><![CDATA[Hi Community !<br />
<br />
We have just release a beta version of WebAnimate - a tool based on IKinema engine in the browser (windows only for the moment) that allows you to retarget and customize animation and motion capture data in the browser for free.<br />
<br />
<a href="http://www.ikinema.com/webanimate/" target="_blank">http://www.ikinema.com/webanimate/</a><br />
<br />
Its free ! It would be great to hear your opinion and what you want to see in the future.<br />
<br />
It supports any creature, human or non-human. The pipeliene is: import models (FBX) and mocap (BVH) retarget, customize, export (FBX or BVH).<br />
<br />
We hope you will enjoy it !<br />
<br />
Best<br />
IKinema Team]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How does the streaming work?]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4813</link>
			<pubDate>Wed, 01 Feb 2012 07:26:11 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4813</guid>
			<description><![CDATA[Hi,<br />
<br />
I am trying to find a game engine to make a single player 3d space sim game.<br />
<br />
Esenthel says unlimited worlds so i download it to try it out. I load up the character.cpp file and run it. It's a person i can control to walk around a rectangular ground.<br />
I then go to change the y position of the character higher and higher. Once i get into the 7 digit range i notice distortions and shaking begin to happen. I was thinking this might happen because of the floating point in accuracy thing.<br />
So if i want unlimited worlds i am guessing i break my space into blocks and when i reach the end of one i transfer to the other. Is this correct? How do i use this feature?<br />
<br />
I've looked at the wiki and there is a small section on it but it looks like it  is talking about the world streaming for servers not offline? <br />
<a href="http://www.esenthel.com/wiki/index.php?title=Ineisis_World_Areas_Streaming" target="_blank">http://www.esenthel.com/wiki/index.php?t..._Streaming</a><br />
<br />
Can someone tell me which file or webpage there is a tutorial on how to do this?<br />
<br />
Also, when i travel from one block to another is there a loading screen or can i just travel right through without any loading screens or anything?]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I am trying to find a game engine to make a single player 3d space sim game.<br />
<br />
Esenthel says unlimited worlds so i download it to try it out. I load up the character.cpp file and run it. It's a person i can control to walk around a rectangular ground.<br />
I then go to change the y position of the character higher and higher. Once i get into the 7 digit range i notice distortions and shaking begin to happen. I was thinking this might happen because of the floating point in accuracy thing.<br />
So if i want unlimited worlds i am guessing i break my space into blocks and when i reach the end of one i transfer to the other. Is this correct? How do i use this feature?<br />
<br />
I've looked at the wiki and there is a small section on it but it looks like it  is talking about the world streaming for servers not offline? <br />
<a href="http://www.esenthel.com/wiki/index.php?title=Ineisis_World_Areas_Streaming" target="_blank">http://www.esenthel.com/wiki/index.php?t..._Streaming</a><br />
<br />
Can someone tell me which file or webpage there is a tutorial on how to do this?<br />
<br />
Also, when i travel from one block to another is there a loading screen or can i just travel right through without any loading screens or anything?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] Checking a vector is inside a box]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4812</link>
			<pubDate>Wed, 01 Feb 2012 04:43:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4812</guid>
			<description><![CDATA[Guys, is there a native function that checks if a vector is inside a box?  I have Cuts(), but that doesn't work if the vector start off already inside the box.<br />
<br />
Let me know if I need to create my own function.]]></description>
			<content:encoded><![CDATA[Guys, is there a native function that checks if a vector is inside a box?  I have Cuts(), but that doesn't work if the vector start off already inside the box.<br />
<br />
Let me know if I need to create my own function.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[light color]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4811</link>
			<pubDate>Wed, 01 Feb 2012 00:21:14 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4811</guid>
			<description><![CDATA[1) I have one point light in the scene (sun, or point light, etc...). When I add second light of different color (i am using point.obj), shadows in range of that second light have color of this second light. Bug? <br />
<br />
2) When I add new light, some shadows are less visible (indeed OK), but no new shadows appears. Bug? Or I need to enable something (that point light has checked cast shadows)?<br />
<br />
Both checked in deferred mode, forward seems to behave better, it looks like there is more shadows, but still not all which I would expect there.<br />
<br />
Btw, volumetric check box does nothing. There is something else I need to do?]]></description>
			<content:encoded><![CDATA[1) I have one point light in the scene (sun, or point light, etc...). When I add second light of different color (i am using point.obj), shadows in range of that second light have color of this second light. Bug? <br />
<br />
2) When I add new light, some shadows are less visible (indeed OK), but no new shadows appears. Bug? Or I need to enable something (that point light has checked cast shadows)?<br />
<br />
Both checked in deferred mode, forward seems to behave better, it looks like there is more shadows, but still not all which I would expect there.<br />
<br />
Btw, volumetric check box does nothing. There is something else I need to do?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[connectMySQL]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=4809</link>
			<pubDate>Tue, 31 Jan 2012 19:12:25 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=4809</guid>
			<description><![CDATA[Hello,<br />
<br />
I am having problems with following command:<br />
<br />
connectMySQL(server, "db", "login", "pass", &amp;querys)<br />
<br />
I tried config OBDC settings ( test was successful ), hovewer client cannot connect using this ( OBDC error ), I provided correct data source name in server field.<br />
<br />
Also I tried tcp://ip:3306, ip:3306. <br />
<br />
Dont want to connect even when I set up local MySQL database.<br />
<br />
Any suggestions?<br />
<br />
Edit:<br />
<br />
I forgot to add...<br />
Changing driver name doesn't help either.]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
I am having problems with following command:<br />
<br />
connectMySQL(server, "db", "login", "pass", &amp;querys)<br />
<br />
I tried config OBDC settings ( test was successful ), hovewer client cannot connect using this ( OBDC error ), I provided correct data source name in server field.<br />
<br />
Also I tried tcp://ip:3306, ip:3306. <br />
<br />
Dont want to connect even when I set up local MySQL database.<br />
<br />
Any suggestions?<br />
<br />
Edit:<br />
<br />
I forgot to add...<br />
Changing driver name doesn't help either.]]></content:encoded>
		</item>
	</channel>
</rss>
