<?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: Evaluators/mapgrids in LUA?</title>
		<atom:link href="http://cycling74.com/forums/topic/evaluatorsmapgrids-in-lua/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/evaluatorsmapgrids-in-lua/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 01:00:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/evaluatorsmapgrids-in-lua/#post-34647</guid>
					<title><![CDATA[Evaluators/mapgrids in LUA?]]></title>
					<link>http://cycling74.com/forums/topic/evaluatorsmapgrids-in-lua/#post-34647</link>
					<pubDate>Sat, 17 Nov 2007 15:40:48 +0000</pubDate>
					<dc:creator>liubo</dc:creator>

					<description>
						<![CDATA[
						<p>does jit.gl.lua support 1- or 2-d evaluators or mapgrids for building splines and nurbs from scratch. if so what is the translation from redbook opengl? </p>
<p>for example i tried this redbook example, but it did not work</p>
<p>ctrlpoints = { <br />
    { -4.0, -4.0, 0.0}, { -2.0, 4.0, 0.0}, <br />
    {2.0, -4.0, 0.0}, {4.0, 4.0, 0.0}} </p>
<p>    gl.ClearColor(0.0, 0.0, 0.0, 1.0) <br />
    gl.Map1(&#8220;MAP1_VERTEX_3&#8243;, 0.0, 1.0, 3, 4,ctrlpoints) <br />
    gl.Enable(&#8220;MAP1_VERTEX_3&#8243;) <br />
    gl.ShadeModel(&#8220;FLAT&#8221;) </p>
<p>    gl.Color(1.0, 1.0, 1.0) <br />
    gl.Begin(&#8220;LINE_STRIP&#8221;) <br />
	for i = 0,30 do<br />
          gl.EvalCoord(i/30.0) <br />
	end<br />
    gl.End() </p>
<p>thanks</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

