<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - cursor position]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=912&amp;type=atom"/>
	<updated>2014-01-10T06:22:42Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=912</id>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6169#p6169"/>
			<content type="html"><![CDATA[<p>Thank you, anael! This is what I need!!!</p>]]></content>
			<author>
				<name><![CDATA[ant0n]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1562</uri>
			</author>
			<updated>2014-01-10T06:22:42Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6169#p6169</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6167#p6167"/>
			<content type="html"><![CDATA[<p>You&#039;ll do that using getUnprojectedPoint() :</p><div class="codebox"><pre><code>mx = getAxis(&quot;MOUSE_X&quot;)
my = getAxis(&quot;MOUSE_Y&quot;)    
mz = 0.1 -- change this number to move the cursor further : 0.0 correspond to the camera clipping near, 1.0 correspond to the camera clipping far

cursor3d = getUnProjectedPoint(Camera, vec3(mx, my, mz))</code></pre></div>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2014-01-10T06:12:52Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6167#p6167</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6166#p6166"/>
			<content type="html"><![CDATA[<p>thanks for the help! I will try to do something.</p>]]></content>
			<author>
				<name><![CDATA[ant0n]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1562</uri>
			</author>
			<updated>2014-01-10T04:00:57Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6166#p6166</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6165#p6165"/>
			<content type="html"><![CDATA[<p>I am thinking of several ways you could do this, and you might want to check out Vegas&#039;s current post on making a full GUI. </p><p>I am sure you would have to use the hideCursor() function though. <br />You could also use the getWindowScale() function. <br />Also, taking a look at the Sponza level code could help.</p><p>You also might be able to use the rayHit() function and the getUnprojectedPoint() function. You might even use some 3D Math functions. </p><p>I need to try to do this myself. If I get something I&#039;ll let you know.</p>]]></content>
			<author>
				<name><![CDATA[Tutorial Doctor]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2493</uri>
			</author>
			<updated>2014-01-10T03:49:03Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6165#p6165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6164#p6164"/>
			<content type="html"><![CDATA[<p>no, I want to make the 3D cursor.</p>]]></content>
			<author>
				<name><![CDATA[ant0n]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1562</uri>
			</author>
			<updated>2014-01-10T03:31:11Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6164#p6164</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6163#p6163"/>
			<content type="html"><![CDATA[<p>Do you want it to look like you are picking up an object?</p>]]></content>
			<author>
				<name><![CDATA[Tutorial Doctor]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2493</uri>
			</author>
			<updated>2014-01-10T03:26:02Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6163#p6163</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[cursor position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6162#p6162"/>
			<content type="html"><![CDATA[<p>How you can bind the object to the cursor? I want to at some moment the object followed by the cursor.</p>]]></content>
			<author>
				<name><![CDATA[ant0n]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1562</uri>
			</author>
			<updated>2014-01-10T02:37:28Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6162#p6162</id>
		</entry>
</feed>
