<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - crashing scene based on sponza]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=460&amp;type=atom"/>
	<updated>2012-10-26T20:17:14Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=460</id>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2830#p2830"/>
			<content type="html"><![CDATA[<p>Ho that&#039;s very good, I&#039;m happy it fixed it, so it was a real hard bug to find : )<br />I&#039;m waiting to see how your game goes, I will commit the bug correction to svn tomorrow.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-26T20:17:14Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2830#p2830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2829#p2829"/>
			<content type="html"><![CDATA[<p>Hi there anael,</p><p>Thx so much for taking time to fix this, so yes now it works fine <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" />))</p><p>I&#039;ts great to have this functioning as now I can move onto other things .</p><p>Thx so much.</p><p>Gm</p>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-26T17:51:17Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2829#p2829</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2828#p2828"/>
			<content type="html"><![CDATA[<p>I tried on windows, I&#039;m not able to have it crash anymore, I tried running your scene with different settings, it now doesn&#039;t crash on my machine.</p><p>I tried to rebuild an exe even more safe : <a href="http://maratis3d.com/download/Maratis3.1b-fix-win32-3.zip">http://maratis3d.com/download/Maratis3. &#133; in32-3.zip</a></p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-26T09:41:30Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2828#p2828</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2826#p2826"/>
			<content type="html"><![CDATA[<p>mh too bad... I have to test again because it seems to be corrected on my windows (where I was able to replicate the crash).<br />I don&#039;t think there is something wrong in your scene, it&#039;s probably a bug in the engine somewhere...</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-26T08:56:31Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2826#p2826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2822#p2822"/>
			<content type="html"><![CDATA[<p>STill crashing. Is it possible I have something wrong with scene&nbsp; I wonder ?</p><p>Its just my mesh, with physics enabled for player walk, all taken from sponzaFPS example.</p>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-25T20:22:51Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2822#p2822</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2821#p2821"/>
			<content type="html"><![CDATA[<p>ok try this : <a href="http://maratis3d.com/download/Maratis3.1b-fix-win32-bis.zip">http://maratis3d.com/download/Maratis3. &#133; 32-bis.zip</a><br />(I added the dll)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-25T19:06:59Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2821#p2821</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2819#p2819"/>
			<content type="html"><![CDATA[<p>Hi, ok, I need to send the full package, the dlls also need to be up to date (I forget).</p><p>It should work with no-texture, I just found that the bug only happen when there is no texture,<br />that is (maybe) why sponza mesh was working.</p><p>I send a complete package later.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-25T18:52:50Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2819#p2819</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2818#p2818"/>
			<content type="html"><![CDATA[<p>Hi there,</p><p>If this is just a &#039;no texture&#039; issue, Im happy to texture the mesh, but I thought I&#039;d seen tutorials a few of vegas tuts that ( door demo) that had none, so I guess we should be consistent if so; but Im willing to do whatever is best.</p><p>When running the new &#039;fix&#039; exe, I get this:</p><p>---------------------------<br />Maratis.exe - Entry Point Not Found<br />---------------------------<br />The procedure entry point ?createDirectory@@YA_NPBD_N@Z could not be located in the dynamic link library MCore.dll. <br />---------------------------<br />OK&nbsp; &nbsp;<br />---------------------------</p><p>Sorry I wish&nbsp; I could say it worked&nbsp; of course.</p><p>cheers<br />gmLee</p><br /><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>ok, I think I have a fix,<br />try to replace Maratis and MaratisPlayer exe by this : <a href="http://maratis3d.com/download/Maratis3.1b-fix-win32.zip">http://maratis3d.com/download/Maratis3.1b-fix-win32.zip</a></p><p>I think it was not what I taught, but just a fixed-renderer bug happening sometimes if the mesh has no textures.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-25T17:55:21Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2818#p2818</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2817#p2817"/>
			<content type="html"><![CDATA[<p>ok, I think I have a fix,<br />try to replace Maratis and MaratisPlayer exe by this : <a href="http://maratis3d.com/download/Maratis3.1b-fix-win32.zip">http://maratis3d.com/download/Maratis3.1b-fix-win32.zip</a></p><p>I think it was not what I taught, but just a fixed-renderer bug happening sometimes if the mesh has no textures.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-25T14:25:41Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2817#p2817</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2816#p2816"/>
			<content type="html"><![CDATA[<p>mh, if the splitting doesn&#039;t change anything I don&#039;t understand... I&#039;ll try some tests and let you know...</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-25T13:03:03Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2816#p2816</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2815#p2815"/>
			<content type="html"><![CDATA[<p>So glad to hear you&#039;re able to replicate on your end Anael.</p><p>I tried: top view&gt;B (and grab half of mesh down the middle), press &#039;P&#039; &gt; &quot;selection&quot;, but on export and import into maratis editor, and then pressing pacman, I still get a crash.</p><p>..beyond that all I could do would be to compile current beta3.1 maratis and then run maratis in debug mode in VS, and see if I can see anything helpful.</p><p>cheers<br />lee<br />Gm EXTRaordinaire &lt;wink&gt;</p><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>Hi,</p><p>I&#039;ll continue looking on the GL_MAX_ELEMENTS_INDICES,<br />the funny thing is that I have windows installed on mac laptop,<br />and where it doesn&#039;t crash on macosx, it crashed on windows, so at least I can replicate the bug.</p><p>I&#039;ll let you know if I found a fix, tell me if splitting the mes works.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-24T19:43:34Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2815#p2815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2814#p2814"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>I&#039;ll continue looking on the GL_MAX_ELEMENTS_INDICES,<br />the funny thing is that I have windows installed on mac laptop,<br />and where it doesn&#039;t crash on macosx, it crashed on windows, so at least I can replicate the bug.</p><p>I&#039;ll let you know if I found a fix, tell me if splitting the mes works.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-24T18:20:57Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2814#p2814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2813#p2813"/>
			<content type="html"><![CDATA[<p>Awesome, thanks for follow up on this appreciate it indeed.</p><p>For now yes, I shall split mesh up and see how that goes.</p><p>One thing to note, my hardware is all recent,,,everything is new except for cdrom drive, and my GL driver is new, albeit my GPU of course is &#039;slightly&#039; old but still in solid mainstream use Im pretty sure. It&#039;s a solid card and still allows me to play current games on the market , often at max settings.</p><p>Thx for looking into all of this Anael <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" />)</p><p>cheers<br />Lee</p><br /><br /><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>I maybe found something, that can be a bit of a pain to deal with but that&#039;s maybe why it crashes.</p><p>There is apparently a limit of triangles that can be send and that can be different depending on the driver, machine or opengl version (didn&#039;t know about it) : GL_MAX_ELEMENTS_INDICES</p><p>I&#039;ll see if I can modify the code to take this in account and split the rendering if needed.</p><p>In the meanwhile, what you can do to make it work is to split your model in multiple parts so each part don&#039;t exceed 64 000 triangles (a possible 16bit limitation on old hardware or old drivers).</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-24T16:22:05Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2813#p2813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2812#p2812"/>
			<content type="html"><![CDATA[<p>I maybe found something, that can be a bit of a pain to deal with but that&#039;s maybe why it crashes.</p><p>There is apparently a limit of triangles that can be send and that can be different depending on the driver, machine or opengl version (didn&#039;t know about it) : GL_MAX_ELEMENTS_INDICES</p><p>I&#039;ll see if I can modify the code to take this in account and split the rendering if needed.</p><p>In the meanwhile, what you can do to make it work is to split your model in multiple parts so each part don&#039;t exceed 64 000 triangles (a possible 16bit limitation on old hardware or old drivers).</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-10-24T08:53:07Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2812#p2812</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: crashing scene based on sponza]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=2811#p2811"/>
			<content type="html"><![CDATA[<p>Just wondering if you had any luck with this ?</p><p>thx<br />lee</p><br /><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>Thanks,<br />this one is also working here, but tomorrow ill try on another machine on windows to see if it crash.</p><p>the vertice/index number seems strange too like if there was a lot of double triangles, but im not sure.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2012-10-23T21:25:38Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=2811#p2811</id>
		</entry>
</feed>
