<?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: OpenGL Lighting questions.</title>
		<atom:link href="http://cycling74.com/forums/topic/opengl-lighting-questions/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/opengl-lighting-questions/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 14:18:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-24451</guid>
					<title><![CDATA[OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-24451</link>
					<pubDate>Thu, 16 Feb 2006 05:01:43 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Quick Question here</p>
<p>perhaps Ive grossly missed something (very possible),  but the only  <br />
lighting control ive seen is with the jit.gl.render lighting  <br />
attributes, which seems to only apply to the &#8216;world light&#8217;.</p>
<p>how does one create other lights, beside explicitly sending openGL  <br />
commands to jit.gl.sketch?</p>
<p>small feature request (?) &#8211; perhaps a jit.gl.light with some options  <br />
for spotlights (radius, direction, intensity, spread, etc?) Ive just  <br />
gotten into getting heavy with lighting on jit.gl.render, and man it  <br />
adds so much flavor to a scene when lighting is dynamic. it would be  <br />
great to have a jitter object to mix it up some more.</p>
<p>Just a thought.</p>
<p>Also, small note re lighting in general, in the tutorial patch,  <br />
mat_ambient, mat_diffuse and mat_specular to the jit.gl.gridshape and  <br />
light_ambient, light_diffuse and light_specular to jit.gl.render  are  <br />
all being sent as a list of 3 floats, (RGB), however when control- <br />
option clicking jit.gl.gridshape &#038; jit.gl.render, it lists their  <br />
input as float array[4]. Ive tried playing with the alpha component  <br />
to these messages in my own patches, but it only seems to effect  <br />
mat_specular, but that could be my imagination.</p>
<p>Comments/thoughts?</p>
<p>Thanks again.</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>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70706</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70706</link>
					<pubDate>Thu, 16 Feb 2006 05:07:29 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Apologies, I forgot to mentioned that the tutorial patch I am  <br />
referring to is 35jLightingAndFog.pat</p>
<p>thanks.</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>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70707</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70707</link>
					<pubDate>Thu, 16 Feb 2006 15:07:48 +0000</pubDate>
					<dc:creator>Johnny deKam</dc:creator>

					<description>
						<![CDATA[
						<p>I second the question -</p>
<p>I&#8217;m working on a project where I&#8217;ve modeled a (.obj) vintage 50&#8242;s TV  <br />
screen.  The model is working perfectly for creating a custom glass  <br />
warp distortion and mask, but the next level is to manipulate the  <br />
lighting to achieve reflection/glare/shading &#8211; no luck so far.</p>
<p>-deKam</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70708</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70708</link>
					<pubDate>Thu, 16 Feb 2006 16:34:18 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m pretty sure you could write a shader to calculate &#8220;virtual light<br />
sources&#8221; to get the effect you&#8217;re looking for.  The gooch shader had<br />
some nice specular highlights.  May be a place to start.</p>
<p>wes</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70709</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70709</link>
					<pubDate>Thu, 16 Feb 2006 16:51:08 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>what would one bind the shader to, if you want to to effect the whole  <br />
scene?</p>
<p>comments re jit.gl.light request, or adding other lights sans writing  <br />
custom shaders?</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>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70710</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70710</link>
					<pubDate>Thu, 16 Feb 2006 20:55:27 +0000</pubDate>
					<dc:creator>Joshua Kit Clayton</dc:creator>

					<description>
						<![CDATA[
						<p>>><br />
>> perhaps Ive grossly missed something (very possible),  but the  <br />
>> only lighting control ive seen is with the jit.gl.render lighting  <br />
>> attributes, which seems to only apply to the &#8216;world light&#8217;.<br />
>><br />
>> how does one create other lights, beside explicitly sending openGL  <br />
>> commands to jit.gl.sketch?<br />
></p>
<p>Currently, for additional lights you would need to use jit.gl.sketch  <br />
and the corresponding GL commands. Originally we had planned a  <br />
jit.gl.light object for Jitter 1.5, but it did not make it into the  <br />
release. Perhaps one will make it into JItter 1.5.3 or 1.5.4.</p>
<p>However, in theory one could make a jit.gl.sketch object which sets  <br />
up the lighting and leaves it on, thus making something like a  <br />
jit.gl.light implementation as a subpatcher. Can try to find time to  <br />
make such an example if people aren&#8217;t able to figure it out.</p>
<p>-Joshua</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70711</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70711</link>
					<pubDate>Thu, 16 Feb 2006 20:56:01 +0000</pubDate>
					<dc:creator>Joshua Kit Clayton</dc:creator>

					<description>
						<![CDATA[
						<p>
On Feb 16, 2006, at 8:51 AM, vade wrote:</p>
<p>> what would one bind the shader to, if you want to to effect the  <br />
> whole scene?</p>
<p>Every object. Note a shader can be bound to more than one object.</p>
<p>-Joshua</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70712</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70712</link>
					<pubDate>Fri, 17 Feb 2006 00:33:33 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the info.</p>
<p>If I could be so bold as to make an official &#8220;request&#8221; for a  <br />
jit.gl.light object, that would rock, however a jit.gl.sketch  <br />
subpatcher can easily enough be created. Ill be happy to share it  <br />
with the list once I make it (and its not embarrassing :)</p>
<p>Thanks -</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>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70713</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70713</link>
					<pubDate>Fri, 17 Feb 2006 00:35:27 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the info.</p>
<p>If I could be so bold as to make an official &#8220;request&#8221; for a  <br />
jit.gl.light object, that would rock, however a jit.gl.sketch  <br />
subpatcher can easily enough be created. Ill be happy to share it  <br />
with the list once I make it (and its not embarrassing :)</p>
<p>Thanks -</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>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70714</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70714</link>
					<pubDate>Sun, 19 Feb 2006 18:10:00 +0000</pubDate>
					<dc:creator>lists@lowfrequency.or</dc:creator>

					<description>
						<![CDATA[
						<p>That is excellent &#8211; how do the lights created in jit.gl.sketch work in <br />
relation to the other jit.gl.* objects? Once you create a light in <br />
sketch, does it affect everything being rendered?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70715</guid>
					<title><![CDATA[Re: OpenGL Lighting questions.]]></title>
					<link>http://cycling74.com/forums/topic/opengl-lighting-questions/#post-70715</link>
					<pubDate>Mon, 20 Feb 2006 03:19:50 +0000</pubDate>
					<dc:creator>Joshua Kit Clayton</dc:creator>

					<description>
						<![CDATA[
						<p>If it is light #1 or higher it should (unless you&#8217;ve enabled the  <br />
protective OpenGL attribute stack push/pop sequence with &#8220;;jitter  <br />
glattribpush 1&#8243;. this is disabled by default)</p>
<p>-Joshua</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

