<?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: JXS file format &#8211; specifying texture not working?</title>
		<atom:link href="http://cycling74.com/forums/topic/jxs-file-format-specifying-texture-not-working/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/jxs-file-format-specifying-texture-not-working/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 02:24:26 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/jxs-file-format-specifying-texture-not-working/#post-34068</guid>
					<title><![CDATA[JXS file format &#8211; specifying texture not working?]]></title>
					<link>http://cycling74.com/forums/topic/jxs-file-format-specifying-texture-not-working/#post-34068</link>
					<pubDate>Wed, 10 Oct 2007 08:11:09 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Hello</p>
<p>I am trying to auto-load a texture based LUT automatically in my JXS  <br />
file.</p>
<p>the gn.gnoise.2d.jxs shader has a file specified with the syntax</p>
<p>	<texture file="gn.gradperm.png" rectangle="0" filter="none none"  <br></texture>
wrap=&#8221;repeat repeat&#8221; mipmap=&#8221;none&#8221; anisotropy=&#8221;0&#8243; /></p>
<p>
my shader is attempting to load a tiff file, which is within the  <br />
jitter-shaders folder and in the same folder as my shader:</p>
<p><jittershader name="Lomo Camera Emulation"></jittershader></p>
<param name="amount" type="float" default="1." />
<param name="sharpness" type="float" default=".2" />
<param name="tex0" type="int" default="0" />
	<texture file="lut.tiff"></texture>
<param name="tex1" type="int" default="1" />
	<language name="glsl" version="1.0"><br />
		<bind param="tex0" program="fp"></bind><br />
		<bind param="tex1" program="fp"></bind><br />
		<bind param="amount" program="fp"></bind><br />
		<bind param="sharpness" program="vp"></bind>
<program name="vp" type="vertex" source="v001.film-lomo.vp.glsl"></program>
<program name="fp" type="fragment" source="v001.film-lomo.fp.glsl"></program>
	</language><br />

<p>The shader works if the LUT is loaded manually outside of the JXS file.</p>
<p>Also, if one defines a texture within the JXS file, how does one load  <br />
it into a specific texture unit?</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/jxs-file-format-specifying-texture-not-working/#post-114465</guid>
					<title><![CDATA[Re: JXS file format &#8211; specifying texture not working?]]></title>
					<link>http://cycling74.com/forums/topic/jxs-file-format-specifying-texture-not-working/#post-114465</link>
					<pubDate>Wed, 10 Oct 2007 08:34:28 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>I should note that my texture is 256&#215;1 LUT, and I amusing a sampler1D  <br />
within the shader for LUT access. I am not certain if this will make  <br />
a difference, but I noticed that with jit.qt.movie and this file, I I  <br />
had to specify the dim to 256&#215;1, which does not with with sampler1D,  <br />
which seems to require simply @dim 256 (which, er, should assume  <br />
256&#215;1?) Perhaps jit.gl.texture using an internal jit.qt.movie for  <br />
loading automatically and that is my issue?</p>
<p>Any way to resolve?</p>
<p>Perhaps thats the issue.</p>
<p>here is the file for reference:</p>
<p>￼</p>
<p>On Oct 10, 2007, at 4:11 AM, vade wrote:</p>
<p>> Hello<br />
><br />
> I am trying to auto-load a texture based LUT automatically in my  <br />
> JXS file.<br />
><br />
> the gn.gnoise.2d.jxs shader has a file specified with the syntax<br />
><br />
> 	<texture file="gn.gradperm.png" rectangle="0" filter="none none"  <br></texture>
> wrap=&#8221;repeat repeat&#8221; mipmap=&#8221;none&#8221; anisotropy=&#8221;0&#8243; /><br />
><br />
><br />
> my shader is attempting to load a tiff file, which is within the  <br />
> jitter-shaders folder and in the same folder as my shader:<br />
><br />
> <jittershader name="Lomo Camera Emulation"><br />
>
<param name="amount" type="float" default="1." />
>
<param name="sharpness" type="float" default=".2" />
>
<param name="tex0" type="int" default="0" />
> 	<texture file="lut.tiff"></texture><br />
>
<param name="tex1" type="int" default="1" />
> 	<language name="glsl" version="1.0"><br />
> 		<bind param="tex0" program="fp"></bind><br />
> 		<bind param="tex1" program="fp"></bind><br />
> 		<bind param="amount" program="fp"></bind><br />
> 		<bind param="sharpness" program="vp"></bind><br />
>
<program name="vp" type="vertex" source="v001.film-lomo.vp.glsl"></program>
>
<program name="fp" type="fragment" source="v001.film- <br></program>
> lomo.fp.glsl&#8221; /><br />
> 	</language><br />
> </jittershader><br />
><br />
> The shader works if the LUT is loaded manually outside of the JXS  <br />
> file.<br />
><br />
> Also, if one defines a texture within the JXS file, how does one  <br />
> load it into a specific texture unit?<br />
><br />
><br />
> v a d e //<br />
><br />
> <a href="http://www.vade.info" rel="nofollow">http://www.vade.info</a><br />
> abstrakt.vade.info<br />
><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>

					
		
	</channel>
	</rss>

