<?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: context inside js or main patcher?</title>
		<atom:link href="http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 22:26:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-58602</guid>
					<title><![CDATA[context inside js or main patcher?]]></title>
					<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-58602</link>
					<pubDate>Wed, 24 Aug 2011 13:10:50 +0000</pubDate>
					<dc:creator>Beshmeee</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, I&#8217;m trying to render to the same context form objects in a normal Max Patch and also from within a script in a js object as well.</p>
<p>I&#8217;m not sure how to do this or which is the best place to do it.</p>
<p>I need to extract intersection coordinate hence my choice to use js, and I also need to be able to create and destroy gl objects on the fly.</p>
<p>I also need to be able to grab individual object and move then by the mouse.</p>
<p>I&#8217;ve been using the following js examples:<br />
jitterlistentest<br />
jitterhittest<br />
and have created my script from these, but I also need to be able to work in the way that jitter-gui-sliderexample works in terms of both creating the context outside of the js and also the way it handles how the mouse grabs only one object at a time.<br />
I&#8217;m struggling with tje javascript as I am a complete novice in coding and Java.</p>
<p>Hope someone can offer some advice?</p>
<p>cheers, B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210668</guid>
					<title><![CDATA[Re: context inside js or main patcher?]]></title>
					<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210668</link>
					<pubDate>Wed, 24 Aug 2011 15:11:31 +0000</pubDate>
					<dc:creator>Beshmeee</dc:creator>

					<description>
						<![CDATA[
						<p>Having said that is is possible/easier to do the intersection testing and object selecting without using the js objects &#8211; perhaps using sketch?</p>
<p>B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210669</guid>
					<title><![CDATA[Re: context inside js or main patcher?]]></title>
					<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210669</link>
					<pubDate>Wed, 24 Aug 2011 19:33:43 +0000</pubDate>
					<dc:creator>Kyred</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,<br />
As I know you can easily use JS, OpenGL and creating the context outside of the js. See attachments</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210670</guid>
					<title><![CDATA[Re: context inside js or main patcher?]]></title>
					<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210670</link>
					<pubDate>Tue, 30 Aug 2011 11:01:35 +0000</pubDate>
					<dc:creator>Beshmeee</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Kyred.</p>
<p>I&#8217;m a complete novice to any kind of programming (no C, C++, Java, anything), so this is all trial and error, and picking it up as I go along &#8211; rather slowly I might add!</p>
<p>This helps a lot.</p>
<p>Cheers, B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210671</guid>
					<title><![CDATA[Re: context inside js or main patcher?]]></title>
					<link>http://cycling74.com/forums/topic/context-inside-js-or-main-patcher/#post-210671</link>
					<pubDate>Tue, 30 Aug 2011 14:59:16 +0000</pubDate>
					<dc:creator>Beshmeee</dc:creator>

					<description>
						<![CDATA[
						<p>That&#8217;s great, some things still to learn but this helped a lot Kyred.</p>
<p>Is it possible to access gl objects created in normal jitter objects in a patcher (eg gridshape) from within the js?</p>
<p>I ideally want to make as much outside of the js as possible leaving only the interesction and object selection/movements inside the js (as I&#8217;m having problems doing these things in other ways).  I&#8217;ve been using the intersect, jitterhittest, GUIElements, GUISliderElement, etc files as guides, but not successfully managed to combine the bits I need as they are still rather too advanced for me.  Still the projects I&#8217;m working on requires me to be able to create and destroy the gl objects selects and move them with the mouse.</p>
<p>If anyone has some pointers (Kyred?) on where to look that would be great.</p>
<p>Cheers, B.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

