From raito at raito.com Thu Oct 2 15:04:53 2008 From: raito at raito.com (raito at raito.com) Date: Thu, 2 Oct 2008 15:04:53 GMT Subject: [cl-opengl-devel] checker.lisp (Redbook example) Message-ID: <20081002110453.j1xt20m6jo8sswcs@webmail.hostberbee.com> Well, I was already working on porting the redbook examples to Lisp (at least the ones that hadn't been done yet). And as Luis pointed out, doing that is on the list. So here's the first one, ported from checker.c. It's a texture-mapping example. I have some others that need cleaning up, because prior to updating my stuff, I had to do things like code-char key in keyboard, because that's just how it worked on the Mac. I have noticed that some of the redbook examples can't currently be ported, because cl-opengl doesn't offer all the functions yet. I wasn't able to use '(64 64) when creating the texture map, because I get this error: * (load "checker.lisp") ; in: LAMBDA NIL ; (SETF (AREF RET-VAL (+ BASE 1)) 255) ; --> SB-KERNEL:%ASET ; ==> ; RET-VAL ; ; note: deleting unreachable code ; (SETF (AREF RET-VAL BASE) 255) ; ==> ; (SB-KERNEL:%ASET RET-VAL BASE 255) ; ; caught WARNING: ; Asserted type VECTOR conflicts with derived type ; (VALUES (SIMPLE-ARRAY T (64 64)) &OPTIONAL). ; See also: ; The SBCL Manual, Node "Handling of Types" And I haven't included an update to examples.lisp -- it's just adding it to the list of examples, and examples doesn't actually run the examples unless you've already loaded them (I might work on that for the future). Neil Gilmore raito at raito.com -------------- next part -------------- A non-text attachment was scrubbed... Name: checker.lisp Type: application/octet-stream Size: 2921 bytes Desc: not available URL: From raito at raito.com Fri Oct 10 18:44:02 2008 From: raito at raito.com (raito at raito.com) Date: Fri, 10 Oct 2008 18:44:02 GMT Subject: [cl-opengl-devel] How is work normally done on this project? Message-ID: <20081010144402.dvhu9s5am8gkksco@webmail.hostberbee.com> Quoting Lu?s Oliveira : > You'll have to be more specific. If you're looking for ideas, see this > thread: I think I can better explain what I was asking now. I wasn't asking about what work to do, I was asking about how to go about making sure that work gets in where it's supposed to go. In some projects, one emails patches directly to the maintainer, who takes over from there. In some projects, one emails patches to the development list, and the maintainer takes it from there, but others might use rejected patches on their own. In some projects, everyone is given access to source control, and just throws stuff in (a rather wild and wooly version of development, but it exists). And that's aside from the process by which it's decided what paches go in or don't go in to official versions. Sometimes the maintainer decides, sometimes there's a committee, sometimes everyone just throws stuff in, etc. I'd like to 'play nice', but 'nice' means different things in different places. I'd like to know what 'nice' means for cl-opengl. For example, I've seen some patches submitted via this list, and I've seen you say 'thanks, I've put it in.' I've done some work on one of the items suggested (that being Redbook examples), and I'd like to see them get put into the 'official' stuff (realizing, of course, that cl-opengl doesn't really have releases). That's why I posted checker.lisp to the list. So how do I go about getting into the darcs repository in a way that will keep everyone happy with me? Yes, I've used a lot of text here, but the answer I got before (while useful) didn't answer the question I was asking. I hope that this is clearer. Neil Gilmore raito at raito.com From luismbo at gmail.com Sat Oct 11 00:13:16 2008 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Sat, 11 Oct 2008 01:13:16 +0100 Subject: [cl-opengl-devel] How is work normally done on this project? In-Reply-To: <20081010144402.dvhu9s5am8gkksco@webmail.hostberbee.com> References: <20081010144402.dvhu9s5am8gkksco@webmail.hostberbee.com> Message-ID: <391f79580810101713q626693e2mb5c12687cb15413b@mail.gmail.com> On Fri, Oct 10, 2008 at 7:44 PM, wrote: > I've done some work on one of the items suggested (that being Redbook > examples), and I'd like to see them get put into the 'official' stuff > (realizing, of course, that cl-opengl doesn't really have releases). > That's why I posted checker.lisp to the list. So how do I go about > getting into the darcs repository in a way that will keep everyone > happy with me? One of us (lately it's been mostly just me) will eventually add that example to the tree. I suppose that if you send the example in darcs patch format (or publish your tree somewhere), along with the necessary changes to examples.lisp and cl-opengl-examples.asd, that'd be quite helpful and it'd speed things up. -- Lu?s Oliveira http://student.dei.uc.pt/~lmoliv/