<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Placing Object at a location on the screen.]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=983</link>
		<description><![CDATA[The most recent posts in Placing Object at a location on the screen..]]></description>
		<lastBuildDate>Thu, 01 May 2014 16:14:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Placing Object at a location on the screen.]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6742#p6742</link>
			<description><![CDATA[<p>Thank you anael! I will see if this does what I need it to.</p><p>Edit: I can&#039;t get it to work. I did:</p><div class="codebox"><pre><code>pos = getUnprojectedPoint(mainCamera,vec3(.5,.5,1))</code></pre></div><p>Then:</p><div class="codebox"><pre><code>setPosition(monkey,pos)</code></pre></div><p>thinking that this should put the monkey at the center of the camera. Am I doing it right?</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 01 May 2014 16:14:07 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6742#p6742</guid>
		</item>
		<item>
			<title><![CDATA[Re: Placing Object at a location on the screen.]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6741#p6741</link>
			<description><![CDATA[<p>you can use getUnProjectedPoint :<br />pos = getUnProjectedPoint(Camera, vec3(0.5, 0.5, 1))</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 30 Apr 2014 22:00:23 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6741#p6741</guid>
		</item>
		<item>
			<title><![CDATA[Placing Object at a location on the screen.]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6740#p6740</link>
			<description><![CDATA[<p>I used the getWindowSale() function to do this:</p><div class="codebox"><pre><code>windowSize = getWindowScale()
WIDTH = windowSize[1]
HEIGHT = windowSize[2]

CENTER = {WIDTH/2,HEIGHT/2}</code></pre></div><p>Anyone know how I would place an object relative to a camera, at the center of the screen, or at any point?</p><p>Does getWindowScale() have anything to do with the camera? Or should I be using camera functions? </p><p>What purpose could getWindowSale() serve?</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Wed, 30 Apr 2014 16:27:19 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6740#p6740</guid>
		</item>
	</channel>
</rss>
