Search
Monday, 20th of August 2018, 0:25:49 UTC
8:42:55
gingerale
shinmera: Hey hey, spending my Doctor Recommended Monday at Home. What are we working on?
8:43:29
shinmera
No TTS or speak today, I don't wanna spend all day with headphones on
8:43:36
shinmera
currently working on the clipmap preprocessing
8:44:48
shinmera
wtf is going on with PS
8:49:54
micro
shinmera: morning - is there audio?
8:50:06
shinmera
I'm watching another stream on the side, so not right now
8:50:14
shinmera
there'll be music later I wager
8:53:51
shinmera
dealing with the headache that is glTexture2D again
9:15:02
shinmera
as I thought my map generator is fucked
9:15:39
shinmera
some very intredasting artefacts though
9:26:54
shinmera
actually nvm it's not fucked
9:29:08
shinmera
But then whhhyyyy is the map all zeroes
9:34:35
shinmera
No, I inserted a thing that automatically fills with null if it can't find a chunk
9:34:41
shinmera
and I had the paths wrong so no chunks were found :u
9:43:57
shinmera
also it looks like the image data is normalized to floats when uploaded which I'd rather not have
9:46:11
gingerale
[0, 1] range floats I assume? Why is this bad?
9:47:23
shinmera
Because I don't know if precision is going to stick with 16 bit integers
9:47:59
shinmera
I think I need to use the r16ui internal format, but GL gives me shit for that and I don't know why
9:53:33
shinmera
Okey upload goes through but everything's zero what
9:57:02
shinmera
alright need to use different declarations in glsl
10:00:33
shinmera
ah, mix only works on floats. Sigh.
10:08:10
shinmera
??????????????????????
10:10:32
gingerale
Like with a lot of art, that is left for the viewer to judge themselves.
10:12:31
shinmera
I don't understand any part of this
10:12:42
shinmera
where the fuck is this data coming from
10:16:01
shinmera
why is it working /now/
10:17:10
shinmera
It's not setting the pixel-type right
10:25:21
shinmera
so either the data is fucked (again), or for whatever reason it's turning the ints into infinities
10:29:27
shinmera
yeah when coercing to float I think it's turning them into infinity
10:29:53
shinmera
not sure how to work around that given that I can't multiply with a float to mix the two levels without also upgrading it to a float
10:31:41
shinmera
guess I'll just let the normalisation to its thing :/
10:33:35
shinmera
Next I gotta figure out why the maps are flipped so weirdly
10:36:16
shinmera
yeah my subimage routine flips the x axis
10:38:07
shinmera
hrm, don't see anything wrong with it though
10:40:23
shinmera
just the act of writing the bits out flips it horizontally
10:42:29
shinmera
sure wish I could tell slime to drop all pending output
10:51:28
shinmera
so where the fuck is the flippage coming from
11:06:59
shinmera
somehow half of the map is.... screwed
11:10:38
gingerale
Hmm.. I got an invitation for a free eyesight check at the optician. I could arrange a time for three hours from now. I think I'll do that and go wash my hair.
11:12:19
shinmera
wish I had an easy way to visualise this data without my crud
11:12:24
shinmera
as it is there's so many pieces that could be wrong
11:27:40
shinmera
how is this almost right
11:30:38
gingerale
Yup, looks pretty good wit hthe arrows
11:31:58
shinmera
HOW DID THIS USED TO WORK
11:32:01
shinmera
THIS ALL FUCKING WORKED
11:35:31
shinmera
I just don't know anymore
11:37:48
gingerale
This reminds me of this one time when everything worked at first, I found a bug and fixed it, and turned out that the bug had reversed the effect of another, bigger bug.
11:38:02
shinmera
I don't even know if that was the case here or what
11:38:10
gingerale
Probably not. It's rare enough
11:41:55
shinmera
now how do I get the height data out of the texture
11:43:17
shinmera
probably need to cache it instead.
11:58:15
shinmera
hmm, why doesn't the clipmap move
11:59:27
shinmera
oh, I ignore the model matrix, that explains it.
12:01:00
shinmera
this is so freaky to watch
12:02:46
shinmera
Well it's actually right
12:03:15
shinmera
the Y offset of the player isn't right yet, and I'm not sure why
12:06:29
shinmera
I also don't understand why it's so bumpy
12:18:42
shinmera
huh. reading in usb16 mode is super slow it seems
Monday, 20th of August 2018, 12:25:49 UTC