<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I made an abstraction that draws in opengl directly from tables.<br>
    just draw your sin in the y tables, and the x position in your x
    table. see help patch,<br>
    <br>
    Best,<br>
    n<br>
    <br>
    <div class="moz-cite-prefix">Le 03/04/13 18:04, Jack a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:515C5307.3060506@rybn.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 03/04/2013 17:02, Alexandros
        Drymonitis a &eacute;crit&nbsp;:<br>
      </div>
      <blockquote
cite="mid:CAF58LJp3seSCnjxK-bjGf5h_bUYaZxXOUcU5T1nv65cz-=xwLQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">Sorry, meant Pd-extended...<br>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Wed, Apr 3, 2013 at 5:51 PM,
            Cyrille Henry <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
              <br>
              Le 03/04/2013 16:30, Alexandros Drymonitis a &eacute;crit :
              <div class="im"><br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  It's a bit strange but Pd can't create [GEMglVertex]
                  or [gemvertexbuffer]. In the browser I found
                  [gemframebuffer] but not the vertex one. [GEMglBegin]
                  and [GEMglEnd] are being created, no prob.<br>
                  I'm using the latest Pd...<br>
                </blockquote>
              </div>
              lattest pd will not help. you need Gem for all of this.<br>
              since GEMglBegin works, you certainly have one version of
              Gem.<br>
              since gemvertexbuffer did not create, your version of Gem
              too old. according to gem website, the last release is
              93.3, from 11/11/2011. that's the explanation.<br>
              <br>
              cheers<br>
              c<br>
              <br>
              <br>
              <br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div class="im"> <br>
                  <br>
                  On Wed, Apr 3, 2013 at 12:59 PM, Cyrille Henry &lt;<a
                    moz-do-not-send="true" href="mailto:ch@chnry.net"
                    target="_blank">ch@chnry.net</a> &lt;mailto:<a
                    moz-do-not-send="true" href="mailto:ch@chnry.net"
                    target="_blank">ch@chnry.net</a>&gt;&gt; wrote:<br>
                  <br>
                  &nbsp; &nbsp; hello,<br>
                  <br>
                  &nbsp; &nbsp; you have lot's of solution to draw a sinus curve
                  in Gem.<br>
                  <br>
                  &nbsp; &nbsp; the easiest would be to use scopeXYZ, but you'll
                  have to do the sin in audio signal.<br>
                  <br>
                  &nbsp; &nbsp; the most efficient is to use gemvertexbuffer to
                  draw a line between points specified in table.<br>
                  <br>
                  &nbsp; &nbsp; the fastest to code is to use
                  repeat/separator/curve 2 in order to draw many lines<br>
                  <br>
                  &nbsp; &nbsp; you can also do like in openGL : using GEMglBegin,
                  GEMglVextex (many of them thanks to an iterative
                  loop), and GEMglEnd<br>
                  <br>
                  &nbsp; &nbsp; you can also do that in shader, but that would be
                  to much complexity for this.<br>
                  <br>
                  &nbsp; &nbsp; and you can certainly find other way to do that,
                  but i think i cover the most used.<br>
                  &nbsp; &nbsp; cheers<br>
                  &nbsp; &nbsp; c<br>
                  <br>
                  <br>
                  &nbsp; &nbsp; Le 02/04/2013 23:18, Alexandros Drymonitis a &eacute;crit
                  :<br>
                  <br>
                </div>
                &nbsp; &nbsp; &nbsp; &nbsp; I want to build this visual <a
                  moz-do-not-send="true"
                  href="http://processing.org/__learning/trig/"
                  target="_blank">http://processing.org/__learning/trig/</a>
                &lt;<a moz-do-not-send="true"
                  href="http://processing.org/learning/trig/"
                  target="_blank">http://processing.org/learning/trig/</a>&gt;

                in Pd, but I want the sine curve to be drawn dynamically
                with every circle spin. It seems quite hard though.
                <div class="im"> <br>
                  <br>
                  &nbsp; &nbsp; &nbsp; &nbsp; I don't know which object would be best. I
                  tried either [curve] but the parameters are way too
                  many and I'm not sure if precision is really possible.
                  Then I tried [square 0.008] in combination with
                  [repeat] but also doesn't work.<br>
                  &nbsp; &nbsp; &nbsp; &nbsp; Anyone knows how to do this?<br>
                  <br>
                  <br>
                </div>
                &nbsp; &nbsp; &nbsp; &nbsp;
                _________________________________________________<br>
                &nbsp; &nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
                  href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>
                &lt;mailto:<a moz-do-not-send="true"
                  href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;

                mailing list<br>
                &nbsp; &nbsp; &nbsp; &nbsp; UNSUBSCRIBE and account-management -&gt; <a
                  moz-do-not-send="true"
                  href="http://lists.puredata.info/__listinfo/pd-list"
                  target="_blank">http://lists.puredata.info/__listinfo/pd-list</a>
                &lt;<a moz-do-not-send="true"
                  href="http://lists.puredata.info/listinfo/pd-list"
                  target="_blank">http://lists.puredata.info/listinfo/pd-list</a>&gt;<br>
                <br>
                <br>
                &nbsp; &nbsp; _________________________________________________<br>
                &nbsp; &nbsp; <a moz-do-not-send="true"
                  href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>
                &lt;mailto:<a moz-do-not-send="true"
                  href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;

                mailing list<br>
                &nbsp; &nbsp; UNSUBSCRIBE and account-management -&gt; <a
                  moz-do-not-send="true"
                  href="http://lists.puredata.info/__listinfo/pd-list"
                  target="_blank">http://lists.puredata.info/__listinfo/pd-list</a>
                &lt;<a moz-do-not-send="true"
                  href="http://lists.puredata.info/listinfo/pd-list"
                  target="_blank">http://lists.puredata.info/listinfo/pd-list</a>&gt;<br>
                <br>
                <br>
              </blockquote>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
      </blockquote>
      Hello Alexandros,<br>
      <br>
      Do you have the current Pd-extended (which is 0.43.4) ? You should
      have a recent Gem whit it.<br>
      For glVertex, you have to write [GEMglVertex3f] to use float.<br>
      ++<br>
      <br>
      Jack<br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.nimon.org">http://www.nimon.org</a></pre>
  </body>
</html>