« first day (1216 days earlier)      last day (3746 days later) » 

5:00 PM
Granted, that makes boob rendering easier: render a normal sphere with a proper algorithm, then a smaller sphere with ThePhD's algorithm.
 
@doug65536 gl? what? I render "in software", I don't use gl, just C++ AMP to GPGPU it
 
Speaking of auth nonsense, I should deploy LDAP finally maybe
 
@ScarletAmaranth oh ok then, carry on
 
@doug65536 lol
 
user3010322
5:01 PM
UBUNTU EDGE ASKED FOR 32 MILLION?
 
user3010322
WHAT THE FUCK, AND THEY ONLY HAD A MONTH TO DO IT?
 
Ell
@ThePhD yup.
 
user3010322
How fucking retarded can you be?
 
user3010322
"GUYS LET'S MAKE 32 MILLION IN ONE MONTH."
 
5:01 PM
URGH
 
Also wildcard certs are expensive as shit, so we could either pool funds or whatev or I'll deploy PGP-signed ones
 
Couldn't match expected type `Vertex2 GLfloat'
            with actual type `Vector2 GLfloat'
 
this will give you direction from camera to pixel
vOv
 
@CatPlusPlus What's the order of magnitude?
 
They start from $100/year
tbh I might just deploy self-signed ones because god fuck this you can validate fingerprints
Never had time to checkout those distributed trust things like convergence.io
 
user3010322
5:04 PM
 
Xeo
@BartekBanachewicz lemme guess, it's not type Vertex2 = Vector2?
 
@ThePhD oh ye, I have access to your git there
 
@Xeo apparently not.
 
user3010322
How do I make it so
 
user3010322
people can see my private repos
 
user3010322
5:05 PM
but not give them push access?
 
@BartekBanachewicz Type class it away?
 
Make them public?
 
user3010322
Or pull, for that matter.
 
user3010322
Just, like. Uh. Viewership.
 
user3010322
ANd crap.
 
5:05 PM
You can't give them access but not give them access
 
@ThePhD don't worry, I won't delete anything :D
 
@R.MartinhoFernandes or I could just store Vertex2 instead
 
user1804599
I think I will spawn a process for each NPC.
 
user3010322
Meh, I'll just make everyone collaborators. ;~;
 
If you can see a repo you can clone it
 
Xeo
5:06 PM
you can give read access, and allow only private forks
 
push --mirror's empty repo
 
Xeo
but can't restrict any other way
 
You can still clone locally
 
@ThePhD I don't understand the "position" data member tho, is it origin?
 
Make people sign NDAs if you care that much
 
5:06 PM
wait
uh
 
user3010322
@ScarletAmaranth position is origin, yeah. Where the camera started.
 
(Nobody will fyi)
 
user3010322
@CatPlusPlus vOv I was just wondering about Github's capabilities.
 
user3010322
What's Borgleader's github again...?
 
@ThePhD ah, ok, I have a silly system right now, I use an immovable camera so it's implicit since the construction : - / :)
 
5:07 PM
oh right
 
Xeo
@ThePhD they could just copy the code directly from github if they can see it
 
user3010322
@ScarletAmaranth Ahh.
 
Vertex2 is an instance of Uniform but Vector2 is not
 
user3010322
@Borgleader WHAT'S YO GITHUB, SON?
 
user3010322
Ya'll need avatars on Github
 
user3010322
5:08 PM
Link that shit to your gravatar.
 
user3010322
So I can tell who the hell you are. ;~;
 
I have an avatar on GH.
 
@Borgleader so surprising
 
user3010322
@BartekBanachewicz It's something weird on Bitbucket. ;~;
 
5:09 PM
ikr
 
Hmm, I have an avatar too.
 
user3010322
Okay, you're all apart of Lightstalker, yay!
 
@BartekBanachewicz can't you use a "shuffle" to compare? like, a.xy == b.xy
 
Good ole Robbie carrying Altaira goes everywhere I go.
 
We could do vcards on loungecpp dot net with stuff like that
 
user3010322
5:09 PM
VCards?
 
Floating point exception (core dumped)
 
user1804599
@BartekBanachewicz Have you ever written multiplayer game with server?
 
user3010322
Valentines Day Cards? <3
 
Hell, edit your user pages on wiki
 
@doug65536 whaaat
 
5:10 PM
zoidberg
I waslooking for you
 
@ThePhD It's like electronic business cards.
 
user1804599
@CatPlusPlus ok.
 
user3010322
@ScarletAmaranth Do you have an avatar that defines you?
 
for some reason that I've totally forgotten now.
 
user3010322
5:10 PM
@R.MartinhoFernandes Oh. Kinky.
 
@rightfold yes
 
@ThePhD in what sense?
 
@ThePhD I see lightstalker, but not furrovine
 
@ThePhD I should hope that you don't link sexual misdeeds with business cards, cause that would rapidly result in loss of business
 
user1804599
@BartekBanachewicz I have some ideas about it but I am not sure whether it works well.
 
user3010322
5:11 PM
@ScarletAmaranth An image you associate with yourself. Or with the name "ScarletAmaranth"
 
@BartekBanachewicz nevermind, I thought you were talking about in a shader program
 
user3010322
@JerryCoffin They write... specs for this stuff? Wow. o.0
 
@doug65536 then it's vec2
 
@ThePhD yes I do, it's this hash generated green-white abstract thing
 
It's a swastika.
 
Xeo
5:11 PM
haha
 
user3010322
@ScarletAmaranth Just that? It's not even Scarlet. D:
 
It's a green swastika.
 
Literally green Hitler
 
Vegan Hitler.
 
5:12 PM
generally speaking, how do programs handle how close your camera can get in graphics?
 
SwastikaAmaranth.
 
This is what datacenters mean when they say they're green
 
user3010322
@Crowz Near Plane and Far Plane.
 
user3010322
Incorporated in your projection matrix.
 
@Crowz Magic
 
5:13 PM
@CatPlusPlus I tried import magic, it didn't work
 
@Crowz you mean not letting the camera penetrate things? very carefully
 
user3010322
@melak47 Well, ask yourself: do you or anyone else really want to see what Furrovine looks like?
 
Xeo
aw damn, the guys at work are passing around a doodle for the next Twilight Imperium session, and I can't commit to any of the days yet because of my fucking leg T_T
 
@Crowz too broad
 
Btw, I see that some people that said they'd take part have not yet registered in the room's event. @DeadMG, @rightfold, @melak, @Borgleader, ...
Just annoying everyone, like a salesman.
 
5:14 PM
what event?
 
@R.MartinhoFernandes didn't see it :)
 
@BartekBanachewicz so let's say I have a sphere and a scroll event that will bring you closer to the sphere. How would I "focus" the camera in such a way that you can't scroll straight through the sphere?
 
Xeo
15 hours ago, by R. Martinho Fernandes
Registration for The 2nd Great Lounge Game Jam is now open.
 
You guys don't read the starboard?
 
@R.MartinhoFernandes you're like a little Barket
 
5:14 PM
I've only been able to do hacky if statements.
 
no
 
Loungers, instructions. Instructions, Loungers
 
and fuck chat events
 
@Crowz define scroll
 
Your complaining-that-noobs-don't-read-the-starboard license is revoked.
5
 
5:14 PM
@R.MartinhoFernandes I had a headache :/
 
@BartekBanachewicz like, scroll on your mouse. It's WebGL. the camera is looking directly at the sphere but if you scroll enough it'll go right through it.
 
@Purrformance D'la bouffe de cabane à sucre.
 
@Crowz Just don't move the camera if it gets too close.
 
user3010322
Ugh.
 
user3010322
Dat opensource rule. =/
 
5:15 PM
@Crowz You know the positions of both, so just check the distance maybe
 
@Crowz ugh scroll is not a defined camera transformation
is it scale? Fov? Translation?
 
@BartekBanachewicz this ^^
 
@R.MartinhoFernandes I'm doing a tightrope act that day. See, I have never done a tightrope act so I will probably be dead for the event
 
@R.MartinhoFernandes It looks identical to the previous message.
 
@ThePhD that's what you get for making a super-duper do-everything graphics lib :D
 
5:16 PM
Don't put the tightrope around neck
That's wrong tightrope act
 
user3010322
@melak47 q_q
 
user3010322
Fuck.
 
user3010322
It still looks like a goddamn nipple.
 
@ThePhD if you only had a crappy little wrapper like me, there'd be no issue open sourcing it ^_^
 
@ThePhD Nipple renderer?
 
5:17 PM
@ThePhD add salad
 
@BartekBanachewicz I guess what it is really doing is translation, it just brings the sphere.z closer to the camera.
 
@Crowz then do collision testing to prevent it :D
 
user3010322
@melak47 I don't really have a problem with it being open source. I just don't want it... out there.
 
user3010322
Like.
 
@ThePhD ?
 
5:18 PM
@ThePhD That sounds like having a problem with it being open source.
 
@melak47 he means it's really shitty ^^
 
@melak47 I feel like an if statement is a really flaky way to do that, would I be correct in assuming that?
 
Xeo
@DeadMG stop complaining and fucking register.
 
@ThePhD what
 
Seriously, this is like, a perfect use of chat events.
 
5:18 PM
@Crowz if statement is not collision detection, no
 
@ThePhD Yup. There are RFCs for an almost amazing number of seemingly trivial things.
 
user3010322
In the sense that it'll just be one other shitty repository that's says its an engine when it's not quite there yet. I don't feel like I've reached the important Critical Mass that @JerryCoffin talked about before.
 
@R.MartinhoFernandes Puppy is complaining about pretty much everything WRT the jam
so don't take it personally, I think a chat event is p ok for that
 
@ThePhD Then don't say it is?
 
Xeo
@ThePhD btw, ever made a 3d game?
 
5:20 PM
lol
 
user3010322
@Xeo Yeah. 2.
 
No, he said 3.
 
countless games. Like 2. Or 3. /cc @Purrformance
 
user3010322
One my team kind of dropped out on me, so I tombstoned the project.
 
5:20 PM
Are you talking about Kyrostat?
 
user3010322
The other one is also tombstoned in BitBucket, and one of the artists is going through school and coming back later.
 
@ThePhD Why do you care about that
 
@ThePhD no offense but imho you have a tendency to overengineer
 
Look at rightfold
 
5:21 PM
lol
 
Xeo
@ThePhD k, then make more. and extract an engine out of those games.
 
or rather, make a game, cut everything that's terrible and make another game basing on what's left
eventually what's left will be big enough
 
To topple down hard.
 
user3010322
@Xeo I've got a lot more 2D games that I've taken the functionality out of and put into the engine (rendering raster fonts, dealing with unicode, entity component systems, shader effects, high-performance sprite renderers, etc.)
 
@R.MartinhoFernandes thank god everyone left, I'm laughing out loud in the office
 
5:22 PM
ewwww entity component
 
so enterprise
 
user3010322
I could try to make more 3D stuff, so I can get better at Skeletal Animations, mesh manipulations, etc.
 
yeah because skeletal animation is something you do over two weekends
 
user3010322
Well, I'm not doing it now.
 
who cares.
 
5:23 PM
Alright, now that I'm rested. Time to figure this gradient shit out T_T let's hope doug's guide will help me.
 
user3010322
That shit takes concentration. I'm in school, so everything's slowed to more or less a crawl.
 
guys, what was that math lib you linked to ThePhD? which does all the SSE and what not stuff
 
user3010322
@melak47 glm?
 
@melak47 GLM. But also Eigen
 
user3010322
Or the SSE one?
 
5:24 PM
no
 
@melak47 libsimdpp?
 
yes!
 
user3010322
Yeah, what robot said.
 
I'm using that right now.
 
@BartekBanachewicz hahaha GLM
 
5:24 PM
GLM is good.
 
@R.MartinhoFernandes how is it?
 
did you see GLM source?
 
it looks like dog's dinner
 
@melak47 Quite cool.
 
user3010322
5:24 PM
@R.MartinhoFernandes I am curious... how easy is it to use?
 
user3010322
Does it base itself off macros? Inline functions in namespaces?
 
GLM was created by a guy who is one of the top pros on computer graphics
so yeah I'm inclined to trust him that he knows what he's doing
 
user3010322
Does it use #define to determine the features? Or is it determined at runtime?
 
someone needs to use this mp3 in response to an answer in chat :)
 
alright, let me rephrase myself, I don't think it's bad but the source makes me want to hang myself
 
5:25 PM
why are you reading the source again
 
Ell
Hokay. I need to render a load of snakes cubes on a plane.
 
user3010322
@ScarletAmaranth SL makes me feel the same way, but shrug. It works.
 
cuuuubes
 
I like reading source
:P
 
user3010322
SL, standard library.
 
5:26 PM
use nonambiguous abbreviations next time TIA
 
@ThePhD Just starting.
@ThePhD Mostly macro free unless you want dynamic dispatch.
 
Ell
I wonder if bartek will advise me on the best way to do this with gles2 without me having to ask him directly and instead by just stating my thoughts out loud.
 
user3010322
Well, the person STL does make me feel dumb.
 
Xeo
@BartekBanachewicz et tu, brute?
 
user3010322
He explained his FreeType and OpenGL renderer to me.
 
5:27 PM
@Ell you know fuck I shouldn't :P
 
user3010322
I felt like a fucking tool with my basic unicode renderer and raster fonts.
 
I don't remember asking you a goddamn thing
 
Ell
@BartekBanachewicz Haha why not? :P
 
ITT ThePhD realizes his engine isn't as good as he thought
 
@ThePhD But you didn't want to use FreeType!
whistles
really loud
 
5:28 PM
@Ell what do you need?
 
user3010322
@R.MartinhoFernandes I didn't want to use FreeType with DirectX.
 
user3010322
FreeType is already slated to be in the engine when I'm on Not-Windows
 
I feel like I am wasting a lot of time whilst reading about ThePhD's failed ideas so I'll just plonk you for a while (no offense). Plink me trough someone if you want something.
 
user3010322
E,g.:
 
user3010322
 
5:29 PM
@Ell Remember I was rendering cubes as a representation of voxels
 
@ThePhD whats' wrong with raster fonts? not overengineered enough? :)
 
user3010322
@doug65536 Transparency.
 
@doug65536 They're ugly as fuck. That not enough?
 
user3010322
And they look ugly at different sizes.
 
Ell
@BartekBanachewicz Cubes moving along x & y axis on a 2d plane. There will be infinitely many of them (of course not on the screen at once) and they will all have random colours (no need for textures)
 
user3010322
5:30 PM
Unless you do what everyone else does and use a straight-edge pixel-looking font.
 
you can store fully antialised fonts in alpha-only format and kern them just fine
 
user3010322
And even then unless you disable anti-aliasing the edges looklike shit.
 
@Ell well that sounds simple enough to do in whatever way you like the most / is easiest
 
user3010322
@doug65536 Scale that up by just a quarter of its size. Observe hilarity.
 
@ThePhD you don't need to "scale up" fonts. you have text in 3d space? ok...
 
Ell
5:31 PM
@BartekBanachewicz I'm not sure what to do. A vertex buffer for a single cube then just change the model uniform and render each cube each frame?
 
user3010322
And yes, scaling text is a common operation. See scores that explode from enemies when you kill them, amongst millions of other transforms done on text.
 
I have the feeling I'll realize in a few hours I forgot to enable one tiny thing and that's why my thing is not working T_T
 
Ell
I'll give that a try anyway :)
 
@Ell nah, direct uniform calls are suck. You'd be better off with two VBOs I think (positions and colors)
and modifying the first one.
 
Xeo
@BartekBanachewicz dude, wtf
 
user3010322
5:32 PM
@R.MartinhoFernandes Though, the idea is that you could get the exact same features using FreeType and OpenGL as you could with DIrectX and DirectWrite, or DirectWrite and OpenGL, or FreeType and DIrectX.
 
@Xeo I don't see direct plinks when ignoring :|
 
"Runtime" is a myth.
 
Ell
@BartekBanachewicz So update the vertex positions on all the cubes every tick?
 
@LightnessRacesinOrbit so are washing mashines
@Ell well you said you want to move them, no?
 
@BartekBanachewicz Yep
 
5:33 PM
ah wait you want to have infinite number of them
hmhmhmh
 
user3010322
@Xeo I'm perfectly okay with his decision. He thinks I'm wasting my time, when unfortunately for him I've been accruing knowledge and building something up that I think will last me a very long time. I've started from the very basics -- even though I clearly didn't have to, for obvious reasons -- but because of it I've learned a lot, and I'll be more than capable of pursuing greater things when I actually graduate from University.
 
@ThePhD first have monsters, THEN worry about the quality of the text
 
I'd still try what I suggested.
 
Ell
@BartekBanachewicz also for reference I've just found the game I want to make something like: cubefield.org.uk
 
raw full VBO data copy is one of the fastest things you can do; cannot send data without sending data
 
5:34 PM
@doug65536 That's not an argument for "there's nothing wrong with raster fonts".
 
Ell
(I couldn't remember what it was called before)
 
@R.MartinhoFernandes it's an argument for "don't spend a week making a masterpiece 3D text renderer for a game engine that is hardly even implemented"
 
@Ell yeah. So try what I suggested.
 
Ell
Okay :)
 
with this number of elements it shouldn't be a problem anyway
fuck this shit
I'm going home, I need GL 4.4
Well, 4.2, but you get the point
 
5:39 PM
hi as a cpp dev clojure to me looks like a polish notation java, does anybody here have some suggestions what should i look in the clojure to make me feel go: ah, that is the point of it. :D i know immutability, but that is meh to me
 
@ThePhD wanna team up for the next game jam? :D or not :(
 
I'd say... don't approach new languages from the "how does this compare to C++" perspective.
 
(You can replace "C++" with any other language, FWIW)
 
mbiguous occurrence `get'
    It could refer to either `Control.Monad.Trans.State.Lazy.get',
                             imported from `Control.Monad.Trans.State.Lazy' at main.hs:7:1-37
                          or `Graphics.Rendering.OpenGL.get',
FFS
fuck mbiguous occurrences
 
5:42 PM
Why you no qualify everything.
 
Xeo
didn't you want to import OGL qualified?
 
@Xeo now I have an ultimate need to, I guess
 
> Life is filled with goodbyes, Eve, a million goodbyes, and it hurts every time. Sometimes, I feel like I've lost so much, I have to find new things to lose. All I know is, there must be a divine point to it all, and it's just over my head. That when we die, it will all come clear. And then we'll say, "So that was the damn point." And sometimes, I think there's no point at all, and maybe that's the point. — Mozelle Batiste Delacroix, in Eve's Bayou
 
so Bartek. Do a lot of games write their own shaders and lights or is there a lot of "pre-made" ones? Like cel shading must be a 'default' type of shader, right?
 
you can only write bad code for so long in Haskell
 
5:43 PM
Felt like quoting that.
 
@Crowz everyone writes their own
 
God, so much bikeshedding. Big argument on what the address of the 'confirm email subscription' should be -_-
 
..........
 
@R.MartinhoFernandes c++ beside being irritating and verbose sometimes is all i need, or at least i feel like that, and that is the reason I dont need D - because cpp is good enough for me not to bother with D. So im hoping for some new perspective or smthing from clojure... :D also iirc Herb likes Clojure :P
 
@NoSenseEtAl if you learned other languages C++ would start to bother you more
 
Xeo
5:46 PM
who cares what Herb likes?
 
are there common templates with shaders? Ie, to get this effect, start from this base and adjust as needed
 
@BenjaminGruenbaum noreply@lightnesspyramid.com
 
@BartekBanachewicz not really, I love STL and const, all other is just details :D ok, i would like yield return :D
 
Xeo
@NoSenseEtAl we're going to have some D code at work, and it seems like Alexandrescu is going to pay us a visit in September :/
 
@Xeo well herb can sound like a salesman sometimes but he is a cool guy imo
 
5:47 PM
lol
 
fuck yeah
it works
 
@Xeo you work in FB? :P
 
@Crowz you can find random code sometimes but it's usually terrible
what's common are mathematical equations that are used
because yeah hard to imagine them being not common
@NoSenseEtAl wait so each end every part of C++, except the standard library and const qualifier is detail for you?
 
@Crowz and when you need something more complicated, you go read papers and stuff :D
 
5:49 PM
Anyway my pipeline class works
so yeah I rock
 
pics or it didn't happen
 
btw Xeo since you are good at cpp I wonder if you like D... i think i would hate GC, so i wonder if you ever made some post about it or smthing... i know i should try it myself, but @BartekBanachewicz not really, but that is what I care about... ofc if it didnt have classes or private or public it would suck...
 
@melak47 OMG MATHEMATICS
 
@R.MartinhoFernandes oh, was he the guy who said you don't need math? :D
 
@melak47 sec linux
not cropping it
 
5:51 PM
error "todo" lol
 
A.K.A. throw "fuck";
full code is on my gist, but I think it's secret
 
that's what I was thinking... like I kind of want to emulate shading I've seen in a game but I feel like it's been done so many times that there's no way there's not instructions on how to go about emulating that style
 
@Crowz you don't understand what "emulate" means, so please don't use that word
which can be made more generic into "don't (fucking) use words you don't understand (TIA)"
 
@Crowz there are articles that discuss how to get SSAO that looks like crysis' SSAO...if that's what you mean? but copy/pastable code is rarer
 
in your case "blatantly copy" would be more appropriate anyway
@melak47 CAN I HAS COPYPASTABLE SSAO
 
5:54 PM
yeh cos that code is readable
 
which code
 
user1804599
@BartekBanachewicz dat code.
 
meh, it's experimental
 
See - the answer to "what should I do" is "spend some time debugging" :) — Lightness Races in Orbit 6 secs ago
This feels like a victory
 
Original line: if (p1->flags & NVG_LEFT)
C++ enum class version: if (static_cast<std::underlying_type<PointFlags>::type>(p1->flags) & static_cast<std::underlying_type<PointFlags>::type>(PointFlags::NVG_BEVEL))
awesome >.>
 
user1804599
5:57 PM
Overload operator& noob.
 
user1804599
Also I see duplicate code.
 
user1804599
You do std::underlying_type<PointFlags>::type twice.
 
user1804599
That is bad.
 
@BartekBanachewicz Hmm, first thing I'd do when picking up that API would be withBinding var val op = do { var $= val; x <- op; var $= zero; return x }
 
ERMAHGERD BERD CURD D:
 
user1804599
5:58 PM
Also static_cast<std::uintmax_t> should work fine. :V
 
user3010322
@melak47 <3 Sure.
 
Yay background video processing works
Celery is nice
 
user3010322
If you'd like, I can give you access to Furrovine and you can try it out until the game jam?
 
@ThePhD what are we gonna do if graphics come up though :E
 
user3010322
5:59 PM
@melak47 We're allowed to use graphics and non-graphic (CL) interfaces.
 
user1804599
CLI interfaces.
 

« first day (1216 days earlier)      last day (3746 days later) »