<?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: can jitter.gl.shader work with sampler2d?</title>
		<atom:link href="http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 12:12:51 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-32399</guid>
					<title><![CDATA[can jitter.gl.shader work with sampler2d?]]></title>
					<link>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-32399</link>
					<pubDate>Sun, 10 Jun 2007 18:54:59 +0000</pubDate>
					<dc:creator>ico</dc:creator>

					<description>
						<![CDATA[
						<p>Hi all,</p>
<p>In the absence of solution to my previous dilemma, I&#8217;ve delved into glsl and<br />
as a result, I&#8217;ve arrived to two roadblocks/questions:</p>
<p>1) does jitter work with sampler2D instead of sampler2DRect (by the same<br />
token texture2D as opposed to texture2DRect)?</p>
<p>2) in sh.passthrudim.vp.glsl, does texdim0 contain pixel width/height of the<br />
texture or is it values between 0 and 1?</p>
<p>Many thanks!</p>
<p>Ivica Ico Bukvic, D.M.A.<br />
Composition, Music Technology, CCTAD, CHCI<br />
Virginia Tech<br />
Dept. of Music &#8211; 0240<br />
Blacksburg, VA 24061<br />
(540) 231-1137<br />
(540) 231-5034 (fax)<br />
<a href="mailto:ico@vt.edu">ico@vt.edu</a><br />
<a href="http://www.music.vt.edu/people/faculty/bukvic/" rel="nofollow">http://www.music.vt.edu/people/faculty/bukvic/</a></p>
<p><a href="http://ico.bukvic.net" rel="nofollow">http://ico.bukvic.net</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106497</guid>
					<title><![CDATA[Re: can jitter.gl.shader work with sampler2d?]]></title>
					<link>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106497</link>
					<pubDate>Sun, 10 Jun 2007 19:01:06 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>use jit.gl.slab for texture stream processing, it works with both  <br />
sampler2D and rect2D :)</p>
<p>On Jun 10, 2007, at 2:54 PM, Ivica Ico Bukvic wrote:</p>
<p>> Hi all,<br />
><br />
> In the absence of solution to my previous dilemma, I&#8217;ve delved into  <br />
> glsl and<br />
> as a result, I&#8217;ve arrived to two roadblocks/questions:<br />
><br />
> 1) does jitter work with sampler2D instead of sampler2DRect (by the  <br />
> same<br />
> token texture2D as opposed to texture2DRect)?<br />
><br />
> 2) in sh.passthrudim.vp.glsl, does texdim0 contain pixel width/ <br />
> height of the<br />
> texture or is it values between 0 and 1?<br />
><br />
> Many thanks!<br />
><br />
> Ivica Ico Bukvic, D.M.A.<br />
> Composition, Music Technology, CCTAD, CHCI<br />
> Virginia Tech<br />
> Dept. of Music &#8211; 0240<br />
> Blacksburg, VA 24061<br />
> (540) 231-1137<br />
> (540) 231-5034 (fax)<br />
> <a href="mailto:ico@vt.edu">ico@vt.edu</a><br />
> <a href="http://www.music.vt.edu/people/faculty/bukvic/" rel="nofollow">http://www.music.vt.edu/people/faculty/bukvic/</a><br />
> <a href="http://ico.bukvic.net" rel="nofollow">http://ico.bukvic.net</a><br />
><br />
></p>
<p>v a d e //</p>
<p><a href="http://www.vade.info" rel="nofollow">http://www.vade.info</a><br />
abstrakt.vade.info</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106498</guid>
					<title><![CDATA[Re: can jitter.gl.shader work with sampler2d?]]></title>
					<link>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106498</link>
					<pubDate>Sun, 10 Jun 2007 19:02:22 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>oh. and texture2D is normalized 0 to 1 non rectangluar textures, and  <br />
texture2D rect is the pixel (actually, I think the texel size). you  <br />
can normalize by dividing texcoord/texdim to get the 0 &#8211; 1 floating  <br />
point value that is easier to work with.</p>
<p>
On Jun 10, 2007, at 2:54 PM, Ivica Ico Bukvic wrote:</p>
<p>> Hi all,<br />
><br />
> In the absence of solution to my previous dilemma, I&#8217;ve delved into  <br />
> glsl and<br />
> as a result, I&#8217;ve arrived to two roadblocks/questions:<br />
><br />
> 1) does jitter work with sampler2D instead of sampler2DRect (by the  <br />
> same<br />
> token texture2D as opposed to texture2DRect)?<br />
><br />
> 2) in sh.passthrudim.vp.glsl, does texdim0 contain pixel width/ <br />
> height of the<br />
> texture or is it values between 0 and 1?<br />
><br />
> Many thanks!<br />
><br />
> Ivica Ico Bukvic, D.M.A.<br />
> Composition, Music Technology, CCTAD, CHCI<br />
> Virginia Tech<br />
> Dept. of Music &#8211; 0240<br />
> Blacksburg, VA 24061<br />
> (540) 231-1137<br />
> (540) 231-5034 (fax)<br />
> <a href="mailto:ico@vt.edu">ico@vt.edu</a><br />
> <a href="http://www.music.vt.edu/people/faculty/bukvic/" rel="nofollow">http://www.music.vt.edu/people/faculty/bukvic/</a><br />
> <a href="http://ico.bukvic.net" rel="nofollow">http://ico.bukvic.net</a><br />
><br />
></p>
<p>v a d e //</p>
<p><a href="http://www.vade.info" rel="nofollow">http://www.vade.info</a><br />
abstrakt.vade.info</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106499</guid>
					<title><![CDATA[Re: can jitter.gl.shader work with sampler2d?]]></title>
					<link>http://cycling74.com/forums/topic/can-jitter-gl-shader-work-with-sampler2d/#post-106499</link>
					<pubDate>Sun, 10 Jun 2007 19:03:17 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>> 1) does jitter work with sampler2D instead of sampler2DRect (by the same<br />
> token texture2D as opposed to texture2DRect)?<br />
></p>
<p>Yes.<br />
sampler2D when jit.gl.texture @rectangle 0<br />
sampler2DRect when jit.gl.texture @rectangle 1 (default)</p>
<p>
> 2) in sh.passthrudim.vp.glsl, does texdim0 contain pixel width/height of the<br />
> texture or is it values between 0 and 1?</p>
<p>Jitter textures automatically set the texture matrix to contain the<br />
range of coordinates for the sampler being used.  In the sampler2DRect<br />
this is the number of pixels because rectangular texture coordinates<br />
have that range.  In the sampler2D case, this is [0, 1] because that&#8217;s<br />
the range of square texture coordinates.</p>
<p>wes</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

