<?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: videoplane distortion on videoplane at 90° Z rotation</title>
		<atom:link href="http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 15:04:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-35768</guid>
					<title><![CDATA[videoplane distortion on videoplane at 90° Z rotation]]></title>
					<link>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-35768</link>
					<pubDate>Tue, 12 Feb 2008 01:39:34 +0000</pubDate>
					<dc:creator>(karrrlo)</dc:creator>

					<description>
						<![CDATA[
						<p>howdy, its me again with another dum question &#8230;..</p>
<p>how come the videoplane is distorted to fit the window on a 90 degrees rotation on the Z axis ?<br />
because of transform_reset 2 ?<br />
how can i avoid this ?<br />
any thoughts , advice much appreciated :)</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 35 123 196 196617 jit.gl.render zzz @erase_color 0. 0. 0. 1.;<br />
#P newex 35 96 133 196617 t b b erase;<br />
#P newex 35 70 51 196617 qmetro 2;<br />
#P message 337 207 14 196617 2;<br />
#P message 324 207 14 196617 1;<br />
#P message 311 207 14 196617 0;<br />
#P message 310 229 101 196617 transform_reset $1;<br />
#P message 294 305 70 196617 size 640 480;<br />
#P message 551 196 20 196617 90;<br />
#P message 534 196 14 196617 0;<br />
#P message 223 305 70 196617 size 320 240;<br />
#P flonum 551 228 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 452 250 109 196617 pak rotatexyz 0. 0. 0.;<br />
#P message 224 163 83 196617 read dishes.mov;<br />
#P newex 223 325 76 196617 jit.window zzz;<br />
#P newex 224 184 63 196617 jit.qt.movie;<br />
#P newex 224 273 337 196617 jit.gl.videoplane zzz @automatic 0 @blend_enable 1 @transform_reset 2;<br />
#P newex 96 166 30 196617 t b b;<br />
#P toggle 35 48 15 0;<br />
#P window linecount 5;<br />
#P comment 591 183 100 196617 why are the proportions of the videoplane changed when rotated in Z axis ?;<br />
#P fasten 12 0 5 0 299 323 228 323;<br />
#P fasten 9 0 5 0 228 323 228 323;<br />
#P connect 4 0 3 0;<br />
#P fasten 7 0 3 0 457 270 229 270;<br />
#P connect 2 0 3 0;<br />
#P connect 13 0 3 0;<br />
#P fasten 18 2 19 0 162 118 40 118;<br />
#P connect 18 0 19 0;<br />
#P connect 18 1 2 0;<br />
#P connect 1 0 17 0;<br />
#P connect 17 0 18 0;<br />
#P connect 16 0 13 0;<br />
#P connect 15 0 13 0;<br />
#P connect 14 0 13 0;<br />
#P connect 11 0 8 0;<br />
#P connect 10 0 8 0;<br />
#P connect 2 1 4 0;<br />
#P connect 8 0 7 3;<br />
#P connect 6 0 4 0;<br />
#P window clipboard copycount 20;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122301</guid>
					<title><![CDATA[Re: videoplane distortion on videoplane at 90° Z rotation]]></title>
					<link>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122301</link>
					<pubDate>Tue, 12 Feb 2008 04:15:23 +0000</pubDate>
					<dc:creator>Dan</dc:creator>

					<description>
						<![CDATA[
						<p>Because that&#8217;s what transform_reset 2 does &#8212; it stretches the  <br />
videoplane to fit the window.  Not sure what you&#8217;re after, but you  <br />
might try using a [jit.gl.slab @file td.rota.jxs] to rotate the video  <br />
before sending it to the videoplane @transform_reset 2.  hope that  <br />
helps!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122302</guid>
					<title><![CDATA[Re: videoplane distortion on videoplane at 90° Z rotation]]></title>
					<link>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122302</link>
					<pubDate>Tue, 12 Feb 2008 09:25:48 +0000</pubDate>
					<dc:creator>(karrrlo)</dc:creator>

					<description>
						<![CDATA[
						<p>
thanks Dan , ill try the td.rota slab trick.<br />
i still wonder if there isn t an easier way to do this (?)<br />
what i am after is actually what is showed in the attached patch :</p>
<p>i am working on a project where i need to have the movies mapped on a videoplane keep their original pixel dimension and aspect ratio no matter what the destination dimensions are. so one pixel on screen = 1 pixel in world.<br />
i then want to be able to manipulate that videoplane without it being distorted.</p>
<p>how can i force it not to be distorted ?</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 677 325 198 196617 3 -rotate it in Z plane;<br />
#P comment 677 312 198 196617 2 &#8211; pick a movie;<br />
#P message 320 170 83 196617 read dvkite.mov;<br />
#P message 444 626 76 196617 size 1440 900;<br />
#P message 373 626 70 196617 size 500 500;<br />
#P newex 534 402 27 196617 / 1.;<br />
#P newex 456 429 87 196617 pak scale 0. 0. 1.;<br />
#P newex 558 581 63 196617 unpack 0 0;<br />
#P newex 558 559 78 196617 route dest_dim;<br />
#P newex 481 357 63 196617 unpack 0 0;<br />
#P newex 481 402 27 196617 / 1.;<br />
#P newex 369 266 27 196617 t l b;<br />
#P message 386 357 65 196617 getdest_dim;<br />
#P newex 284 236 80 196617 t getmovie_dim;<br />
#P newex 284 214 180 196617 route read movie_dim;<br />
#P newex 42 130 196 196617 jit.gl.render zzz @erase_color 0. 0. 0. 1.;<br />
#P newex 42 103 133 196617 t b b erase;<br />
#P newex 42 77 51 196617 qmetro 2;<br />
#P message 107 461 14 196617 2;<br />
#P message 94 461 14 196617 1;<br />
#P message 81 461 14 196617 0;<br />
#P message 80 483 101 196617 transform_reset $1;<br />
#P message 302 626 70 196617 size 640 480;<br />
#P message 558 459 20 196617 90;<br />
#B color 5;<br />
#P message 541 459 14 196617 0;<br />
#P message 231 626 70 196617 size 320 240;<br />
#P flonum 558 491 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 459 513 109 196617 pak rotatexyz 0. 0. 0.;<br />
#P message 231 170 83 196617 read dishes.mov;<br />
#P newex 231 646 147 196617 jit.window zzz @size 500 500;<br />
#P newex 231 191 107 196617 jit.qt.movie <a href='http://cycling74.com/forums/users/adapt/' rel='nofollow' class='bbp-mention-link adapt'>@adapt</a> 1;<br />
#P newex 231 536 337 196617 jit.gl.videoplane zzz @automatic 0 @blend_enable 1 @transform_reset 2;<br />
#P newex 103 173 30 196617 t b b;<br />
#P toggle 42 55 15 0;<br />
#P comment 231 611 251 196617 reload the movie each time you change the movie size;<br />
#P window linecount 2;<br />
#P comment 251 684 259 196617 a 500&#215;500 does not distort the videoplane when rotated on Z axis , whereas a 640X480 window does &#8230;;<br />
#P comment 191 587 100 196617 try different window settings :;<br />
#P window linecount 1;<br />
#P comment 677 299 198 196617 1 &#8211; pick a window size;<br />
#P connect 4 0 20 0;<br />
#P connect 20 0 21 0;<br />
#P connect 21 0 22 0;<br />
#P fasten 21 2 22 0 169 125 47 125;<br />
#P connect 17 0 16 0;<br />
#P connect 18 0 16 0;<br />
#P connect 19 0 16 0;<br />
#P connect 21 1 5 0;<br />
#P fasten 35 0 7 0 325 188 236 188;<br />
#P connect 5 1 7 0;<br />
#P connect 9 0 7 0;<br />
#P fasten 24 0 7 0 289 261 416 261 416 188 244 188 236 188;<br />
#P lcolor 1;<br />
#P connect 31 0 6 0;<br />
#P connect 7 0 6 0;<br />
#P connect 25 0 6 0;<br />
#P connect 16 0 6 0;<br />
#P connect 5 0 6 0;<br />
#P fasten 10 0 6 0 464 533 236 533;<br />
#P fasten 12 0 8 0 236 644 236 644;<br />
#P fasten 15 0 8 0 307 644 236 644;<br />
#P connect 33 0 8 0;<br />
#P connect 34 0 8 0;<br />
#P fasten 7 1 23 0 333 211 289 211;<br />
#P connect 23 0 24 0;<br />
#P connect 23 1 26 0;<br />
#P connect 26 1 25 0;<br />
#P fasten 26 0 28 0 374 288 486 288;<br />
#P connect 28 0 27 0;<br />
#P connect 27 0 31 1;<br />
#P fasten 30 0 27 1 563 608 664 608 664 392 503 392;<br />
#P connect 32 0 31 2;<br />
#P connect 28 1 32 0;<br />
#P fasten 30 1 32 1 616 603 653 603 653 399 556 399;<br />
#P connect 13 0 11 0;<br />
#P connect 14 0 11 0;<br />
#P connect 11 0 10 3;<br />
#P connect 6 1 29 0;<br />
#P connect 29 0 30 0;<br />
#P window clipboard copycount 38;</p>
<p>Quote: Dan wrote on Tue, 12 February 2008 05:15<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Because that&#8217;s what transform_reset 2 does &#8212; it stretches the  <br />
> videoplane to fit the window.  Not sure what you&#8217;re after, but you  <br />
> might try using a [jit.gl.slab @file td.rota.jxs] to rotate the video  <br />
> before sending it to the videoplane @transform_reset 2.  hope that  <br />
> helps!<br />
> <br />
> <br />
> <br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122303</guid>
					<title><![CDATA[Re: videoplane distortion on videoplane at 90° Z rotation]]></title>
					<link>http://cycling74.com/forums/topic/videoplane-distortion-on-videoplane-at-90-z-rotation/#post-122303</link>
					<pubDate>Tue, 08 Jun 2010 00:17:20 +0000</pubDate>
					<dc:creator>angela</dc:creator>

					<description>
						<![CDATA[
						<p>hey list,</p>
<p>quite an old thread, but still a good question.<br />
is there an easy way to rotate a videoplane with reset 2<br />
without distort it.</p>
<p>the only way i found out was store the movie dimension ratio<br />
and use reset 1.</p>
<p>but thats not very comfortable, if you want to scale and rotate<br />
afterwards, or if you load movies with different dimensions.</p>
<p>perhaps there is an elegant solution for this problem. </p>
<p>a.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

