<?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: tracking rotation etc in GL</title>
		<atom:link href="http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 14:32:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-29150</guid>
					<title><![CDATA[tracking rotation etc in GL]]></title>
					<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-29150</link>
					<pubDate>Mon, 11 Dec 2006 08:40:53 +0000</pubDate>
					<dc:creator>lux@llumen.be</dc:creator>

					<description>
						<![CDATA[
						<p>if this gets posted twice I&#8217;m sorry, think I did something wrong the first time</p>
<p>HI</p>
<p>is there anyway to keep track of a rotation, you trigger by using jit.gl.handle on a world?</p>
<p>I want to have a videoplane running fullscreen that counterRotates in function of the world, so that it always remains more or less fullscreen and straight.</p>
<p>I need to be able to have some images/texts in fullscreen readable at all times.</p>
<p>but they also need to be able to drift in function of the world, being almost in sync (contra sync actualy) to the world</p>
<p>I tried to derive info from the dumpout but havn&#8217;t had any luck with that</p>
<p>If I get it out of the world, would it be tricky math to get it running?</p>
<p>best regards</p>
<p>pieter</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90348</guid>
					<title><![CDATA[Re: tracking rotation etc in GL]]></title>
					<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90348</link>
					<pubDate>Mon, 11 Dec 2006 10:02:46 +0000</pubDate>
					<dc:creator>Falk</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Pieter,</p>
<p>><br />
> is there anyway to keep track of a rotation, you trigger by using  <br />
> jit.gl.handle on a world?</p>
<p>jit.gl.handle outputs a normal message rotate &#8230;.. so the rotating  <br />
information is there before it rotates your world.</p>
<p>have a look at the jasch objects, they are very useful for  <br />
transformation stuff</p>
<p>falk</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90349</guid>
					<title><![CDATA[Re: tracking rotation etc in GL]]></title>
					<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90349</link>
					<pubDate>Mon, 11 Dec 2006 10:13:04 +0000</pubDate>
					<dc:creator>wippen</dc:creator>

					<description>
						<![CDATA[
						<p>The only way I have found to do this (although I am quite open to anyone&#8217;s information to the contrary) is to use the left output from jit.gl.handle.  This will give you commands such as:<br />
&#8220;rotate 1.0 0.0 0.0 0.0&#8243;<br />
Just use [unpack] to separate the numbers, and off you go into the wide world of mathematics.  In your case, just multiply the first of the four numbers by -1, and leave the others alone.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90350</guid>
					<title><![CDATA[Re: tracking rotation etc in GL]]></title>
					<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90350</link>
					<pubDate>Mon, 11 Dec 2006 13:19:06 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>On 12/11/06, pieter coussement <lux @llumen.be> wrote:<br />
><br />
><br />
> is there anyway to keep track of a rotation, you trigger by using<br />
> jit.gl.handle on a world?<br />
><br />
> I want to have a videoplane running fullscreen that counterRotates in<br />
> function of the world, so that it always remains more or less fullscreen and<br />
> straight.</lux></p>
<p>No need to keep track of rotation. Check out the new @transform_reset<br />
attribute. Most gl objects support it. It wil keep anything from<br />
transforming witht the rest of the context. Really easy for screen overlay<br />
kind of things.</p>
<p>-thijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90351</guid>
					<title><![CDATA[Re: tracking rotation etc in GL]]></title>
					<link>http://cycling74.com/forums/topic/tracking-rotation-etc-in-gl/#post-90351</link>
					<pubDate>Mon, 11 Dec 2006 16:14:28 +0000</pubDate>
					<dc:creator>nesa</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>If I understood corectly, there&#8217;s no need to keep track of rotation, it is <br />
as simple as adding @trasnform_reset 2 attribute to videoplane:</p>
<p>#P window setfont Geneva 9.;<br />
#P window linecount 1;<br />
#N vpatcher 472 316 795 654;<br />
#P window setfont Geneva 9.;<br />
#P newex 50 211 180 9961481 jit.slide @slide_up 50. @slide_down 30.;<br />
#P newex 50 86 52 9961481 qlim 5000;<br />
#N vpatcher 133 202 701 591;<br />
#P window setfont Geneva 9.;<br />
#N vpatcher 307 208 907 608;<br />
#P inlet 104 55 15 0;<br />
#P window setfont Geneva 9.;<br />
#P message 41 233 195 9961481 moveto $1 $2 , write look at all these <br />
balls;<br />
#P message 109 260 170 9961481 moveto $1 $2 , write hello jitty kitty;<br />
#P newex 60 119 27 9961481 + 1;<br />
#P toggle 60 96 15 0;<br />
#P newex 60 145 45 9961481 gate 2 1;<br />
#P inlet 57 30 15 0;<br />
#P outlet 72 349 15 0;<br />
#P connect 2 0 6 0;<br />
#P fasten 7 0 3 0 109 82 65 82;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 2 0;<br />
#P connect 5 0 0 0;<br />
#P connect 6 0 0 0;<br />
#P connect 1 0 2 1;<br />
#P connect 2 1 5 0;<br />
#P pop;<br />
#P newobj 50 216 46 9961481 p 2texts;<br />
#N vpatcher 15 55 269 373;<br />
#P window setfont Geneva 9.;<br />
#P window linecount 0;<br />
#P newex 90 67 45 9961481 t b clear;<br />
#P window linecount 1;<br />
#P newex 90 104 38 9961481 urn 76;<br />
#P newex 153 193 28 9961481 * 10;<br />
#P newex 90 193 28 9961481 * 10;<br />
#P newex 153 167 31 9961481 / 32.;<br />
#P newex 90 167 34 9961481 % 32.;<br />
#P newex 90 135 31 9961481 * 10.;<br />
#P newex 90 219 73 9961481 pack 0 0;<br />
#P inlet 90 30 15 0;<br />
#P outlet 90 247 15 0;<br />
#P connect 1 0 9 0;<br />
#P fasten 9 1 8 0 130 94 95 94;<br />
#P connect 9 0 8 0;<br />
#P connect 8 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 6 0;<br />
#P connect 6 0 2 0;<br />
#P connect 2 0 0 0;<br />
#P fasten 3 0 5 0 95 159 158 159;<br />
#P connect 5 0 7 0;<br />
#P connect 7 0 2 1;<br />
#P pop;<br />
#P newobj 50 164 72 9961481 p rnd positions;<br />
#P newex 50 58 252 9961481 t b b;<br />
#P message 292 257 201 9961481 reset , brgb 0 0 0 , frgb 255 255 255 , <br />
clear;<br />
#P newex 50 94 40 9961481 uzi 38;<br />
#P inlet 50 30 15 0;<br />
#P outlet 50 349 15 0;<br />
#P connect 1 0 4 0;<br />
#P connect 4 0 2 0;<br />
#P connect 2 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P fasten 2 1 0 0 70 130 278 130 278 302 55 302;<br />
#P fasten 3 0 0 0 297 325 55 325;<br />
#P connect 6 0 0 0;<br />
#P connect 4 1 6 1;<br />
#P connect 4 1 3 0;<br />
#P pop;<br />
#P newobj 50 111 53 9961481 p rnd text;<br />
#P newex 50 167 211 9961481 jit.matrix 4 char 320 240 @planemap 1 1 1 1;<br />
#P newex 50 139 106 9961481 jit.lcd 4 char 320 240;<br />
#P inlet 50 30 15 0;<br />
#P outlet 50 246 15 0;<br />
#P connect 1 0 5 0;<br />
#P connect 5 0 4 0;<br />
#P connect 4 0 2 0;<br />
#P fasten 1 0 3 0 55 67 27 67 27 161 55 161;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 6 0;<br />
#P connect 6 0 0 0;<br />
#P pop;<br />
#P newobj 80 142 92 9961481 p image4videoplane;<br />
#P newex 80 171 396 9961481 jit.gl.videoplane drift @layer 2 @blend_enable 1 <br />
@depth_enable 0 @transform_reset 2;<br />
#N vpatcher 15 55 784 453;<br />
#P window setfont Geneva 9.;<br />
#P window linecount 1;<br />
#P newex 68 136 37 9961481 * 0.01;<br />
#P newex 206 147 45 9961481 loadbang;<br />
#P newex 68 85 46 9961481 qlim 500;<br />
#P newex 39 58 39 9961481 t b b;<br />
#N counter;<br />
#X flags 0 0;<br />
#P newobj 68 109 66 9961481 counter;<br />
#P message 68 161 68 9961481 offset 0 0 $1;<br />
#P newex 206 264 192 9961481 jit.slide @slide_up 300. @slide_down 100.;<br />
#P newex 206 239 174 9961481 jit.submatrix @dim 8 8 @offset 0 0 1;<br />
#P message 206 175 134 9961481 setattr basis level -0.1 , bang;<br />
#P newex 206 208 380 9961481 jit.bfg 3 float32 8 8 8 @basis <br />
fractal.turbulence @weight 40. 40. 40. @align 14. 15.;<br />
#P newex 206 292 262 9961481 jit.gl.multiple drift 1 @targetname sph <br />
@glparams position;<br />
#P window linecount 2;<br />
#P newex 190 55 367 9961481 jit.gl.gridshape drift @shape sphere @dim 16 16 <br />
@smooth_shading 1 @lighting_enable 1 @name sph @scale 0.1 0.1 0.1 @automatic <br />
0 @depth_enable 1;<br />
#P inlet 39 38 15 0;<br />
#P connect 0 0 9 0;<br />
#P connect 9 1 10 0;<br />
#P connect 10 0 8 0;<br />
#P connect 8 0 12 0;<br />
#P connect 12 0 7 0;<br />
#P connect 11 0 4 0;<br />
#P fasten 9 0 3 0 44 202 211 202;<br />
#P connect 4 0 3 0;<br />
#P fasten 7 0 3 0 73 198 211 198;<br />
#P connect 3 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 6 0 2 0;<br />
#P pop;<br />
#P newobj 32 239 51 9961481 p gl.scene;<br />
#P message 113 244 32 9961481 reset;<br />
#P newex 113 268 180 9961481 jit.gl.handle drift @inherit_transform 1;<br />
#N vpatcher 25 70 432 250;<br />
#P window setfont Geneva 9.;<br />
#P newex 50 50 48 9961481 t b erase;<br />
#P inlet 50 30 15 0;<br />
#P outlet 50 110 15 0;<br />
#P connect 1 0 2 0;<br />
#P connect 2 0 0 0;<br />
#P fasten 2 1 0 0 93 87 55 87;<br />
#P pop;<br />
#P newobj 22 265 30 9961481 p tbe;<br />
#P newex 22 300 83 9961481 jit.gl.render drift;<br />
#P newex 22 330 169 9961481 jit.window drift @sync 0 @floating 1;<br />
#P toggle 22 42 15 0;<br />
#P newex 22 65 49 9961481 qmetro 5;<br />
#P user panel 369 165 127 30;<br />
#X brgb 67 181 109;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P connect 2 0 1 0;<br />
#P fasten 6 0 4 0 118 294 27 294;<br />
#P connect 5 0 4 0;<br />
#P fasten 1 0 10 0 27 89 85 89;<br />
#P fasten 1 0 8 0 27 229 37 229;<br />
#P connect 1 0 5 0;<br />
#P connect 10 0 9 0;<br />
#P connect 7 0 6 0;<br />
#P window clipboard copycount 11;</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

