<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel">
    <title>gmane.lisp.cl-opengl.devel</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/432"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/431"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/430"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/429"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/428"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/427"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/426"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/425"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/424"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/423"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/422"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/421"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/420"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/419"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/418"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/417"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/416"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/415"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/414"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/413"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/432">
    <title>Re: Texture coordinates using vertex array</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/432</link>
    <description>&lt;pre&gt;Hi Louis,

With some more opengl experience under the hood, I think this could be a
problem:
(I have not tried it though):

This was my array definition:

;for textures
(gl:define-gl-array-format mesh-tvertex
  (gl:vertex :type :float :components (x y z))
  (gl:tex-coord :type :float :components (u v)))

I think I should keep a separate array for vertices and textures. Then
things
should work out fine. Is this correct? This is what I currently do when
using
Lispworks with its opengl ffi library.

I will try keep a separate textures array and let you know how it goes.
Thanks,
Deepak

On Wed, May 16, 2012 at 5:13 AM, Luís Oliveira &amp;lt;luismbo&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Deepak Surti</dc:creator>
    <dc:date>2012-05-16T09:18:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/431">
    <title>Re: Texture coordinates using vertex array</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/431</link>
    <description>&lt;pre&gt;Hello Deepak,

On Fri, Mar 30, 2012 at 9:51 AM, Deepak Surti &amp;lt;dmsurti&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

Did you manage to figure out a solution to your problem?

Cheers,

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2012-05-15T23:43:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/430">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/430</link>
    <description>&lt;pre&gt;

Thanks!

Patch attached -- probably not something to merge as-is, since I
commented out a few extensions due to missing/bad types, but this
builds for me on x86-64 using the default 1Gb heap.

Cheers,

 -- nikodemus
_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Nikodemus Siivola</dc:creator>
    <dc:date>2012-04-01T09:01:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/429">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/429</link>
    <description>&lt;pre&gt;On Sat, Mar 31, 2012 at 5:02 PM, Nikodemus Siivola
&amp;lt;nikodemus&amp;lt; at &amp;gt;random-state.net&amp;gt; wrote:

The code is at:
&amp;lt;https://github.com/luismbo/cl-opengl/tree/sbcl-unfriendly-defglextfun&amp;gt;

The test-case is simply compiling cl-opengl. SBCL will exhaust the
heap while attempting to compile gl/funcs.lisp which contains about
2000 usages of DEFGLEXTFUN.

Cheers,

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2012-03-31T23:11:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/428">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/428</link>
    <description>&lt;pre&gt;

No I haven’t. For now I store function symbols rather than objects.
I guess the overhead of funcall-ing them is negligible in my context.

&lt;/pre&gt;</description>
    <dc:creator>Jocelyn Fréchot</dc:creator>
    <dc:date>2012-03-31T16:46:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/427">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/427</link>
    <description>&lt;pre&gt;

Can you point me at right spot in cl-opengl sources, and provide a
test-case. I think I have an idea...

Cheers,

 -- nikodemus

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Nikodemus Siivola</dc:creator>
    <dc:date>2012-03-31T16:02:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/426">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/426</link>
    <description>&lt;pre&gt;Hello Jocelyn,

I tried it out as well and got similar results. I also tried using
load-time-value for the pointer cache in the hopes that making the DEFUN a
top-level form would appease SBCL but that help too much.

Have you tried using a less smart compiler such as CCL ou CLISP?

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2012-03-31T15:42:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/425">
    <title>Texture coordinates using vertex array</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/425</link>
    <description>&lt;pre&gt;Hi,

I have written a small library using cl-opengl to do skeletal animation
which works great.
I use vertex arrays in the process. As outlined in opengl-array.lisp under
examples, I have
a gl array of vertices.

To the vertex object in the gl array I added texture coordinates:
(gl:tex-coord :type float :components (u v))

In my code, (just like enable vertex and color array); I enable tex coord
array

; all texture loading code and creating gl vertices/indices code

(gl:enable-client-state :texture-coord-array)
.......
            (gl:bind-gl-vertex-array gl-vertices)
            (gl:draw-elements :triangles gl-indices)
........
(gl:enable-client-state :texture-coord-array)

However it leads to a memory segment address error.

If I go the primitive route, rendering the  triangle vertices and texture
coordinates,
things work fine.

Obviously, as for texture coordinates with draw elements; I am missing
something. I tried
looking up into the source/examples but could not find. [PS: i am no C
expert, so am stuc&lt;/pre&gt;</description>
    <dc:creator>Deepak Surti</dc:creator>
    <dc:date>2012-03-30T08:51:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/424">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/424</link>
    <description>&lt;pre&gt;

I tried this version:

(defmacro defglextfun ((cname lname) return-type &amp;amp;body args)
   (alexandria:with-unique-names (pointer)
     `(let ((,pointer (null-pointer)))
        (defun ,lname ,(mapcar #'car args)
          (when (null-pointer-p ,pointer)
            (setf ,pointer (gl-get-proc-address ,cname))
            (assert (not (null-pointer-p ,pointer)) ()
                    "Couldn't load symbol ~A~%" ,cname)
            (format t "Loaded function pointer for ~A: ~A~%" ,cname ,pointer)
            (push (lambda () (setf ,pointer (null-pointer)))
                  *gl-extension-resetter-list*))
          (foreign-funcall-pointer
           ,pointer
           (:library opengl)
           ,&amp;lt; at &amp;gt;(loop for arg in args collect (second arg) collect (first arg))
           ,return-type)))))

However, compilation of gl/funcs.lisp fails due to heap exhaustion
(using SBCL 1.0.55).

&lt;/pre&gt;</description>
    <dc:creator>Jocelyn Fréchot</dc:creator>
    <dc:date>2012-03-17T11:28:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/423">
    <title>Re: Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/423</link>
    <description>&lt;pre&gt;On Fri, Mar 16, 2012 at 9:39 PM, Jocelyn Fréchot
&amp;lt;jocelyn_frechot&amp;lt; at &amp;gt;yahoo.fr&amp;gt; wrote:

At the end of gl/bindings.lisp there's an alternative implementation
of DEFGLEXTFUN that doesn't call compile or redefine anything. Does
that work better for you?

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2012-03-17T10:01:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/422">
    <title>Extension functions re-defining themselves</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/422</link>
    <description>&lt;pre&gt;Hello,

I’d like to report the folling issue I bumped into: in
the cl-opengl-bindings package, extension functions defined with
defglextfun will re-define themselves the first time they are called.
This is somewhat an unexpected and potentially undesirable behavior:
if you store one of those function objects before calling it, it will
compile a new object every time it is funcalled.

Thanks

&lt;/pre&gt;</description>
    <dc:creator>Jocelyn Fréchot</dc:creator>
    <dc:date>2012-03-16T21:39:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/421">
    <title>save 3d scene as .obj file</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/421</link>
    <description>&lt;pre&gt;Hi, Is there is a way of saving a 3d scene into a .obj file in common lisp?

Is there any library for this, i was looking for info and i just found
a library called ply that allow only to read .obj file but not save


any idea?

thanks

R,
&lt;/pre&gt;</description>
    <dc:creator>ronni montoya</dc:creator>
    <dc:date>2011-11-28T03:13:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/420">
    <title>Re: mouse-driven camera</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/420</link>
    <description>&lt;pre&gt;On Sat, Sep 24, 2011 at 12:03 PM, ronni montoya &amp;lt;ronni.montoya&amp;lt; at &amp;gt;gmail.com&amp;gt;
wrote:

Here's a tutorial: &amp;lt;http://www.lighthouse3d.com/tutorials/glut-tutorial/&amp;gt;.

HTH,

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2011-09-24T23:50:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/419">
    <title>mouse-driven camera</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/419</link>
    <description>&lt;pre&gt;Hello im new in this list, im learning opengl with common lisp,  i was
wondering if there is a library or example that allow to control the
perspective of the camera with tthe mouse?

Is there is an easy way of doing this?


thanks


Ronny
&lt;/pre&gt;</description>
    <dc:creator>ronni montoya</dc:creator>
    <dc:date>2011-09-24T11:03:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/418">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/418</link>
    <description>&lt;pre&gt;Great! I'll try to go with Clozure CL while I wait for ECL.

Thanks for the tip!

--
Simón Ortiz B., M.Sc., Ing. en Computación
Linux Registered User #388735



On Tue, Jul 19, 2011 at 22:03, Luís Oliveira &amp;lt;luismbo&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Simon Ortiz</dc:creator>
    <dc:date>2011-07-19T14:28:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/417">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/417</link>
    <description>&lt;pre&gt;
I think Clozure CL might run there as well. Their SVN repo contains
some Android references.



Cool. Thanks for your feedback.

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2011-07-19T13:03:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/416">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/416</link>
    <description>&lt;pre&gt;hello,

I'm here reporting on my advance on cl-opengl-es-1.1.

I need a system with OpenGL ES 1.1 for testing. I decided to use
Android. The only CL implementation I know that runs on Android is
ECL.

Before jumping into cl-opengl I decided testing a simple library with
CFFI. It so happens that I stumbled upon a bug with ECL+CFFI that
prevents compiling libraries.

The bug has been acknowledged by the maintainer. As soon as he kindly
fixes the bug, I'll continue with the project.

Cheers,

--
Simón Ortiz B., M.Sc., Ing. en Computación
Linux Registered User #388735



On Wed, Jun 29, 2011 at 23:31, Bart Botta &amp;lt;00003b&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Simon Ortiz</dc:creator>
    <dc:date>2011-07-19T12:14:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/415">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/415</link>
    <description>&lt;pre&gt;
If I understand correctly, EGL is something like glx/wgl/etc, and
isn't actually part of OpenGL ES itself, so I'd probably lean towards
a separate cl-egl system containing just the EGL parts. If ES 1.x only
adds data types, I'd probably include them in the main cl-opengl for
now. If there are conflicting function signatures or enums things
would be more complicated... not sure what the best solution for that
would be.

-b-

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Bart Botta</dc:creator>
    <dc:date>2011-06-29T14:31:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/414">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/414</link>
    <description>&lt;pre&gt;
Yes, that's my suggestion.



Cool, definitely keep us posted.

Cheers,

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2011-06-29T14:10:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/413">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/413</link>
    <description>&lt;pre&gt;Alright!

Let me see if I got it all straight:

For our first approach, I'll do a cl-opengl-es-1.1 system which will
depend on cl-opengl as is. I'll write the CFFI definitions for the
egl* functions by hand. I guess I'll define the fixed-point data type
by hand too.

Then we see how to clean it up, if it's worth it.

I'll start working this weekend. Since I still need to understand
cl-opengl in more depth, this could take a while.

I'll keep you posted with the progress (and troubles ;-)

Thanks!

--
Simón Ortiz B., M.Sc., Ing. en Computación
Linux Registered User #388735



On Wed, Jun 29, 2011 at 00:57, Luís Oliveira &amp;lt;luismbo&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel&amp;lt; at &amp;gt;common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel
&lt;/pre&gt;</description>
    <dc:creator>Simon Ortiz</dc:creator>
    <dc:date>2011-06-29T13:56:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/412">
    <title>Re: CL-OpenGL ES?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cl-opengl.devel/412</link>
    <description>&lt;pre&gt;
I thing you'd simply get an undefined function error from CFFI.



The former seems cleaner.



Not sure about nicely, but I suppose you could have a
cl-opengl-base-1.1, cl-opengl-base-2.0, etc. If one's going to think
about a layout like this in depth, it'd be interesting to take OpenGL
profiles into account too.



However, we most certainly want to avoid duplication on the GL package
since that package contains high-level abstractions that aren't
automatically generated.



I don't think adding them to the spec file is worth the trouble.
Writing the CFFI definitions by hand is probably much simpler. I
suggest you create a cl-opengl-es-1.1 system, make it depend on
cl-opengl and add the egl functions to a new EGL package.

We can then tackle the cl-opengl-base issue if it's worth the trouble.

Cheers,

&lt;/pre&gt;</description>
    <dc:creator>Luís Oliveira</dc:creator>
    <dc:date>2011-06-28T15:57:24</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.cl-opengl.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.cl-opengl.devel</link>
  </textinput>
</rdf:RDF>

