<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: jit.gen &amp; quaternions</title>
		<atom:link href="http://cycling74.com/forums/topic/jit-gen-quaternions/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/jit-gen-quaternions/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 10:58:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-39881</guid>
					<title><![CDATA[jit.gen &amp; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-39881</link>
					<pubDate>Sat, 07 Jul 2012 13:23:15 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,<br />
is there a way to use easily quaternions with jit.gen ??</p>
<p>I need to process a 3 planes matrix with x,y,z space coordinates with jit.gen (which is okay) but my calculation involves quaternions.<br />
Each row of coordinates have to be multiplied by quaternions &#038; quaternions conjugates.</p>
<p>anyone already did that with jit.gen ?<br />
if someone could help even outside of gen, I&#8217;d be happy :D</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140636</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140636</link>
					<pubDate>Mon, 09 Jul 2012 19:47:09 +0000</pubDate>
					<dc:creator>Rob Ramirez</dc:creator>

					<description>
						<![CDATA[
						<p>hi julien. below is a patch that rotates vectors by a quaternion using jit.gen.</p>
<div><span id="toggle140636-0" class="patchtoggle" onmousedown="toggleMaxPatch('post140636-0', 'er140636-0');">&#8211; Pasted Max <span id="maxversion140636-0"></span> Patch, click to <span id="er140636-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A1601.3oc0Z0tiahCE82IOEV7q9Q1QXaBIYWsRyCv96UqTaUjGvIwSIFJXRl1%0Ap9tu9Cf.4qwCShyTkY.EescNb7wWeu17ygC7dH8IZgG3OAeBLXvOGNXftHUA%0ACp99.u0jmhRHE5p4woaSe3QuQFSB5SBcwY4zLJOF7sRhn1HubcZoHgJzsDVU%0AJKV2.Ym7G3I0UcQJWvIqoZS%2BKMOlvI01L8g36YTCN87.eoUyJX%2BPa.htyup3%0ALhHZEiubdNMRXZDF6KMCBf5ayfpqH40ltRBVFuAqpx90vgpKidcDyiLwcKSt%0AaYNKtXEIiBt2bSjlWV.tOgsbkPAUJm7PBE.A2mkVvDrTN.A7A90cXBiSiRK4%0A5dM3nLL5HLbXuXXInmulHxYO4M50w2A5aPysvwNfvqUhYjbxZv21ZuZLvcpw%0AwZ9.OQqCgn.mIG%2BQxcEIrHJ.6YsFB2Od40obvH8so9mmZP8fZVjjJ6CuFHH0%0AITAMuZJnpJ91xMnY8hajHP4lD38.gurOjTfQ.gLb0X%2BKu94RRRSuMjDd1uSj%0AT3MhjvWaR5T9oIeE3em4Oq8QiBbcDCnPyJX9OCyfurgLPKSn4nSGM0wTP8yO%0AcBqP7J8UilYGG0G0ihLVjUrrjYOQ3e8VvZcZrtH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Uo8Y%2BwlCQNamNf3V6hYUvVytjmE24kaqH73Dp861guSOoxJxABu%0Ad69sHc4xcDf8GvzQTMyN4yuNa5ublCazjMhNxfpc9xE6%2Bp.7.flSJre7ue6W%0Ap9jyjR.yuUeNL11xfP2sYfeSpExSAis1wQX%2B4mdSKFWGlsO6xdL9mw0wVFON%0AcK39EEDxtkidV8SvqR%2BzeNBU4AAM10uVR4pHYxs2A6MhfpRv%2Bp3hkHD4m5vE%0AqmCopS8A9STGCj2gby3qyhxpQr4M6RY3TKHqoubxRWitotY3t8iKuhAOHd7Y%0AsCy9DwhG1oNGDF9ggfevHosnYhEnA5Tz.eyflPK3lINCMis.MANCMXaDNX2o%0AiwA1HjwtCOXKjx3.2hmmkeb33kMvYpyfCxFuxpWopcaD00EOSsEOP2fmPawi%0AiFurY5NxcS2Q1nmwSdigG2wOvousbOCCeigGaFuTusdukvCzc5YHxF73P9w%2B%0AJF2rIEi8dicTHYu2Tm8dKc1%2BMzQ1a%2BZ3%2BCnnzvCJ%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post140636-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode140636-0">----------begin_max5_patcher----------
1601.3oc0Z0tiahCE82IOEV7q9Q1QXaBIYWsRyCv96UqTaUjGvIwSIFJXRl1
p9tu9Cf.4qwCShyTkY.EescNb7wWeu17ygC7dH8IZgG3OAeBLXvOGNXftHUA
Cp99.u0jmhRHE5p4woaSe3QuQFSB5SBcwY4zLJOF7sRhn1HubcZoHgJzsDVU
JKV2.Ym7G3I0UcQJWvIqoZS+KMOlvI01L8g36YTCN87.eoUyJX+Pa.htyup3
LhHZEiubdNMRXZDF6KMCBf5ayfpqH40ltRBVFuAqpx90vgpKidcDyiLwcKSt
aYNKtXEIi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YRvtPsTIIzjlf
8C+StYi9FGJUInil9lwuBi2C+y25IQ3Y5q39wh6hGPkqyIV9S+aqreb5sHsL
Op9ApRYA5hC4RyxrvZhO5S6b.IyHqcEWwhi6FMhYA7BU3.w1qEdoPVsJq8XF
81.yPawL5fJdqvL7kPyWBHuSfGqSQkxi997HhLakiq0al8p8ud25mR2M+0qd
hqG6eH+m2YnkldoZsY65GvWFtC8N4XLMIKJ8Jk0JjpdtsG23TVq2v2fqvNMs
lVTPVROfcUo8Y+wlCQNamNf3V6hYUvVytjmE24kaqH73Dp861guSOoxJxABu
d69sHc4xcDf8GvzQTMyN4yuNa5ublCazjMhNxfpc9xE6+p.7.flSJre7ue6W
p9jyjR.yuUeNL11xfP2sYfeSpExSAis1wQX+4mdSKFWGlsO6xdL9mw0wVFON
cK39EEDxtkidV8SvqR+zeNBU4AAM10uVR4pHYxs2A6MhfpRv+p3hkHD4m5vE
qmCopS8A9STGCj2gby3qyhxpQr4M6RY3TKHqoubxRWitotY3t8iKuhAOHd7Y
sCy9DwhG1oNGDF9ggfevHosnYhEnA5Tz.eyflPK3lINCMis.MANCMXaDNX2o
iwA1HjwtCOXKjx3.2hmmkeb33kMvYpyfCxFuxpWopcaD00EOSsEOP2fmPawi
iFurY5NxcS2Q1nmwSdigG2wOvousbOCCeigGaFuTusdukvCzc5YHxF73P9w+
JF2rIEi8dicTHYu2Tm8dKc1+MzQ1a+Z3+CnnzvCJ
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140637</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140637</link>
					<pubDate>Mon, 09 Jul 2012 20:12:00 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Robert,<br />
thanks a lot for your patch.<br />
I&#8217;ll try it asap in my system.<br />
I&#8217;ll grab the quat from jit.anim.node in order to not have problem with gimbal lock coming from euler angles, but I guess the jit.gen calculations remain the same.</p>
<p>posting when I&#8217;ll have tested it.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140638</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140638</link>
					<pubDate>Sat, 14 Jul 2012 16:42:48 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>I guess I&#39;m VERY near from my solution.</p>
<p>I&#39;m rotating my vectors by the quaternion rotation.<br />
each vector is made by (objectVector &#8211; camVector)</p>
<p>I included your codebox into mine and put the azimuth &#038; elevation calculation in another codebox.</p>
<p>I don&#39;t know if it is a problem of vector normalization or whatever, but it still doesn&#39;t work.<br />
if I move the camera &#8220;around&#8221; the object, by keeping the object in the center of my view, I should still have az=0 &#038; el=0 &#8230; this is basic and I absolutely don&#39;t understand why I don&#39;t have that :-(</p>
<p> [attachment=199341,4181]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140639</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140639</link>
					<pubDate>Thu, 19 Jul 2012 08:29:54 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>Robert, can I request some help ?<br />
I&#8217;m still stuck.<br />
I don&#8217;t understand where my logic fails</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140640</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140640</link>
					<pubDate>Wed, 25 Jul 2012 11:18:37 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>I tried to grab the rotation quaternion of my cam from jit.anim.node, gl.camera .. it doesnt work better<br />
This is a calculation error (in the part I made for sure) and I cannot debug it :-(</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140641</guid>
					<title><![CDATA[Re: jit.gen &#038; quaternions]]></title>
					<link>http://cycling74.com/forums/topic/jit-gen-quaternions/#post-140641</link>
					<pubDate>Thu, 09 Aug 2012 08:50:16 +0000</pubDate>
					<dc:creator>Julien Bayle</dc:creator>

					<description>
						<![CDATA[
						<p>anyone else would help me ?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

