<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 10.01.2013 18:38, schrieb Jack:<br>
    </div>
    <blockquote cite="mid:50EEFC97.8040608@rybn.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 10/01/2013 16:22, Max a &eacute;crit&nbsp;:<br>
      </div>
      <blockquote
        cite="mid:5B508CA1-87D5-4855-81F5-72E6A95072BA@revolwear.com"
        type="cite">
        <pre wrap="">Am 10.01.2013 um 12:34 schrieb Jack <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jack@rybn.org">&lt;jack@rybn.org&gt;</a>:
</pre>
        <blockquote type="cite">
          <pre wrap="">Le 10/01/2013 11:57, Klemens Schmiady a &eacute;crit :
</pre>
          <blockquote type="cite">
            <pre wrap="">Am 10.01.2013 11:40, schrieb Cyrille Henry:
</pre>
            <blockquote type="cite">
              <pre wrap="">hello,

i can't reproduce this.
is there anything special to do in the patch?
cheers
c

Le 10/01/2013 11:06, Klemens Schmiady a &eacute;crit :
</pre>
              <blockquote type="cite">
                <pre wrap="">Hey there,

the sphere in combination with the lighting leads to strange
artefacts as shown in the .jpg.
Looking for a solution.
</pre>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">I think, this is because your viewpoint come too close to your geo (sphere).
Put a [max 2] (for example) on your Z axis for the viewpoint to avoid
collision.
</pre>
        </blockquote>
        <pre wrap="">i don't think it's that. i simplified the patch a bit more:

</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">
with
GEM: ver: 0.93.3 
GEM: compiled: Nov 10 2011
i have the same phenomenon here.</pre>
      </blockquote>
      <br>
      Yep, you are right Max. I think it was a problem with the near
      clipping plane of the frustum. But i was wrong...<br>
      Cyrille, your patch seems to have the same problem if you put an
      alpha = 0.5, or i am wrong ?<br>
      Here a patch that enable culling.<br>
      Hoping it helps to solve _this_ problem.<br>
      ++<br>
      <br>
      Jack<br>
      <br>
      PS : dont't forget to start by rendering the light before geos
      with an argument in [gemhead] ;)<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <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>
    I implemented your patch into what I'm working on at the moment but
    the light goes all crazy and I don't know anything about openGL. <br>
    The lightsource should be in the center of the patch somehow.<br>
    Can you please help me with that!<br>
    <br>
    Thanks,<br>
    <br>
    Klemens<br>
  </body>
</html>