<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Question: How many Tri's (roughly) can maratis handle?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=69&amp;type=atom"/>
	<updated>2012-02-27T12:14:17Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=69</id>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1483#p1483"/>
			<content type="html"><![CDATA[<p>I found the board and had a quick look at the translation. Looks very impressive, I mean, clearly there are much much prettier renders of that scene, but people were quoting times from 11s to 1h20m from what I could see... so considering this is realtime... it&#039;s pretty damned impressive. Maybe you have found a new market for Maratis? <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-02-27T12:14:17Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1483#p1483</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1478#p1478"/>
			<content type="html"><![CDATA[<p>I found on google image, I think it&#039;s a japanese website so I don&#039;t understand anything, but it seems they compare different rendering engines (not real time expect for Maratis). The scene looks very high in triangles.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-02-26T10:03:39Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1478#p1478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1477#p1477"/>
			<content type="html"><![CDATA[<p>Nice, where did you find that?</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-02-25T20:30:47Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1477#p1477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1476#p1476"/>
			<content type="html"><![CDATA[<p>Just found on the net, someone using Maratis as a renderer <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> :</p><p><span class="postimg"><img src="http://dlsite.blogimg.jp/RG12372/imgs/7/2/7270774f.jpg" alt="http://dlsite.blogimg.jp/RG12372/imgs/7/2/7270774f.jpg" /></span></p><p><em>Nistur edit: update image URL as original one expired</em></p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-02-25T20:27:07Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1476#p1476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1301#p1301"/>
			<content type="html"><![CDATA[<p>I will have to have a closer look at the memory, I&#039;ve been a bit busy tonight unfortunately. I do know that often applications preallocate a larger amount of memory than they need. I will do it after I&#039;ve finished the little changes I&#039;ve done to the package manager.</p><p>But yes, it&#039;s Windows 7 x64 on both machines I&#039;ve tried it on.</p><p>I might try to do the profiler at the weekend, I am interested what it might come up with. I will have to see if I can mark memory on the stack as well as the heap. If you would prefer the code not submitted I will keep it locally.</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-25T00:22:30Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1301#p1301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1300#p1300"/>
			<content type="html"><![CDATA[<p>strange... is it on windows ? windows 7 ? (I only have xp)<br />on macosx, there is something called inactive memory, when debugging memory xcode show that the memoy used is 32mb, but the monitor shows 100mb (active+inactive). Is it like that with win 7 ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T23:43:41Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1300#p1300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1299#p1299"/>
			<content type="html"><![CDATA[<p>I had a go with 2 versions of Maratis, the first being built with Visual Studio from svn, the second being the precompiled download, both have similar results. The download went up to 89MB with YoFrankie, the svn version stopped at 74MB strangely.</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-24T22:09:50Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1299#p1299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1298#p1298"/>
			<content type="html"><![CDATA[<p>you was right for the sleep, it put the cpu usage down.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T20:23:14Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1298#p1298</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1297#p1297"/>
			<content type="html"><![CDATA[<p>is it not working also when exporting from Blender ?<br />(at least a good point for Maratis)</p><p>I tried to load YoFrankie when packaged, and the memory seems to react approximately the same, from 10 to 32 to 10, without bigger picks than the unpacked one. Good to see <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T19:32:40Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1297#p1297</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1296#p1296"/>
			<content type="html"><![CDATA[<p>I&#039;ll send myself the mech mesh and do some tests at home. I wasn&#039;t using any profiler to get the numbers, I just glanced at windows task manager.</p><p>It&#039;s unfortunate that I can&#039;t seem to load the mech into unity, no matter how hard I try <img src="http://forum.maratis3d.com/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-24T19:21:47Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1296#p1296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1295#p1295"/>
			<content type="html"><![CDATA[<p>I&#039;m curious to see more of the comparison and test with big meshs and maybe unity. I also would like to be sure about what is happening with the used memory you recorded.</p><p>To check the svn version, I ran it with xcode and debug instruments, and opened/closed YoFrankie example,<br />Maratis was using 10mb at start &gt; 32mb with YoFrankie, it came back at 10mb when closed.<br />The instruments recorded 4 leaks, basically 192bytes from Maratis and 400bytes from Bullet physics.</p><p>There is maybe some leak linked with the big mesh you use but I don&#039;t understand...</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T19:16:01Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1295#p1295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1294#p1294"/>
			<content type="html"><![CDATA[<p>I will try and do some benchmark tests with the mech mesh and svn revisions, unless you have an archive of previous builds I can use.</p><p>If there&#039;s anything more detailed you want, I can quickly plug in either memory or CPU profilers I recommended within a matter of hours to get a quick reading on what sort of things are heaviest. I was just suggesting wrapping it up nicely so it could be used by others in future.</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-24T18:32:56Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1294#p1294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1293#p1293"/>
			<content type="html"><![CDATA[<p>In the short term what we need most is at least a global check of the memory using an existing debugger/profiler, there is some ready made and visual tools, what I mean is we should spend the energy to do some investigation first. I don&#039;t think there is huge leaks as it was checked for the previous release, but it&#039;s a long time it has not been made.</p><p>Also, doing benchmarks like you did with the big mesh is very important.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T18:26:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1293#p1293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1291#p1291"/>
			<content type="html"><![CDATA[<p>I have checked that there is nothing apart from the box.mesh in the meshs/ directory. I have no idea what&#039;s happening :S</p><p>There are some tools on various platforms that will allow you to do CPU/memory profiling, but very few are cross platform and will allow for Maratis users to optimise their games properly. Not sure if that&#039;s important to you. What I was thinking is that we can add a MProfilerContext to MEngine, and then create macros to do something like the following:<br /></p><div class="codebox"><pre><code>#define M_FUNCTION_PROFILE() \
MProfileStack func(__FILE__, __FUNCTION__);</code></pre></div><p>Which will wrap up checking if there&#039;s a profile plugin attached and will release at the end of the scope. I actually had a look at profilers before and <a href="http://code.google.com/p/shinyprofiler/">Shiny Profiler</a> looks nice and simple to make into a plugin <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>With regards to memory management, it would probably be a bit more hassle as it means overriding new/delete globally so you can keep track of the memory yourself. Not as painful as my fopen hack as C/C++ will allow overriding them <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /> but that can tie into the MProfileStack again, then you can print out the memory as it&#039;s been saved, with the file and function it was allocated in. Of course you don&#039;t want to have either of these things running in a production build, but if they&#039;re wrapped in a plugin, will allow projects to test what&#039;s happening, and the MProfileStack class should take minimal overhead if there&#039;s no profiler. Can even create a FinalRelease player build which defines M_FUNCTION_PROFILE in the build process, so it&#039;s not even implemented.</p><p>EDIT: I had a quick look at memory profiling, and found <a href="http://chkno.net/memory-profiler-c++.html">this</a> which basically explains what I mean, but if we have the MProfileStack, we can actually point out when and where the allocation came from</p>]]></content>
			<author>
				<name><![CDATA[Nistur]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=500</uri>
			</author>
			<updated>2012-01-24T16:21:27Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1291#p1291</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Question: How many Tri's (roughly) can maratis handle?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1290#p1290"/>
			<content type="html"><![CDATA[<p>You said you used Sponza camera, is there a chance that the sponza mesh was still in memory ?<br />The website release of Maratis with Yo-frankie demo opened uses 36mo (I don&#039;t have a svn build where i am)</p><p>Some memory test would be very nice to do, there is not some build-in tools to debug it ? (I use one with xcode, but i don&#039;t know if it exist with visual or on linux)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-24T16:03:37Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1290#p1290</id>
		</entry>
</feed>
