<?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: Silly jit.gl.sketch problem</title>
		<atom:link href="http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 13:43:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-34462</guid>
					<title><![CDATA[Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-34462</link>
					<pubDate>Mon, 05 Nov 2007 10:54:51 +0000</pubDate>
					<dc:creator>solomonB</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
I just started my first ever jitter project and I managed to run into trouble pretty quickly. (I think) I need to draw the contents of jit.gl.sketch into a jit.matrix so I can do further jitter processing such as jit.dimmap and jit.glue. In the jit.gl.sketch help file it says: </p>
<p>The jit.gl.sketch object requires one argument: the name of a drawing context. A named drawing context is a named instance of a jit.window, jit.pwindow, or jit.matrix object that has an instance of the jit.gl.render object associated with it. This value may also be set via the OB3D drawto attribute.</p>
<p>So I loaded up the jit.gl.sketch .help patch and added a jit.matrix and a jit.pwindow both named the same as the jit.gl.sketch argument. I can draw into the supplied jit.window totally fine but nothing shows up in the pwindow or the jit.matrix i created. I also tried changing the names of my pwindow and jit.matrix and using the drawto message sent to jit.gl.sketch and jit.gl.render with no success.</p>
<p>Any idea what I&#8217;m doing wrong?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116340</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116340</link>
					<pubDate>Mon, 05 Nov 2007 14:09:04 +0000</pubDate>
					<dc:creator>joshua goldberg</dc:creator>

					<description>
						<![CDATA[
						<p>if this is your first jitter project, consider using jit.lcd to make  <br />
your original seed, not jit.gl.sketch.  save the gl stuff for exercise  <br />
two; you&#8217;ll find jit.lcd a lot easier to use at first.</p>
<p>j</p>
<p>On Nov 5, 2007, at 5:54 AM, Solomon Bothwell wrote:</p>
<p>><br />
> Hi,<br />
> I just started my first ever jitter project and I managed to run  <br />
> into trouble pretty quickly. (I think) I need to draw the contents  <br />
> of jit.gl.sketch into a jit.matrix so I can do further jitter  <br />
> processing such as jit.dimmap and jit.glue. In the jit.gl.sketch  <br />
> help file it says:<br />
><br />
> The jit.gl.sketch object requires one argument: the name of a  <br />
> drawing context. A named drawing context is a named instance of a  <br />
> jit.window, jit.pwindow, or jit.matrix object that has an instance  <br />
> of the jit.gl.render object associated with it. This value may also  <br />
> be set via the OB3D drawto attribute.<br />
><br />
> So I loaded up the jit.gl.sketch .help patch and added a jit.matrix  <br />
> and a jit.pwindow both named the same as the jit.gl.sketch argument.  <br />
> I can draw into the supplied jit.window totally fine but nothing  <br />
> shows up in the pwindow or the jit.matrix i created. I also tried  <br />
> changing the names of my pwindow and jit.matrix and using the drawto  <br />
> message sent to jit.gl.sketch and jit.gl.render with no success.<br />
><br />
> Any idea what I&#8217;m doing wrong?<br />
></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116341</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116341</link>
					<pubDate>Mon, 05 Nov 2007 15:03:48 +0000</pubDate>
					<dc:creator>solomonB</dc:creator>

					<description>
						<![CDATA[
						<p>Well..<br />
Step two involved figuring out how to do some things which I imagine would require openGL. I need to draw lines in 3d space which fade from tail to head as they get longer.</p>
<p>I meant this is the first somewhat difficult jitter task I am attempting. I have been through all the tutorials and have made some simpler patches in the past.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116342</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116342</link>
					<pubDate>Mon, 05 Nov 2007 15:33:20 +0000</pubDate>
					<dc:creator>joshua goldberg</dc:creator>

					<description>
						<![CDATA[
						<p>try using the @capture [texturename] attribute with jit.gl.sketch.</p>
<p>On Nov 5, 2007, at 10:03 AM, Solomon Bothwell wrote:</p>
<p>><br />
> Well..<br />
> Step two involved figuring out how to do some things which I imagine  <br />
> would require openGL. I need to draw lines in 3d space which fade  <br />
> from tail to head as they get longer.<br />
><br />
> I meant this is the first somewhat difficult jitter task I am  <br />
> attempting. I have been through all the tutorials and have made some  <br />
> simpler patches in the past.<br />
></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116343</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116343</link>
					<pubDate>Mon, 05 Nov 2007 16:25:28 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>Alternatively, you could use jit.gl.mesh @draw_mode lines with the<br />
first column the head and the second the tail.  In another matrix,<br />
setup your colors with appropriate fade values.</p>
<p>wes</p>
<p>On 11/5/07, joshua goldberg <wugmump @speakeasy.org> wrote:<br />
> try using the @capture [texturename] attribute with jit.gl.sketch.<br />
><br />
> On Nov 5, 2007, at 10:03 AM, Solomon Bothwell wrote:<br />
><br />
> ><br />
> > Well..<br />
> > Step two involved figuring out how to do some things which I imagine<br />
> > would require openGL. I need to draw lines in 3d space which fade<br />
> > from tail to head as they get longer.<br />
> ><br />
> > I meant this is the first somewhat difficult jitter task I am<br />
> > attempting. I have been through all the tutorials and have made some<br />
> > simpler patches in the past.<br />
> ><br />
><br />
></wugmump></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116344</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116344</link>
					<pubDate>Tue, 06 Nov 2007 02:37:27 +0000</pubDate>
					<dc:creator>solomonB</dc:creator>

					<description>
						<![CDATA[
						<p>See this is something that frustrates me about jitter. Theres no mention of that attribute in the gl group docs glsketch docs or the jitter tutorials. How am I supposed to understand what it does or how to use it? </p>
<p>In the gl.render help file I can see a very clear example of how to write the contents of gl.render into a jit.matrix. Why doesn&#8217;t this work if gl.render is rendering gl.sketch data?</p>
<p>I know these problems are entirely based in my ignorance of the material but I find it very difficult to understand rendering and the documentation for jitter doesn&#8217;t seem to cover everything. Its funny because I love the msp and max documentation, its the best docs I&#8217;ve ever seen for any application and I often recommend non-max users to read the MSP docs when they want to understand how basic synthesis techniques work.</p>
<p>So could you explain why the grey boxed area of this patcher does not work?</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 19 513 59 196617 drawto foo;<br />
#P newex 143 491 135 196617 jit.matrix foo @dim 100 75;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 16 10 110 196626 jit.gl.sketch;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 16 35 85 196617 GL parallel to lcd;<br />
#P user panel 11 5 400 50;<br />
#X brgb 255 255 255;<br />
#X frgb 0 0 0;<br />
#X border 0;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P message 647 701 35 196617 jit.lcd;<br />
#P message 583 701 63 196617 jit.gl.text3d;<br />
#P message 519 701 63 196617 jit.gl.text2d;<br />
#P message 455 701 63 196617 jit.gl.render;<br />
#P message 399 701 55 196617 jit.gl.plato;<br />
#P message 340 701 58 196617 jit.gl.nurbs;<br />
#P message 280 701 59 196617 jit.gl.model;<br />
#P message 218 701 61 196617 jit.gl.handle;<br />
#P message 142 701 75 196617 jit.gl.gridshape;<br />
#P hidden newex 13 747 104 196617 bgcolor 255 230 230;<br />
#P comment 142 687 48 196617 see also:;<br />
#P hidden newex 582 723 64 196617 prepend help;<br />
#P hidden newex 582 744 45 196617 pcontrol;<br />
#P hidden newex 13 726 103 196617 jit.obref jit.gl.sketch;<br />
#P button 13 701 15 0;<br />
#P comment 29 703 112 196617 &#8226; view html reference.;<br />
#P newex 164 369 89 196617 route attributes;<br />
#P newex 164 389 50 196617 iter;<br />
#P message 739 540 75 196617 getattributes;<br />
#P window linecount 9;<br />
#P comment 739 428 185 196617 many attributes like color , line_width , rotate , scale , etc. are not drawing commands , but instead global values which may affect the entire command list. use the gl command equivalents when a drawing command is what you&#8217;re really looking for. if you can&#8217;t tell which is an attribute , try clicking &#8220;getattributes&#8221; below.;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P window linecount 1;<br />
#P comment 740 399 162 196626 ob3d attributes;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P flonum 77 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 77 287 51 196617 radius $1;<br />
#P newex 77 306 78 196617 jit.gl.handle foo;<br />
#P toggle 661 623 15 0;<br />
#P message 661 646 80 196617 blend_enable $1;<br />
#P message 256 165 65 196617 line 0 0 -0.1;<br />
#P message 256 147 65 196617 line 0 -0.1 0;<br />
#P message 256 129 65 196617 line -0.1 0 0;<br />
#P message 292 454 105 196617 shapeprim quad_Strip;<br />
#P toggle 206 427 15 0;<br />
#P message 206 450 70 196617 displaylist $1;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 503 111 162 196626 simple commands;<br />
#P comment 503 261 162 196626 shape commands;<br />
#P comment 502 401 162 196626 shape attributes;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 4;<br />
#P comment 16 68 174 196617 jit.gl.sketch records a list of 3-D drawing commands. these commands range from simple turtle graphics to the majority of the OpenGL API;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P window linecount 1;<br />
#N vpatcher 213 499 658 688;<br />
#P origin 60 40;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P hidden newex 234 136 104 196617 bgcolor 255 230 230;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 220 25 189 196626 cmdlist commands;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 65 29 32 196617 reset;<br />
#P comment 220 54 194 196617 cmd_delete <index /command> ; cmd_enable </index><index /command> <on /off> ; cmd_insert <index> <command /> <args> ; cmd_replace <index> <command /> <args> ; getcmdlist ; reset ;;<br />
#P toggle 95 101 15 0;<br />
#P message 95 119 109 196617 cmd_enable glcolor $1;<br />
#P toggle 8 101 15 0;<br />
#P message 77 65 93 196617 cmd_delete glcolor;<br />
#P newex 8 142 51 196617 s sketchy;<br />
#P message 8 83 169 196617 cmd_replace 0 moveto 0.2 0.6 -0.7;<br />
#P message 8 119 84 196617 cmd_enable 0 $1;<br />
#P message 8 65 67 196617 cmd_delete 0;<br />
#P message 8 47 140 196617 cmd_insert 0 glcolor 1 0 0 1;<br />
#P message 8 29 55 196617 getcmdlist;<br />
#P connect 7 0 3 0;<br />
#P hidden connect 11 0 5 0;<br />
#P hidden connect 0 0 5 0;<br />
#P hidden connect 1 0 5 0;<br />
#P hidden connect 2 0 5 0;<br />
#P hidden connect 3 0 5 0;<br />
#P hidden connect 4 0 5 0;<br />
#P hidden connect 6 0 5 0;<br />
#P hidden connect 8 0 5 0;<br />
#P connect 9 0 8 0;<br />
#P pop;<br />
#P newobj 502 472 194 196626 p cmdlist_commands;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 378 435 78 196617 shapeprim lines;<br />
#P message 292 435 84 196617 shapeprim points;<br />
#P message 363 417 90 196617 shapeslice 100 50;<br />
#P message 292 417 69 196617 shapeslice 10;<br />
#P message 406 399 93 196617 shapeorient 0 90 0;<br />
#P message 292 399 111 196617 shapeorient 25 35 180;<br />
#P window linecount 3;<br />
#P comment 502 430 174 196617 shapeorient <x -rot> <y -rot> <z -rot> ; shapeslice <slice A> </slice><slice B> ; shapeprim <draw prim> ;;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P window linecount 1;<br />
#N vpatcher 109 465 889 729;<br />
#P origin 49 40;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P hidden newex 12 210 104 196617 bgcolor 255 230 230;<br />
#P newex 578 117 156 196617 jit.gl.gridshape nowhere @name squeamish @shape torus;<br />
#P message 579 154 155 196617 glcolor 1 0 0 , glscale 0.2 0.2 0.2 , drawobject squeamish 1 , glrotate 90 0 1 0 , glcolor 0 1 0 , drawobject squeamish 1;<br />
#P newex 466 65 84 196617 prepend shape;<br />
#P user umenu 466 42 85 196647 1 64 58 1;<br />
#X add sphere;<br />
#X add cylinder;<br />
#X add opencylinder;<br />
#X add torus;<br />
#X add circle;<br />
#X add cube;<br />
#X add opencube;<br />
#X add plane;<br />
#P newex 466 164 82 196617 jit.matrix blotto;<br />
#P newex 466 88 255 196617 jit.gl.gridshape nowhere @shape cube @matrixoutput 1;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 53 18 162 196626 object commands;<br />
#P button 10 120 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 10 153 127 196617 jit.noise 12 float32 10 10 @out_name blitto;<br />
#P message 190 152 132 196617 drawmatrix blitto tri_strip;<br />
#P newex 190 228 51 196617 s sketchy;<br />
#P comment 54 47 402 196617 drawobject <objectname> <ignore ob3d attributes> ; drawmatrix <matrixname> <draw prim> <texflag> <normalflag><br />
<colorflag> <edgeflag> ; dimorient &lt;0/1> (affects drawmatrix command. initial state is 0);<br />
#P message 203 192 373 196617 reset , drawmatrix blotto line_strip , dimorient 1 , drawmatrix blotto line_strip;<br />
#P button 410 110 15 0;<br />
#P comment 177 86 185 196617 texflag: 0=use , 1=ignore , 2=auto ; normalflag: 0=use , 1=ignore , 2=auto ; colorflag: 0=use , 1=ignore ; edgeflag: 0=use , 1=ignore;<br />
#P connect 7 0 6 0;<br />
#P fasten 7 0 5 0 15 143 195 143;<br />
#P fasten 13 0 4 0 584 223 195 223;<br />
#P fasten 2 0 4 0 208 221 195 221;<br />
#P connect 5 0 4 0;<br />
#P fasten 1 0 2 0 415 184 208 184;<br />
#P fasten 11 1 12 0 546 62 471 62;<br />
#P fasten 1 0 9 0 415 144 461 144 461 85 471 85;<br />
#P connect 12 0 9 0;<br />
#P connect 9 0 10 0;<br />
#P pop;<br />
#P newobj 502 538 187 196626 p object_commands;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 330 117 169 196617 linesegment 0.1 0.2 0.3 0.4 0.5 0.6;<br />
#P newex 17 548 73 196617 r render_baby;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#N vpatcher 341 288 679 515;<br />
#P origin 49 40;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P hidden newex 167 139 104 196617 bgcolor 255 230 230;<br />
#P message 246 82 72 196617 texture movie;<br />
#P newex 16 190 73 196617 s render_baby;<br />
#P message 205 45 42 196617 rate $1;<br />
#P flonum 205 25 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 16 139 144 196617 prepend texture movie;<br />
#P newex 16 105 215 196617 jit.matrix 4 char 256 256 @planemap 1 1 2 3;<br />
#P message 79 45 28 196617 read;<br />
#P message 149 45 27 196617 stop;<br />
#P message 115 45 31 196617 start;<br />
#P toggle 16 24 15 0;<br />
#P newex 16 44 55 196617 metro 20;<br />
#P newex 16 80 103 196617 jit.qt.movie 320 240;<br />
#P comment 33 25 158 196617 &#8226; read a movie and turn metro on;<br />
#P newex 246 104 51 196617 s sketchy;<br />
#P connect 4 0 3 0;<br />
#P fasten 11 0 2 0 210 71 21 71;<br />
#P fasten 5 0 2 0 120 71 21 71;<br />
#P fasten 6 0 2 0 154 71 21 71;<br />
#P fasten 7 0 2 0 84 71 21 71;<br />
#P fasten 3 0 2 0 21 71 21 71;<br />
#P connect 2 0 8 0;<br />
#P fasten 8 0 9 0 21 130 21 130;<br />
#P connect 9 0 12 0;<br />
#P connect 10 0 11 0;<br />
#P connect 13 0 0 0;<br />
#P pop;<br />
#P newobj 502 572 155 196626 p movie_texture;<br />
#P user jit.fpsgui 49 391 60 196626 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 344 363 64 196617 cube 0.2 0.6;<br />
#P message 340 381 82 196617 cube 0.3 0.4 0.5;<br />
#P message 363 345 98 196617 torus 0.4 0.2 0 180;<br />
#P message 374 273 121 196617 framecircle 0.3 140 270;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#N vpatcher 332 90 1085 787;<br />
#P origin 49 39;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P hidden newex 354 659 104 196617 bgcolor 255 230 230;<br />
#P message 542 29 28 196617 read;<br />
#P message 618 105 104 196617 gldisable depth_test , gldrawpixels xfer , glenable depth_test;<br />
#P button 523 29 15 0;<br />
#P newex 523 50 91 196617 jit.qt.movie 80 60;<br />
#P message 619 159 85 196617 glreadpixels xfer;<br />
#P button 633 48 15 0;<br />
#P user jit.pwindow 522 105 82 62 0 1 0 0 1 0;<br />
#P newex 523 75 138 196617 jit.matrix xfer 4 char 80 60;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 61 602 218 196626 glu wrapper;<br />
#P comment 380 193 103 196626 gl wrapper;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 61 629 218 196617 glulookat <fovy> ; gluortho2d <left> <right> <bottom> <top> ; gluperspective <fovy> <aspect> <near> <far> ;;<br />
#N vpatcher 318 48 1063 814;<br />
#P origin 0 30;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 581 425 137 196626 texgen mode;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 581 453 119 196617 object_linear ; sphere_map ; eye_linear;<br />
#P comment 437 306 119 196617 modulate ; decal ; blend ; replace;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 437 278 142 196626 texenv mode;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P hidden newex 408 712 104 196617 bgcolor 255 230 230;<br />
#P comment 439 652 119 196617 nearest ; linear ; clamp ; repeat;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 438 624 218 196626 texparameter pvalue;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 438 553 119 196617 mag_filter ; min_filter ; wrap_s ; wrap_t ; border_color;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 438 525 218 196626 texparameter pname;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 438 481 119 196617 texture_gen_mode ; object_plane ; eye_plane;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 438 453 137 196626 texgen pname;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 438 394 119 196617 s ; t ; r ; q;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 438 365 125 196626 texgen coord;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 437 246 119 196617 mode ; color;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 437 218 119 196626 texenv;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 437 187 119 196617 flat ; smooth;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 437 159 119 196626 shademodel;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 437 51 120 196617 red_scale ; red_bias ; green_scale ; green_bias ; blue_scale ; blue_bias ; alpha_scale ; alpha_bias;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 437 23 119 196626 pixeltransfer;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 687 106 196617 fill 0 ; line 1 ; point 2;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 659 133 196626 polygonmode;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 614 106 196617 modelview ; projection ; texture;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 586 133 196626 matrixmode;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 122 120 196617 ambient ; diffuse ; specular ; position ; spot_cutoff ; spot_direction ; spot_exponent ; linear_attenuation ; quadratic_attenuation;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 94 119 196626 lightparam;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 50 120 196617 ambient ; local_viewer ; two_side;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 22 119 196626 lightmodel;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 167 640 116 196617 perspective_correction ; point_smooth ; line_smooth ; polygon_smooth ; fog;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 167 612 117 196626 hint target;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 30 673 101 196617 dont_care ; nicest ; fastest;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 30 645 100 196626 hint mode;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 30 600 101 196617 linear ; exp ; exp2;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 30 572 100 196626 fog;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 167 74 106 196617 fog ; lighting ; texture ; line_stipple ; polygon_stipple ; cull_face ; alpha_test ; blend ; index_logic_op ; color_logic_op ; dither ; stencil_test ; depth_test ; clip_plane0 ; clip_plane1 ; clip_plane2 ; clip_plane3 ; clip_plane4 ; clip_plane5 ; light0 ; light1 ; light2 ; light3 ; light4 ; light5 ; light6 ; light7 ; texture_gen_s ; texture_gen_t ; texture_gen_r ; texture_gen_q ; point_smooth ; line_smooth ; polygon_smooth ; scissor_test ; color_material ; normalize ; auto_normal ; polygon_offset_point ; polygon_offset_line ; polygon_offset_fill;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 166 22 100 196626 enable/ disable;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 501 106 196617 ambient ; diffuse ; specular ; emission ; ambient_and_diffuse ; shininess;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 473 137 196626 materialparam;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 290 272 101 196617 clear ; and ; and_inverse ; copy ; noop ; xor ; or ; nor ; equiv ; invert ; or_reverse ; copy_inverted ; or_inverted ; nand ; set;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 290 244 100 196626 logicop;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 30 502 124 196617 ambient ; diffuse ; specular ; emission ; ambient_and_diffuse;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 30 474 136 196626 colormaterial;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 30 416 131 196617 front 1 ; back 2 (cullface default) ; front_and_back 3 (all others default);<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 30 388 100 196626 face;<br />
#P comment 30 211 122 196626 blendfunc;<br />
#P comment 30 22 107 196626 draw prims;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 30 50 67 196617 lines ; line_loop ; line_strip ; points ; polygon ; quads ; quad_grid ; quad_strip ; triangles ; tri_grid ; tri_fan ; tri_strip;<br />
#P comment 30 240 131 196617 zero 0 ; one 1 ; dst_color 2 ; src_color 3 ; one_minus_dst_color 4 ; one_minus_src_color 5 ; src_alpha 6 ; one_minus_src_alpha 7 ; dst_alpha 8 ; one_minus_dst_alpha 9 ; src_alpha_saturate 10;<br />
#P pop;<br />
#P newobj 490 198 119 196617 p gl_symbolic_constants;<br />
#P comment 353 221 345 196617 gllogicop <opcode> ; glmaterial ; glmatrixmode <mode> ; glmultmatrix <matrixname> ; glnormal <x> <y> <z> ; glortho <left> <right> <bottom> <top> <near> <far> ; glpixeltransfer<parameter name><value> ; glpixelzoom <x -factor> <y -factor> ; glpointsize <size> ; glpolygonmode <face> <mode> ; glpolygonoffset <factor> <units> ; glpopattrib ; glpopmatrix ; glpushattrib ; glpushmatrix ; glrasterpos <x> <y> <z> <w> ; glreadpixels <matrixname> <x> <y> <width> <height> ; glrect <x1> <y1> <x2> <y2> ; glrotate <angle> <x> <y> <z> ; glscale <x -scale> <y -scale> <z -scale> ; glscissor <x> <y> <width> <height> ; glshademodel <mode> ; gltexcoord <s> <t> ; gltexenv<parameter name><val1> (<val2> <val3> <val4>) ; gltexgen <coord><parameter name><val1> (<val2> <val3> <val4>) ; gltexparameter<parameter name><val1> (<val2> <val3> <val4>) ; gltranslate <delta -x> </delta><delta -y> </delta><delta -z> ; glvertex <x> <y> <z> ; glviewport <x> <y> <width> <height>;<br />
#P message 7 24 109 196617 reset , glpointsize 4 , shapeprim points , glcolor 1 0 0 , torus 1. 0.3;<br />
#P message 141 101 92 196617 glenable lighting , glenable light0 , glenable normalize;<br />
#P message 357 23 159 196617 reset , glenable texture , glbindtexture grid , cylinder 1. 0.5 , glenable polygon_offset_fill , glpolygonoffset 1. -100. , glcolor 1 0 0 0 , gldisable texture , sphere 0.3 , glpolygonoffset 1. -200. , glcolor 0 0 0 , glenable polygon_offset_line , glpolygonmode front_and_back line , circle 0.3 , gldisable polygon_offset_fill , gldisable polygon_offset_line ,;<br />
#P message 20 97 103 196617 glbegin line_loop , glvertex 0 0.5 0.5 , glvertex 0.5 0 0.2 , glvertex 0.1 0.5 0.5 , glend;<br />
#P message 129 26 75 196617 glbegin points , glvertex 0 2 0 , glvertex 1 2 0 , glvertex 1 0 1 , glend;<br />
#P newex 7 229 51 196617 s sketchy;<br />
#P message 240 22 114 196617 reset , glenable cull_face , glcullface back , shapeslices 50 20 , glcolor 0.4 0.4 0 , cylinder 0.05 0.05 0.5 , moveto 0 0 -0.5 , shapeorient 180 0 0 , circle 0.1 , glcolor 0.3 0.2 1 , moveto 0 0 0.5 , circle 0.2 , moveto 0 0 0.75 , shapeorient 0 0 0 , cylinder 0 0.2 0.25;<br />
#P comment 62 221 290 196617 glbegin <draw prim> ; glbindtexture <texture name> ; glblendfunc <src -function> <dst -function> ; glclear ; glclearcolor <red> <green> <blue> <alpha> ; glcleardepth <depth> ; glclipplane
<plane> <coeff1> <coeff2> <coeff3> <coeff4> ; glcolor <red> <green> <blue> (<alpha>) ; glcolormask <red> <green> <blue> <alpha> ; glcolormaterial <face> <mode> ; glcullface <face> ; gldepthmask &lt;0/1> ; gldepthrange <near> <far> ; gldisable <capability> ; gldrawpixels <matrixname> (src <x> <y> <width> <height>) ; gledgeflag &lt;0/1> ; glenable <capability> ; glend ; glfinish ; glflush ; glfog<parameter name><value> ; glfrustum <left> <right> <bottom> <top> <near> <far> ; glhint <target> <mode> ; gllight
<light><parameter name><value> ; gllightmodel<parameter name><value> ; gllinestipple <factor> <bit -pattern> ; gllinewidth <width> ; glloadidentity ; glloadmatrix <matrixname>;<br />
#P comment 352 611 333 196617 SUBJECT TO CHANGE: glDrawPixels , glReadpixels;<br />
#P fasten 17 0 3 0 624 189 12 189;<br />
#P fasten 8 0 3 0 12 152 12 152;<br />
#P fasten 5 0 3 0 25 199 12 199;<br />
#P fasten 4 0 3 0 134 199 12 199;<br />
#P fasten 7 0 3 0 146 199 12 199;<br />
#P fasten 2 0 3 0 245 199 12 199;<br />
#P fasten 6 0 3 0 362 199 12 199;<br />
#P fasten 20 0 3 0 623 149 614 149 614 189 12 189;<br />
#P connect 19 0 18 0;<br />
#P fasten 21 0 18 0 547 48 528 48;<br />
#P fasten 16 0 14 0 638 70 528 70;<br />
#P connect 18 0 14 0;<br />
#P connect 14 0 15 0;<br />
#P pop;<br />
#P newobj 502 505 146 196626 p gl_commands;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 292 484 51 196617 s sketchy;<br />
#P message 358 327 95 196617 cylinder 0 0.6 0.25;<br />
#P newex 172 290 51 196617 r sketchy;<br />
#P message 292 381 45 196617 cube 0.2;<br />
#P message 292 363 49 196617 plane 0.5;<br />
#P message 292 327 63 196617 cylinder 0.4;<br />
#P message 292 345 68 196617 torus 0.3 0.1;<br />
#P message 193 165 60 196617 line 0 0 0.1;<br />
#P message 193 147 60 196617 line 0 0.1 0;<br />
#P message 347 255 88 196617 circle 0.4 45 135;<br />
#P message 350 309 104 196617 sphere 0.7 0 90 0 90;<br />
#P newex 412 678 51 196617 s sketchy;<br />
#P number 363 623 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 363 646 64 196617 cull_face $1;<br />
#P message 356 599 63 196617 texture grid;<br />
#P message 356 581 51 196617 texture 0;<br />
#P message 48 615 91 196617 texture grid 64 64;<br />
#P message 292 273 79 196617 framecircle 0.2;<br />
#P message 40 594 78 196617 camera 8 8 8;<br />
#P message 193 93 88 196617 move 0.1 0.1 0.1;<br />
#P message 193 111 95 196617 moveto -0.2 -0.3 0;<br />
#P newex 243 415 40 196617 print;<br />
#P message 370 291 100 196617 frameellipse 0.7 0.3;<br />
#P message 292 291 73 196617 ellipse 0.1 0.4;<br />
#P message 292 255 52 196617 circle 0.1;<br />
#P message 27 574 78 196617 camera 2 2 2;<br />
#P message 172 646 69 196617 line_width $1;<br />
#P flonum 172 623 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 193 219 75 196617 glcolor 0. 0. 1.;<br />
#P message 193 201 75 196617 glcolor 0. 1. 0.;<br />
#P window linecount 6;<br />
#P message 330 171 32 196617 framequad 0 0 0 0 1 2 1 0 1 1 3 1;<br />
#P window linecount 1;<br />
#P message 330 153 126 196617 frametri 0 4 0 1 1 0 1 1 3;<br />
#P toggle 411 201 15 0;<br />
#P message 411 224 81 196617 autonormal $1;<br />
#P message 97 654 69 196617 point_size $1;<br />
#P flonum 97 631 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 330 135 104 196617 tri 0 0 0 0 1 0 1 1 0;<br />
#P window linecount 5;<br />
#P message 367 171 30 196617 quad 0 0 0 0 1 1 1 1 1 1 0 0;<br />
#P window linecount 1;<br />
#P message 193 129 60 196617 line 0.1 0 0;<br />
#P message 193 183 85 196617 lineto 0.1 0.1 0.1;<br />
#P flonum 546 624 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 507 624 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 468 624 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 678 81 64 196617 shininess $1;<br />
#P flonum 678 58 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P toggle 290 623 15 0;<br />
#P message 290 646 70 196617 displaylist $1;<br />
#P toggle 484 58 15 0;<br />
#P message 484 81 94 196617 smooth_shading $1;<br />
#P message 193 237 91 196617 glcolor 1. 0. 0. 0.5;<br />
#P toggle 834 564 15 0;<br />
#P newex 795 563 35 196617 sel 27;<br />
#P toggle 583 58 15 0;<br />
#P message 583 81 90 196617 lighting_enable $1;<br />
#P newex 5 184 43 196617 jit.qball;<br />
#P message 834 582 68 196617 fullscreen $1;<br />
#P toggle 242 623 15 0;<br />
#P message 242 646 44 196617 axes $1;<br />
#P toggle 641 624 15 0;<br />
#P toggle 600 624 15 0;<br />
#P newex 559 643 92 196617 pak poly_mode 0 0;<br />
#P hidden newex 447 30 50 196617 loadbang;<br />
#P number 50 135 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P toggle 396 58 15 0;<br />
#P message 396 81 81 196617 depth_enable $1;<br />
#P toggle 5 135 15 0;<br />
#P newex 5 161 55 196617 metro 20;<br />
#P newex 5 215 55 196617 t b erase b;<br />
#P newex 172 334 79 196617 jit.gl.sketch foo;<br />
#B color 5;<br />
#P newex 5 645 80 196617 jit.gl.render foo;<br />
#P newex 752 606 145 196617 jit.window foo @depthbuffer 1;<br />
#P hidden message 527 37 14 196617 1;<br />
#P newex 429 643 128 196617 pak position 0. 0. 0.;<br />
#P message 292 309 55 196617 sphere 0.5;<br />
#P newex 750 563 40 196617 key;<br />
#P window linecount 9;<br />
#P comment 503 289 417 196617 circle <radius>
<theta -start>
</theta><theta -end> ; framecircle <radius>
<theta -start>
</theta><theta -end> ; ellipse <radius1> <radius2>
<theta -start>
</theta><theta -end> ; frameellipse <radius1> <radius2>
<theta -start>
</theta><theta -end> ; sphere <radius>
<theta1 -start>
</theta1><theta1 -end>
<theta2 -start>
</theta2><theta2 -end> ; cylinder <radius1> <radius2> <mag>
<theta -start>
</theta><theta -end> ; torus <radius1> <radius2>
<theta1 -start>
</theta1><theta1 -end>
<theta2 -start>
</theta2><theta2 -end> ; cube <scale -x1> </scale><scale -y1> </scale><scale -z1> ; plane </scale><scale -x1> </scale><scale -y1> </scale><scale -x2> </scale><scale -y2> ;;<br />
#P window linecount 10;<br />
#P comment 503 138 364 196617 move <delta -x> </delta><delta -y> </delta><delta -z> ; moveto <x> <y> <z> ; point <x> <y> <z> ; line <delta -x> </delta><delta -y> </delta><delta -z> ; lineto <x> <y> <z> ; linesegment <x1> <y1> <z1> <x2> <y2> <z2> ; quad <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> <x4> <y4> <z4> ; framequad <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> <x4> <y4> <z4> ; tri <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> ; frametri <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> ;;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P window linecount 1;<br />
#P message 385 479 61 196626 reset;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 26 492 114 196617 why is this invalid? &#8211;>;<br />
#P user jit.pwindow 142 526 102 77 0 1 0 0 1 0;<br />
#P user panel 15 472 267 68;<br />
#X brgb 191 191 191;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P connect 139 0 11 0;<br />
#P connect 13 0 11 0;<br />
#P connect 30 0 25 0;<br />
#P fasten 29 0 30 0 800 581 831 581 831 561 839 561;<br />
#P fasten 6 0 29 0 755 582 792 582 792 561 800 561;<br />
#P fasten 25 0 10 0 839 601 757 601;<br />
#P connect 36 0 37 0;<br />
#P connect 110 0 109 0;<br />
#P connect 22 0 20 2;<br />
#P connect 21 0 20 1;<br />
#P connect 28 0 27 0;<br />
#P hidden fasten 9 0 17 0 532 55 401 55;<br />
#P hidden fasten 9 0 33 0 532 55 489 55;<br />
#P hidden fasten 9 0 28 0 532 55 588 55;<br />
#P hidden connect 123 0 122 0;<br />
#P hidden fasten 126 0 123 0 147 719 587 719;<br />
#P hidden fasten 127 0 123 0 223 719 587 719;<br />
#P hidden fasten 128 0 123 0 285 719 587 719;<br />
#P hidden fasten 129 0 123 0 345 719 587 719;<br />
#P hidden fasten 130 0 123 0 404 719 587 719;<br />
#P hidden fasten 131 0 123 0 460 719 587 719;<br />
#P hidden fasten 132 0 123 0 524 719 587 719;<br />
#P hidden fasten 133 0 123 0 588 719 587 719;<br />
#P hidden fasten 134 0 123 0 652 719 587 719;<br />
#P connect 40 0 8 3;<br />
#P hidden connect 19 0 9 0;<br />
#P connect 39 0 8 2;<br />
#P connect 33 0 32 0;<br />
#P connect 38 0 8 1;<br />
#P fasten 116 0 69 0 744 670 417 670;<br />
#P fasten 109 0 69 0 666 670 417 670;<br />
#P fasten 54 0 69 0 177 670 417 670;<br />
#P fasten 46 0 69 0 102 670 417 670;<br />
#P fasten 8 0 69 0 434 670 417 670;<br />
#P fasten 67 0 69 0 368 670 417 670;<br />
#P fasten 34 0 69 0 295 670 417 670;<br />
#P fasten 20 0 69 0 564 670 417 670;<br />
#P fasten 23 0 69 0 247 670 417 670;<br />
#P hidden fasten 66 0 69 0 361 670 417 670;<br />
#P hidden fasten 65 0 69 0 361 670 417 670;<br />
#P connect 48 0 47 0;<br />
#P connect 17 0 16 0;<br />
#P connect 68 0 67 0;<br />
#P hidden connect 105 0 80 0;<br />
#P fasten 103 0 80 0 211 467 297 467;<br />
#P hidden connect 3 0 80 0;<br />
#P hidden fasten 96 0 80 0 297 456 297 456;<br />
#P hidden fasten 97 0 80 0 383 456 297 456;<br />
#P hidden fasten 95 0 80 0 368 462 297 462;<br />
#P hidden fasten 93 0 80 0 411 462 297 462;<br />
#P hidden fasten 94 0 80 0 297 462 297 462;<br />
#P hidden fasten 77 0 80 0 297 462 297 462;<br />
#P hidden fasten 76 0 80 0 297 462 297 462;<br />
#P hidden fasten 74 0 80 0 297 462 297 462;<br />
#P hidden fasten 79 0 80 0 363 462 297 462;<br />
#P hidden fasten 75 0 80 0 297 462 297 462;<br />
#P hidden fasten 70 0 80 0 355 462 297 462;<br />
#P hidden fasten 7 0 80 0 297 462 297 462;<br />
#P hidden fasten 58 0 80 0 375 462 297 462;<br />
#P hidden fasten 57 0 80 0 297 462 297 462;<br />
#P hidden fasten 63 0 80 0 297 462 297 462;<br />
#P hidden fasten 71 0 80 0 352 462 297 462;<br />
#P hidden fasten 56 0 80 0 297 462 297 462;<br />
#P hidden fasten 82 0 80 0 379 462 297 462;<br />
#P hidden fasten 83 0 80 0 368 462 297 462;<br />
#P hidden fasten 84 0 80 0 345 462 297 462;<br />
#P hidden fasten 85 0 80 0 349 462 297 462;<br />
#P connect 35 0 34 0;<br />
#P fasten 117 0 59 0 169 410 248 410;<br />
#P connect 118 1 59 0;<br />
#P connect 24 0 23 0;<br />
#P connect 104 0 103 0;<br />
#P connect 53 0 54 0;<br />
#P hidden connect 16 0 111 0;<br />
#P hidden connect 16 0 12 0;<br />
#P fasten 111 0 12 0 82 328 177 328;<br />
#P hidden connect 108 0 12 0;<br />
#P hidden connect 107 0 12 0;<br />
#P hidden connect 106 0 12 0;<br />
#P hidden connect 61 0 12 0;<br />
#P hidden connect 60 0 12 0;<br />
#P hidden fasten 42 0 12 0 198 333 177 333;<br />
#P hidden connect 72 0 12 0;<br />
#P hidden connect 73 0 12 0;<br />
#P hidden connect 41 0 12 0;<br />
#P hidden connect 31 0 12 0;<br />
#P hidden connect 52 0 12 0;<br />
#P hidden connect 51 0 12 0;<br />
#P connect 78 0 12 0;<br />
#P hidden connect 47 0 12 0;<br />
#P hidden connect 37 0 12 0;<br />
#P hidden connect 27 0 12 0;<br />
#P hidden connect 32 0 12 0;<br />
#P hidden connect 89 0 12 0;<br />
#P hidden connect 44 0 12 0;<br />
#P hidden connect 49 0 12 0;<br />
#P hidden connect 50 0 12 0;<br />
#P hidden connect 43 0 12 0;<br />
#P connect 118 0 117 0;<br />
#P fasten 12 1 118 0 246 361 169 361;<br />
#P connect 45 0 46 0;<br />
#P connect 112 0 111 0;<br />
#P connect 113 0 112 0;<br />
#P connect 18 0 14 1;<br />
#P connect 13 2 86 0;<br />
#P hidden connect 120 0 121 0;<br />
#P fasten 88 0 11 0 22 598 10 598;<br />
#P fasten 62 0 11 0 45 620 10 620;<br />
#P fasten 55 0 11 0 32 610 10 610;<br />
#P fasten 13 1 11 0 32 251 10 251;<br />
#P fasten 64 0 11 0 53 631 10 631;<br />
#P connect 26 0 13 0;<br />
#P connect 14 0 26 0;<br />
#P connect 15 0 14 0;<br />
#P window clipboard copycount 140;</z3></y3></x3></z2></y2></x2></z1></y1></x1></z3></y3></x3></z2></y2></x2></z1></y1></x1></z4></y4></x4></z3></y3></x3></z2></y2></x2></z1></y1></x1></z4></y4></x4></z3></y3></x3></z2></y2></x2></z1></y1></x1></z2></y2></x2></z1></y1></x1></z></y></x></delta></z></y></x></z></y></x></delta></scale></theta2></theta1></radius2></radius1></theta></mag></radius2></radius1></theta2></theta1></radius></theta></radius2></radius1></theta></radius2></radius1></theta></radius></theta></radius></matrixname></width></bit></factor></value></parameter></value></parameter></light></mode></target></far></near></top></bottom></right></left></value></parameter></capability></height></width></y></x></matrixname></capability></far></near></face></mode></face></alpha></blue></green></red></alpha></blue></green></red></coeff4></coeff3></coeff2></coeff1></plane></depth></alpha></blue></green></red></dst></src></texture></draw></height></width></y></x></z></y></x></delta></val4></val3></val2></val1></parameter></val4></val3></val2></val1></parameter></coord></val4></val3></val2></val1></parameter></t></s></mode></height></width></y></x></z></y></x></z></y></x></angle></y2></x2></y1></x1></height></width></y></x></matrixname></w></z></y></x></units></factor></mode></face></size></y></x></value></parameter></far></near></top></bottom></right></left></z></y></x></matrixname></mode></opcode></far></near></aspect></fovy></top></bottom></right></left></fovy></edgeflag></colorflag></normalflag></texflag></draw></matrixname></ignore></objectname></draw></slice></z></y></x></args></index></args></index></on></index></p>
<p>
Quote: joshua goldberg wrote on Mon, 05 November 2007 07:33<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> try using the @capture [texturename] attribute with jit.gl.sketch.<br />
> <br />
> On Nov 5, 2007, at 10:03 AM, Solomon Bothwell wrote:<br />
> <br />
> ><br />
> > Well..<br />
> > Step two involved figuring out how to do some things which I imagine  <br />
> > would require openGL. I need to draw lines in 3d space which fade  <br />
> > from tail to head as they get longer.<br />
> ><br />
> > I meant this is the first somewhat difficult jitter task I am  <br />
> > attempting. I have been through all the tutorials and have made some  <br />
> > simpler patches in the past.<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/silly-jit-gl-sketch-problem/#post-116345</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116345</link>
					<pubDate>Tue, 06 Nov 2007 02:55:37 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>Um. It does work.  The problem is that in your patch you have both<br />
jit.window foo and jit.matrix foo.  Depending on which is loaded<br />
first, one or the other will be recognized as the foo context.</p>
<p>wes</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116346</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116346</link>
					<pubDate>Tue, 06 Nov 2007 05:26:36 +0000</pubDate>
					<dc:creator>Rob Ramirez</dc:creator>

					<description>
						<![CDATA[
						<p>jitter documentation is as extensive as msp documentation, it just takes some familiarizing.<br />
in addition, the examples folder and the jitter recipe articles are your friends (and of course the forum).</p>
<p>check out examples/jitter-examples/render/jit.gl.render-tomatrix.</p>
<p>also, to go further, search the forum for a patch by by andrew benson called &#8220;scene process&#8221;.</p>
<p>and be patient.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116347</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116347</link>
					<pubDate>Tue, 06 Nov 2007 10:00:31 +0000</pubDate>
					<dc:creator>solomonB</dc:creator>

					<description>
						<![CDATA[
						<p>Well that was the worlds simples solution to my silly problem. Robtherich you are right that I need to be more patient with jitter. Each individual object has so many more functions than most msp objects that trying to grasp it all at once can be a little daunting. </p>
<p>Quote: <a href="mailto:wesley.hoke@gmail.com">wesley.hoke@gmail.com</a> wrote on Mon, 05 November 2007 18:55<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Um. It does work.  The problem is that in your patch you have both<br />
> jit.window foo and jit.matrix foo.  Depending on which is loaded<br />
> first, one or the other will be recognized as the foo context.<br />
> <br />
> wes<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/silly-jit-gl-sketch-problem/#post-116348</guid>
					<title><![CDATA[Re: Silly jit.gl.sketch problem]]></title>
					<link>http://cycling74.com/forums/topic/silly-jit-gl-sketch-problem/#post-116348</link>
					<pubDate>Thu, 08 Nov 2007 06:29:14 +0000</pubDate>
					<dc:creator>solomonB</dc:creator>

					<description>
						<![CDATA[
						<p>I decided to use the pmpd library to assist with modeling my string using Mathieu Chamagne&#8217;s mcpmpd.mass3d and mcpmpd.link3d abstractions. I want to draw cylinders inbetween each mass model instead of using line segments so I used vexpr to do some trig. I haven&#8217;t setup rotation for the cylinders yet but the lengths and position formulas seem correct. However the midpoints dont seem to be matching up with my mass3d models.</p>
<p>Heres the trig functions I setup:<br />
Let me know if the full patch is needed.</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 81 363 193 196617 move $1 $2 $3 , cylinder 0.05 0.05 $4;<br />
#P comment 280 242 86 196617 distance formula;<br />
#P newex 158 240 105 196617 unpack 0. 0.;<br />
#P newex 158 268 105 196617 expr sqrt($f1 + $f2);<br />
#P newex 158 217 156 196617 vexpr pow((abs($f1 &#8211; $f2))\,2);<br />
#P newex 187 150 104 196617 vexpr ($f1 + $f2)/2;<br />
#P newex 7 422 459 196617 jit.gl.sketch MC.PMPD @depth_enable 1 @smooth_shading 1 @lighting_enable 1 @shininess 1;<br />
#B color 5;<br />
#P newex 158 92 90 196617 route linesegment;<br />
#P newex 158 120 51 196617 zl slice 3;<br />
#P comment 296 151 86 196617 midpoint formula;<br />
#P user panel 182 144 210 32;<br />
#X brgb 191 191 191;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P user panel 153 208 222 81;<br />
#X brgb 191 191 191;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P newex 81 339 38 196617 zl join;<br />
#P newex 67 282 36 196617 zl reg;<br />
#P newex 158 297 27 196617 t b l;<br />
#P comment 250 94 100 196617 x1 y1 z1 x2 y2 z2;<br />
#P connect 15 0 9 0;<br />
#P connect 1 0 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 15 0;<br />
#P connect 10 0 2 1;<br />
#P connect 1 1 3 1;<br />
#P connect 8 0 7 0;<br />
#P connect 7 0 11 0;<br />
#P connect 11 0 13 0;<br />
#P connect 13 0 12 0;<br />
#P connect 12 0 1 0;<br />
#P connect 7 0 10 0;<br />
#P connect 13 1 12 1;<br />
#P connect 7 1 10 1;<br />
#P connect 10 0 11 1;<br />
#P window clipboard copycount 16;</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

