<?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: access jit.gl.render from other OB3D objects</title>
		<atom:link href="http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 00:48:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-34897</guid>
					<title><![CDATA[access jit.gl.render from other OB3D objects]]></title>
					<link>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-34897</link>
					<pubDate>Wed, 05 Dec 2007 11:34:37 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>Dear list,</p>
<p>I&#8217;m working on an ob3d external which needs to know some attributes of the<br />
linked jit.gl.render. I currently give jit.gl.render a @name and then access<br />
its attributes using findregistered. This works fine, but I have a feeling<br />
there is a more direct way of doing this. So my question is, is there a way<br />
to know, inside an ob3d object, what jit.gl.render object is used for<br />
rendering, and retrieve an object pointer without using @name and<br />
jit_object_findregistered()?</p>
<p>Thijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-118345</guid>
					<title><![CDATA[Re: access jit.gl.render from other OB3D objects]]></title>
					<link>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-118345</link>
					<pubDate>Wed, 05 Dec 2007 16:09:52 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>You have to do it in the draw method, but you can cache until the next<br />
dest_changed callback:</p>
<p>t_jit_err my_ob3d_draw(my_ob3d *x)<br />
{<br />
	if(! x->render) {<br />
		x->render = jit_object_method(x, gensym(&#8220;get_render_ptr&#8221;));<br />
	}<br />
}</p>
<p>On Dec 5, 2007 3:34 AM, Thijs Koerselman
<thijskoerselman @gmail.com> wrote:<br />
> Dear list,<br />
><br />
> I&#8217;m working on an ob3d external which needs to know some attributes of the<br />
> linked jit.gl.render. I currently give jit.gl.render a @name and then access<br />
> its attributes using findregistered. This works fine, but I have a feeling<br />
> there is a more direct way of doing this. So my question is, is there a way<br />
> to know, inside an ob3d object, what jit.gl.render object is used for<br />
> rendering, and retrieve an object pointer without using @name and<br />
> jit_object_findregistered()?<br />
><br />
> Thijs<br />
><br />
><br />
></thijskoerselman></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-118346</guid>
					<title><![CDATA[Re: access jit.gl.render from other OB3D objects]]></title>
					<link>http://cycling74.com/forums/topic/access-jit-gl-render-from-other-ob3d-objects/#post-118346</link>
					<pubDate>Thu, 06 Dec 2007 09:00:16 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>On Dec 5, 2007 5:09 PM, Wesley Smith <wesley .hoke@gmail.com> wrote:</wesley></p>
<p>> You have to do it in the draw method, but you can cache until the next<br />
> dest_changed callback:<br />
><br />
> t_jit_err my_ob3d_draw(my_ob3d *x)<br />
> {<br />
>        if(! x->render) {<br />
>                x->render = jit_object_method(x, gensym(&#8220;get_render_ptr&#8221;));<br />
>        }<br />
> }<br />
><br />
><br />
Hi Wes,</p>
<p>Thanks! That&#8217;s what I was hoping for.</p>
<p>Best,<br />
Thijs</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

