« first day (1848 days earlier)      last day (3469 days later) » 

00:13
@TheMuffinCoder Thanks !
 
6 hours later…
Joe
Joe
06:10
JS13k - Reversed... josephjaniga.github.io/js13k-2015 I believe i will be submitting this if no one turns up any glaring bugs. 13,144 bytes... ~160 bytes short of a full 13k
06:50
nice
you got people testing it atm ?
Does anyone know a good book on CG shader programming ? Specifically for Unity ?
or good resource generally ?
07:36
hi
Damn it, why does Github need to be so strange? Created a new branch on my fork of a repository from a specific commit in the Github web page. Can't find the branch in the desktop application. Can't find any way to synchronise this. Can't find any documentation explaining it all.
Anybody got a hint?
Surprisingly ... changing the branch to an older one, then changing back to "master" helped. WTH, Github?
07:59
Next hurdle: Get Github Desktop to apply a patch ...
... which doesn't work, you need to go back to the shell it seems. So far, the application hinders my productivity more than it helps.
user92578
08:34
I would probably use the desktop application if A) GitHub allowed a few private repos by default and B) If it had a dark theme
user92578
Also, I hate when a page uses nested scrollbars. The e-book site I read my religion course book from uses those, and it is really fricking annoying
user92578
Is that how you spell "fricking"?
user92578
It seems so
user92578
Yeah, so to the source control thing, I only use BitBucket because it generously allows me to make a repo Private, without tediously trying to apply to some stupid student program.
user92578
I feel like GitHub's UI is superior to the one of BB's
08:40
@Tyyppi_77 I typically use "friggin'"
And I didn't dare to try cross-repository cloning yet, so I'm mostly stuck with Github for the projects I wish to contribute to.
I still have no idea how to refresh the branches' list, by the way. It just does after a while.
08:56
data of heightmaps are in int. how should it feed the data in vertex shader? should it process the heightmap value to float or it should be left to opengl to handle the normalization?
I assume you want to have the heightmap as a texture inside the shader?
I am just learning opengl. I am not sure what you are asking. I am following opengl superbible and I am not yet reached textures.
I want to do something practical before moving forward
Well, a heightmap is typically a 2d data array, so making it into a texture (image, essentially) is how non-trivially sized ones are used as an input to the shader.
That said, there are alternatives for specific cases.
Like, you could as well make it from a temporally-dependent procedural noise function directly in the shader.
(This is how things like "moving water surface" are created, as an example)
I have already a heightmap in .bmp. and I have array of pixel parsed from it. I just want to feed those data in vertex shader without any texture, effects. Just plain boring single colored terrain.
The important thing to note is that when you use a texture is that most modern engines will use EXT_texture_sRGB, and for a heightmap, that's exactly what you don't want - you want the values to be linear - so you have to tell them that.
Jon
Jon
09:09
Them, being the little electrons flying around in your processor
If you do your OpenGL calls yourself, using the GL_RGB8 format is just fine.
@MartinSojka so what do you recommend? how should i proceed?
The shader language will just translate it to floating-point values in the [0,1] range generally.
So basically i can pass array of int in vertex shader and opengl will make it float internally?
@fallenAngel Bind a heightmap texture as RGB8, use uncompressed data or something which works well with heightmaps like BC4, displace your vertices by one of the texture channels multiplied by the maximum height of the landscape. Should work fine.
That's a bit different from passing an array of ints, but also usually significantly more performant as well.
Jon
Jon
09:16
anyone know if I can install Windows 10 Upgrade on a new PC?
if I never upgraded this PC, and I want to transfer to new one
I'm not touching any Windows before SP1.
4
user92578
I can't wait to get home and do more work on the level editor
user92578
But there's till an hour before the last class starts...
11:19
@Tyyppi_77 "fricking" is one usage, though "frickin'" is more common
@MartinSojka release is alpha, SP1 beta, SP2 RC1.
Jon
Jon
Man...
you need to spend a good 20 minutes to setup windows 10 privacy
and you can't turn off Cortana
which for some reason, uses up 90MB or ram
and I have no idea why I can't turn it off
You should be able to, it is another privacy option I recall
Jon
Jon
46
Q: Can I completely disable Cortana on Windows 10?

ArtOfCodeWindows 10 has Cortana, which I don't like. I disabled it as soon as I could. However, looking in Task Manager, the process for Cortana is still running, and can't be effectively terminated: ending the task simply results in the process respawning a few seconds later. Using the command taskkill ...

even with the removal method, you cannot remove it
user92578
11:58
Finally home!
user92578
Hi
12:10
typii what type of game you making
user92578
It's a platformer action shooter
is it like carl on duty
user92578
no
is it like world of mario
user92578
well a bit closer I guess
user92578
12:13
Hold on, I'll get you a screenshot
@Jon yeah, what a horrid name
user92578
oh so it's like sonic the turtle
user92578
no
lookin good there
user92578
12:16
thanks, nothing new tough
user92578
trying to finish homework so I can get back to the level editor
user92578
How would you suggest implementing erasing?
user92578
My current architecture is that Brushes act like the Command-pattern, so that they have an Execute() and an Undo() method.
user92578
Brushes can place several tiles (like the main terrain brush will place the background tiles, then the tile noise, and then the grass layer if the tile is on the top row)
user92578
So that's why a generic EraseBrush won't work, because the brush needs to know what tiles a tile has "relations" to
user92578
12:22
I'm thinking about adding an Erase() method to every brush... other ideas?
user92578
However, I'd need to separate the Erase from the Place brush instance for the Undo to work
user92578
so, a boolean to the TerrainBrush constructor to indicate erasing?
user92578
Tyyppi with the class names at it again: TLevelEditorBrushTerrainTileData
user92578
12:44
The new parallax layer images I added are slowing the launch time up a lot :(
user92578
At load time, I load all the contents the game uses to memory
Joe
Joe
Guy behind me on the train has been talking for 30 minutes on the phone about what hes going to do with the 100 million dollar lottery when he wins it. talking about how he needs it and its going to happen
if he planned this much shit about his actual life i guarantee he'd have a higher paying job...
user92578
lol
hahahaha
Joe
Joe
idk why but its pissing me off haha
12:48
Firefox seems slow. Damn "System Idle Process" chewing up 95% of the CPU again...
Jon
Jon
sounds like someone needs to upgrade to skylake
user92578
If I declare a 2D C-like array in C++, why can't I set a single array in it?
ff has 1.8 gb allocated?!?
user92578
I can't do array2d[0] = {stuff_here}
i only have like 15 tabs open...
restarting it.
user92578
12:49
But I can do array2d[0][0] = first_stuff
Browsers eat RAM like crazy man
restarted
much better
Joe
Joe
^ for now
well, it's been on since monday
I only shut down my PC on friday
Joe
Joe
"that shit costs 75 dollars a shot?! imma pay for my own bottle, screw 75 dolla shots"
no wonder you need a 100 million lottery winnings, you have credit card debt from the liquor store
user92578
12:54
I can't even modify an array in a std::map<ELevelEditorTileType, unsigned int [6]>???
user92578
m_TileOverlayData[ELevelEditorTileType::BACKGROUND_JUNGLE]= {256, 257, 258, 259, 260, 261};
user92578
"Expression must be an modifiable lvalue"
array = {sdkfjksdjfkfsl} is just a static initializer
and is done at compile time
I don't think you can do those anywhere but in definitions
user92578
Okay
user92578
Sooo
user92578
12:58
std::vector it is then I guess
yes
:)
user92578
or rather std::array
vector more likely.
user92578
well no, the size is constant
uh ok
user92578
12:59
std::map<ELevelEditorTileType, std::array<unsigned int, 6>>
user92578
I mean doing this
I don't know what the benefits are over allocating a vector with an initial size
user92578
I guess I could dump the map and just use an array
user92578
Yeah, this'll be the first time using std::array
user92578
Okay, small progress update:
user92578
13:01
user92578
There is no Z-ordering or erasing yet
13:17
... and now Git is showing me 3 changed files with zero lines changed each ... Argh.
Git sounds horrible man
if you want to disable your thumb mouse buttons from navigating through pages in Firefox (or any other browser) here's the thing:
3
A: How to disable "back" button on my mouse?

BobI would like to throw out X-Mouse Button Control as a more generic program. For example, I'm currently using a Dell mouse with a non-Dell computer, and they have decided to lock their mouse drivers to only install on their own computers. X-Mouse should work with most mice: The only real answe...

Free program, and it can customize mouse input on a per-program basis.
user92578
Okay, erasing works!
user92578
user92578
I think I need to add an awesome custom mouse pointer too :D
looks cool dude
user92578
13:27
Thanks
I remember when I first got that working on the C64 for a land map generator... with flood fill to find water bodies
was pretty stoked
implemented a form of recursion using an array as a stack
didn't even know what recursion was. I think I was 16 or something
user92578
:)
Jon
Jon
You are the inventor of recursion!
hahah
I did invent implicit differentiation in calc class
teacher put up an equation and said how would you do this? I said well, you got y' on the other side, why not just algebraically move it over?
he said "let's try that" and it worked
I suppose "invent" is the wrong word, but you know what i mean
user92578
figured out without external help?
user92578
13:31
yeah, that sounds awesome tough :D
user92578
I actually finally learned what derivatives are in math class today
user92578
Super exited about it
:D
when you learn some of this calc stuff, things in game programming start to look different
user92578
Added a tile indicator:
user92578
Jon
Jon
13:43
so beautiful
:~D
user92578
Dafuq is that smiley face
user92578
(not quite sure if you're being sarcastic, but) thanks tough :D
It's someone with a really broken nose being really happy (presumably because they're high on pain killers)
Jon's not sarcastic very often, and when he is, it's usually with regard to politics
user92578
okay, that's a good rule of thumb to keep in mind :D
user92578
14:27
Is it "Undo -> He undos" or "Undo -> He undoes"?
"undoes" I would say
not sure if it's "correct" though
user92578
BTW Does the pronounciation differ?
user92578
yeah it seems to
Pip
Pip
14:45
I haven't answered a question in a while, so I've done my due diligence for the next while:
0
A: How to instantiate a sprite from a sprite sheet using script in unity?

PipIf the sprites are in your Assets/Resources directory, you can load them programmatically as follows: Sprite[] spriteSheetSprites = Resources.LoadAll<Sprite>("spriteSheetName); This will yield a Sprite array containing all of the sprites from your spritesheet, indexed by their order on the she...

@Tyyppi_77 yeah it would
undoes would sound like "uhn duhz"
undos would probably be "uhn dooz"
user92578
LOL I just love when people spell out pronounciation :DDD
user92578
Thanks tough
Pip
Pip
undoes is correct IIRC
Yeah, spellcheck agrees with me.
sure
user92578
15:09
Z ordering works!!!!
user92578
cool
user92578
Yeah it works pretty great, one ugly thing is that I have to map two enums together
user92578
if (m_TileType == ELevelEditorTileType::BACKGROUND_JUNGLE) levelLayer = ELevelLayerIdentifier::TILE_BACKGROUND;
user92578
From the editor layer to the actual level entity layer
user92578
15:14
But yeah, a std::map will make that a bit cleaner
user92578
That's because I will need more layers in the editor than in the level to store the data
user92578
Okay, so that's working
user92578
Now to the grass placement
user92578
nah
user92578
I think Ill just call it a day
user92578
15:26
cya guys
Pip
Pip
15:45
cya Tyyppi
Looking good by the way. Nice job.
i should post this at r/grammarnazi
Jon
Jon
@Tyyppi_77 level editor is coming along nicely
I'm annoyed I'm like the only one who thinks this is funny
Jon
Jon
there is like a ass on the right
Pip
Pip
So
I'm in the planning stages of putting together a 3d printer from "scratch"
I'm not doing the electronics or anything, but I'm designing it
15:51
that's pretty cool
Pip
Pip
Basically it's going to use RAMPS 1.4 and assorted motor controllers
And the frame is going to be built out of 80/20
I found some surplus cheap on Ebay
@Almo thanks!
I still need to find an extruder
Jon
Jon
16:07
Ouch
Oooh boy. Matt Lees has expanded his.. thing.. to include Quintin Smith! Quinns is the guy behind the excellent Cogwatch and he'll now be making stuff for Cool Ghosts as well. :D
16:30
She has such an odd pose for playing computer games. The under knee controller, talk about pushing the envelope.
Jon
Jon
just got my new mobo/ram/videocard
friggen tease
Pip
Pip
17:02
Awesome
How long for the processor?
sometimes, for brief moments, I wish I had taken Assassin's Creed II camera and control when Jade offered it to me.
but then I think, "I would have hated the overtime"
@Lokkij okay, that game looks awesome. I want it.
it helps that my wife thinks I did the right thing :)
Jon
Jon
next friday
Pip
Pip
nice. only 8 days to go
17:09
the guy in the vid is pretty funny
17:21
:)
Pip
Pip
UI design sucks
UI design isn't so bad... implementing the design is annoying
Jon
Jon
Its when the client request a Fart Button
in the middle of your form
Project manager is like -- we gotta get it done.
You put the fart button in the middle of the UI after objecting... app gets released -- clients complain about the stupid ass fart button, blame you for being incompetent.
yeah
Jon
Jon
17:35
welp... need to buy compressed air
clean out this dusty case
man, how do people afford getting high off these? they are 10$ a can
Pip
Pip
lol
look at the price of cocaine, then ask that question again
Joe
Joe
17:55
cans of compressed cocaine are expensive now? news to me
yay
1
A: Strange compiler output

AlmoWhen if(c==d) is executed, it does an implicit type conversion before checking. After the type conversion, they are equal, so the expression is true.

sniped another C question
Joe
Joe
ninja
I agree with Amit though
Pip
Pip
18:11
@MickLH you around?
I'm trying to source some M8 Smooth Rod (I'm following a plan so it has to be that specific rod)
@Lokkij I do too
But I don't really know how the type conversion works.
:D
Pip
Pip
I need the following lengths: 2x 370mm, 2x 400mm, 2x 350mm
That's approximately.... 8 feet I think
Jon
Jon
got windows 10 on a USB key
got a 32GB key for 10$
Pip
Pip
nice
:)
maybe I will hit 10k points next year at SO
19:27
wtf iTunes
see anything wrong there?
Jon
Jon
got computer parts all over the house
gf is gonna love me
:D
ow that's fucking loud
Jon
Jon
player levels are awesome., lol
19:43
Khan Academy and Pixar have teamed up to make some courses relating to Pixar's rendering techniques. - khanacademy.org/partner-content/pixar
Joe
Joe
very cool
Jon
Jon
@Noctrine thanks
anyone have XP running minecraft server in linux?
I do, sup?
Jon
Jon
Just curious of the performance
I'm going to probably run linux on my old server
Same as windows in my experience
Jon
Jon
19:53
transfer my windows license to my new gaming pc
Yeah, no significant gains.
Which is to say minecraft is a terribly programmed bit of software
It's bad on all platforms.
Jon
Jon
Can you actually play minecraft on linux?
Jon
Jon
19:54
Works good?
I heard something about a Minecraft Windows 10 edition - but I haven't checked it out.
Both to @Noctrine's message and to @Jon's actually
Jon
Jon
yeah windows 10 minecraft is nuts
@Jon if you have proper drivers then yeah sure
Jon
Jon
The chunk loading is instant
19:54
@Noctrine @Jon it's the pocket edition but working on a pc
Jon
Jon
Right, it has missing features
@Jon well yeah, it's not written in java so that's not hard to do =p
Jon
Jon
But it is re-written in C++
Pocket is also C++
Jon
Jon
VR is also C++ :)
Vive is coming out with full HL2 support
Jon
Jon
yeah the Steam VR
This is going to be the one to get
Hell, wouldn't be surprised if they announced HL3 alongside it
Okay, I would be, lol
I would expect any VR to be made with C++, if not bits of assembly =p
@Jon halflife 2 episode 3 first =p
Jon
Jon
Well.. my new PC will be VR ready :D
HL2 all episodes really
if I can do it in VR and it plays well
I'll be gone for a while, in VR world
@Jon 1 and 2 are out =p
Jon
Jon
oh right, lol
I got my son to play Portal 2
he got a few levels in, then it started getting too complicated for him
such an amazing game -- I remember it was students that came up with this ridiculous demo
man, impossible to find a video of it
20:01
i only played portal, but I loved it
horrible name though (narbacular)
Jon
Jon
such an amazing concept though.
and they had no idea how hugely rich it was going to make valve
GUYS GUYS, ROCKET LEAGUE IS 10% OFF
3
lulz
the trailer for that game is messed up
big names though... dayum
Kojima!!!!
Egg Benedict. Looks like boobies when shaking the plate. lol http://t.co/Abekou9rd0”
my new motherboard won't install windows 7 or less... lol
unless i have the USB drivers
(via USB drive)
"We recommend connecting your OS drive to SATA ports with the 'OS HERE' label" lol
20:55
@Lokkij want
Quinns is so good at selling games
Their boardgame review website Shut Up & Sit Down also causes huge increases in sales when they publish a (positive) review
ROCKET LEAGUE IS ON SALE
The quality of the articles on Wait But Why continues to be amazing. I can recommend reading at least the AI revolution articles and maybe the one on the Fermi paradox.
I'm currently reading one about friendships.
so long
Their articles are pretty long, yes. :P
That's good though! :D
21:27
The Great Perils of Social Interaction is also a pretty fun article
21:40
@Lokkij the ai revolution ones were great
Rokit Leeg sold over a million on steam
22:15
@Almo it's cuz it's well gud bruv
that must have werked hard
:)
LOL my dad got trolled by windows 10
Apparently, window 8 onwards no longer has a dvd player
:P had to install VLC media player for him :D
22:44
ahaha
22:57
Becoming a college student just saved med more than 50% on all my insurances. Pretty crazy.
23:24
@Joe Hey joe they announced the prize list
What place do you think you'll win?

« first day (1848 days earlier)      last day (3469 days later) »