<jackdaniel>
(notice how the alpha channel is treated and the call to render-fill-rectangle)
<bumblingMonkey>
I check that, but there's nothing about triangles. Filled rects work fine alpha.
<bumblingMonkey>
with alpha
dddddd has joined #lisp
<jackdaniel>
you need to use fill-trapezoid or whatever it is called, it works very similar
<jackdaniel>
xlib:render-triangle-fan
<jackdaniel>
you need to compose it "over"
<bumblingMonkey>
tried triangle-strip with all ops, no go. I could try fan, but not sure if it would be different. Do you have any working code?
<jackdaniel>
I've linked you a working code, but it is for rectangles
<jackdaniel>
I don't have anything else
retropikzel has joined #lisp
<bumblingMonkey>
which works differently since fill-rectangles takes a color array, while the triangle functions take pictures, which I think might be part of the problem. I can't even located C code using triangles.
<jackdaniel>
C code?
<bumblingMonkey>
well, any code written in any language, using the triangle rendering functions. So I can't even tell if it is supposed to work.
ir0nbutt has joined #lisp
clothespin has joined #lisp
ironbutt has quit [Ping timeout: 240 seconds]
igemnace has joined #lisp
boeg has quit [Quit: Connection closed for inactivity]
manualcrank has joined #lisp
Inline has joined #lisp
monokrom has joined #lisp
gareppa has joined #lisp
bumblingMonkey has left #lisp [#lisp]
frgo has joined #lisp
FreeBirdLjj has joined #lisp
frgo has quit [Ping timeout: 240 seconds]
defaultxr has joined #lisp
<jackdaniel>
I suppose you can call fill-rectangle on a picture and pass that picture as a design for the triangle-fan
q9929t has joined #lisp
bitmapper has quit [Ping timeout: 265 seconds]
q9929t has quit [Quit: q9929t]
stzsch has quit [Ping timeout: 276 seconds]
hhdave has quit [Ping timeout: 240 seconds]
ironbutt has joined #lisp
hhdave has joined #lisp
ir0nbutt has quit [Ping timeout: 268 seconds]
lucasb has joined #lisp
isBEKaml has quit [Quit: leaving]
cseder is now known as cseder_away
ralt has quit [Quit: Connection closed for inactivity]
clothespin has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
jonatack has quit [Ping timeout: 245 seconds]
smazga has joined #lisp
dale has joined #lisp
Duuqnd_ has joined #lisp
Duuqnd has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 250 seconds]
bitmapper has joined #lisp
frgo has quit [Ping timeout: 240 seconds]
q9929t has joined #lisp
enrio has joined #lisp
elinow has quit [Quit: Leaving]
q9929t has quit [Quit: q9929t]
jprajzne has quit [Quit: Leaving.]
shka_ has joined #lisp
gareppa has quit [Quit: Leaving]
cosimone has quit [Quit: Terminated!]
cosimone has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 250 seconds]
anewuser has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
ntqz has joined #lisp
ebrasca has quit [Remote host closed the connection]
decent-username has joined #lisp
frgo has joined #lisp
<decent-username>
I've asked a question a few hours ago. Unfortunatley I didn't have proper internet until now. Did anyone answer it?
bitmapper has quit []
<Shinmera>
there's logs in the topic.
<beach>
decent-username: I don't think we saw your question.
frgo has quit [Ping timeout: 240 seconds]
pjb has quit [Read error: Connection reset by peer]
<decent-username>
alright then I'll send you a paste of the relevant text.
pjb has joined #lisp
pjb is now known as Guest36120
<decent-username>
I have another question: How could I override the name of a classes :initarg and :accessor for a slot that was inherited?
<decent-username>
Inside #'make-sprite-sheet-sprite I'd like to initialize the `resource-keyword' slot from the `sprite' class.
<decent-username>
Is something like that possible?
<decent-username>
I actually don't want a new `sprite-sheet' slot for `sprite-sheet-sprite', just different names for the accessor and initarg of `resource-keyword'
<decent-username>
O . o pastebin didn't let me pass
<Xach>
decent-username: you do have to recap the slot name and add an :accessor and :initarg argument.
Guest36120 has quit [Client Quit]
pjb has joined #lisp
<decent-username>
Alright. How do I "recap" a slot name?
<Xach>
by "recap" i mean you have to write a slot definition with the same name.
<Xach>
any options will extend the options of the original slot.
<decent-username>
oh, that's easy
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
<decent-username>
LOL. I was hacking around with (defmethod initialize-instance :after ...)
rippa has joined #lisp
<Xach>
no need
<decent-username>
I'll plan on writing lisp throughout this semester, so I don't get rusty. And because I'm a lazy bum, Im staying from 8AM to 8PM at the university.
<decent-username>
I've almost finished my first week. :^D
ntqz has quit []
<Bike>
the superclass accessor will still work on instances of the subclass, just so you know
<decent-username>
Bike: I would've expected as much.
<decent-username>
I want a need initarg and accessor to make the code more readable.
<Bike>
you said "different names" instead of just a new name, so i figured i'd be expliict about it
<decent-username>
I wanted to make*
<decent-username>
Maybe I've had too little sleep. My brain is spewing out random sentences with bad syntax.
cosimone has quit [Remote host closed the connection]
<decent-username>
Bike: That's why I like the Lisp community. People are very accurate with their word choice. (in contrast to me)
cosimone has joined #lisp
<Xach>
maybe it's from years of parsing the hyperspec
<decent-username>
probably. I still don't really know how to use the words "condition" and "error" properly.
<decent-username>
I usually just say: "It raises an Error" or "It throws an Error."
invergo has quit [Ping timeout: 240 seconds]
<Bike>
"it signals an error"
<Bike>
we'll probably understand it with the other two, though
Codaraxis__ has quit [Remote host closed the connection]
Codaraxis__ has joined #lisp
Codaraxis__ is now known as Codaraxis
<beach>
decent-username: "throw" in this context is not good, because there is a function THROW that does something completely different.
<beach>
There is still some sloppiness in the vocabulary used here. There is no such thing as "a lambda" for instance. There is "a lambda expression" and there is an "anonymous function" (the result of evaluating the lambda expression).
<beach>
And many people say "a CLOS class" but that term is meaningless since all classes are part of CLOS. What they often mean is "a standard class".
scymtym has quit [Ping timeout: 250 seconds]
hhdave has quit [Quit: hhdave]
zigpaw has quit [Ping timeout: 240 seconds]
zigpaw has joined #lisp
Codaraxis has quit [Ping timeout: 240 seconds]
superkumasan has quit [Ping timeout: 276 seconds]
frgo has joined #lisp
superkumasan has joined #lisp
prite has quit [Quit: Konversation terminated.]
prite has joined #lisp
t58 has joined #lisp
gxt has quit [Ping timeout: 260 seconds]
gareppa has joined #lisp
lxbarbosa has joined #lisp
bitmapper has joined #lisp
MichaelRaskin has joined #lisp
raghavgururajan has quit [Remote host closed the connection]
jonatack has joined #lisp
frgo has quit [Ping timeout: 240 seconds]
nowhere_man has joined #lisp
abhixec has joined #lisp
Codaraxis has joined #lisp
smazga has quit [Ping timeout: 240 seconds]
Inline__ has joined #lisp
cseder_away has quit [Quit: $ sudo rm -rf /]
gareppa has quit [Quit: Leaving]
LiamH has joined #lisp
Inline has quit [Ping timeout: 264 seconds]
chipolux has joined #lisp
smazga has joined #lisp
EvW has joined #lisp
gxt has joined #lisp
ironbutt has quit [Remote host closed the connection]
refpga has joined #lisp
smazga has quit [Ping timeout: 265 seconds]
random-nick has quit [Ping timeout: 265 seconds]
ljavorsk has quit [Remote host closed the connection]
mathrick has quit [Ping timeout: 264 seconds]
EvW has quit [Ping timeout: 245 seconds]
ljavorsk has joined #lisp
ljavorsk has quit [Remote host closed the connection]
ljavorsk has joined #lisp
Codaraxis has quit [Remote host closed the connection]
Codaraxis has joined #lisp
mathrick has joined #lisp
frgo has joined #lisp
Codaraxis_ has joined #lisp
varjag has joined #lisp
Codaraxis has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
Codaraxis_ has quit [Remote host closed the connection]
Codaraxis_ has joined #lisp
ljavorsk has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: Terminated!]
bitmapper has quit [Ping timeout: 240 seconds]
decent-username has quit [Ping timeout: 240 seconds]
karlosz has joined #lisp
random-nick has joined #lisp
stepnem has quit [Ping timeout: 240 seconds]
Necktwi has quit [Quit: leaving]
decent-username has joined #lisp
stepnem has joined #lisp
nowhere_man has quit [Ping timeout: 268 seconds]
karlosz has quit [Quit: karlosz]
decent-u` has joined #lisp
decent-username has quit [Ping timeout: 240 seconds]
clothespin has joined #lisp
Inline__ has quit [Quit: Leaving]
Codaraxis_ has quit [Read error: Connection reset by peer]
Inline has joined #lisp
<flip214>
beach: don't you think there could be classes outside of CLOS? not in ANSI CL, granted, but if someone implements them using CONS cells only (or structures, or arrays, etc.)
vlatkoB has quit [Remote host closed the connection]
igemnace has quit [Ping timeout: 240 seconds]
<aeth>
flip214: I think what beach is saying is that people say "a CLOS class" when they mean "a class defined by defclass", which is more accurately "a standard class". And that distinction is needed because there can be condition classes (or are they just conditions?) with define-condition and structure classes with defstruct.
<Bike>
"condition types"
gareppa has joined #lisp
<aeth>
flip214: And imo there are some classes that you yourself can write that aren't part of CLOS if you (ab)use macros enough, but that's kind of besides the point. They're not CL classes, you're basically embedding a new language.
<aeth>
(And beach would probably say that if you're avoiding CLOS there in the implementation, you're probably making things too hard.)
<Bike>
i think technically you could have find-class not work on condition types
<aeth>
(Although depending on what you mean by "a part of CLOS", then everything in the language is a part of CLOS, so that's another possible reply.)
<LdBeth>
there’re other Object systems implemented with CL, I guess that’s flip214 means
prite has quit [Quit: Konversation terminated.]
prite has joined #lisp
<LdBeth>
And some of them are pre ANSI CL and CLOS
refpga` has joined #lisp
gabiruh_ has joined #lisp
enrio has quit [Ping timeout: 265 seconds]
gabiruh has quit [Ping timeout: 252 seconds]
cosimone has joined #lisp
orivej has joined #lisp
refpga has quit [Ping timeout: 245 seconds]
gravicappa has quit [Ping timeout: 276 seconds]
gareppa has quit [Quit: Leaving]
Codaraxis has joined #lisp
<clothespin>
what would you do with a 64 core chip?
refpga` has quit [Remote host closed the connection]
Bike has quit [Quit: Bike]
<LdBeth>
Install gentoo
<dlowe>
two chromes at the same time
<clothespin>
why
ggole has quit [Quit: Leaving]
LiamH has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
scymtym has joined #lisp
retropikzel has quit [Remote host closed the connection]
<pjb>
aeth: defclass can also define non-standard-classes, when :metaclass is not standard-class.
amerlyq has quit [Quit: amerlyq]
orivej has quit [Ping timeout: 265 seconds]
<aeth>
terminology is hard
<Shinmera>
There's system classes, but those are also classes as part of CLOS.
akoana has joined #lisp
shka_ has quit [Ping timeout: 268 seconds]
LiamH has joined #lisp
decent-u` has quit [Ping timeout: 252 seconds]
<aeth>
This makes me think of the tangential question: Is there any class system that can't be expressed by CLOS? I don't think so...
<clothespin>
maybe frames
<pjb>
frame was the inspiration for clos!
<clothespin>
clos is thoroughly class/instance in nature
<pjb>
aeth: you're confusing CLOS and the MOP.
<Shinmera>
Anyway, beach's point is that every class is a class as part of CLOS, and as such saying "CLOS class" is redundant and ambiguous.
<pjb>
With the MOP and some macros, you can do everything.
permagreen has joined #lisp
<aeth>
pjb: I am being intentionally general to allow for more room, but there still might be a counterexample. I mean, turing complete, yes, but sometimes you literally have to write an interpreter to run that equivalent program.
EvW has joined #lisp
igemnace has joined #lisp
<aeth>
If you allow for macros, I think you can emulate static object systems (C++/Java/etc.) just by doing things at macro expansion time instead of run time. I think that would just require boxing everything and using type declarations with https://github.com/Bike/introspect-environment and would be very Java-ish, but being Java-ish there would be the point.
<pjb>
aeth: let's use macros only for syntactic abstraction.
raghavgururajan has joined #lisp
<aeth>
pjb: Then to do C++/Java, you'd just have to fake the above at runtime, doing two passes, I guess?
<aeth>
Is there an object system that's too dynamic, though?
jonatack has quit [Quit: jonatack]
slyrus__ has joined #lisp
Bike has joined #lisp
slyrus_ has quit [Ping timeout: 240 seconds]
superkumasan has quit [Ping timeout: 240 seconds]
superkumasan has joined #lisp
hiroaki_ has joined #lisp
clothespin has quit [Ping timeout: 265 seconds]
Josh_2 has quit [Ping timeout: 268 seconds]
EvW has quit [Read error: Connection reset by peer]
EvW1 has joined #lisp
prite has quit [Quit: Konversation terminated.]
prite has joined #lisp
prite has quit [Client Quit]
EvW1 has quit [Ping timeout: 268 seconds]
Oladon1 has joined #lisp
Oladon has quit [Ping timeout: 276 seconds]
igemnace has quit [Quit: WeeChat 2.6]
LiamH has quit [Quit: Leaving.]
shifty has quit [Ping timeout: 240 seconds]
<LdBeth>
aeth: Smalltalk's
smazga has joined #lisp
Josh_2 has joined #lisp
smazga has quit [Ping timeout: 268 seconds]
defaultxr has quit [Quit: later]
clothespin has joined #lisp
bitmapper has joined #lisp
Codaraxis has quit [Remote host closed the connection]
Codaraxis has joined #lisp
varjag has quit [Ping timeout: 265 seconds]
techquila has joined #lisp
cseder has joined #lisp
cosimone has quit [Ping timeout: 250 seconds]
asarch has joined #lisp
<asarch>
Are there any public logs of this channel?
<asarch>
I lost my HDD with all my logs :'-(
LiamH has joined #lisp
random-nick has quit [Ping timeout: 240 seconds]
Codaraxis has quit [Remote host closed the connection]
<no-defun-allowed>
asarch: There's three in the topic.
Codaraxis has joined #lisp
<asarch>
THANK YOU!!!
EvW has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
Codaraxis has quit [Ping timeout: 250 seconds]
ralt has joined #lisp
frgo has quit [Ping timeout: 240 seconds]
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
Codaraxis has joined #lisp
asarch has quit [Remote host closed the connection]
smazga has joined #lisp
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
techquila has quit [Remote host closed the connection]
smazga has quit [Ping timeout: 250 seconds]
EvW has quit [Ping timeout: 250 seconds]
techquila has joined #lisp
Codaraxis has quit [Ping timeout: 250 seconds]
cseder has quit [Quit: $ sudo rm -rf /]
Codaraxis has joined #lisp
orivej has joined #lisp
cseder has joined #lisp
fanta1 has joined #lisp
techquila has quit [Remote host closed the connection]