« first day (1800 days earlier)      last day (3162 days later) » 

5:00 PM
@ThePhD afternoon sir
@ElimGarak I was thinking lights first, but thats coming too
 
How would you do material info?
Would you, like, put material specs inside of a texture and then reference that?
Or would you create a big static array of materials and then pass in ids that serve as indices into the array?
 
I'm thinking I can store like... a material type inside the diffuse alpha channel
and then do different calculations based on its value
something like that
 
switch ( value.a ) or something?
 
but I'll have to do some research, just in case im totally wrong (wouldnt want to waste my time
 
@ElimGarak Gotta downloadmorevram.
 
5:04 PM
There is a wave in the game industry that currently likes PBR (finally), but basically you'd encode material info in the textures within the UV space of your model. You'd record attributes like how metal the object is, how rough it is (the opposite of gloss), possible precomputed AO, its base diffuse response (top down looking at it, how does it respond to light diffusely). And you'd feed that to your equations and the physically based model would make it look right in any conditions.
Before, I'd say we but I was never a part of that nonsense, people actually stored specularity as a map, instead of basing that on actual physics. So they often needed to implement global scene overrides to make the lighting not look shit.
You can do it anyway you want, basically, but that's how it is done. Textures also allow for a touch of material blending and procedurals being applied (rust over time, etc).
I actually have an example of roughness in one of my ancient scenes.
 
oh right, i totally forgot PBR is a thing now.
I should definitely do that
gotta read that Frostbite document again though
 
Here's how the "accumulated" roughness in my gbuffer looks like:
Darker it is, the glossier the response is.
 
@ElimGarak So you'd have a separate "material info" texture?
 
depends how you organize your gbuffer i guess?
 
guys
do you think you can run msvc on linux?
 
5:11 PM
No.
 
Don't even try to think about it
Also, Wine
 
you guys are so pessimistic
 
@Mr.kbok yeah, run in an Windows VM
 
@Mr.kbok it barely runs on windows :P
 
@Nooble An example. Base diffuse response color would take up 3 channels, emissive would take up 3 channels, metallicity / metalness or whatever would take 1 channel, roughness would take 1 channel. Potential subsurface scattering color would take 3 channels. baked ao would take 1 channel. So, you can see that a lot of it can be grouped together. Normal data can be encoded via stereoscopic projection to use only 2 channels of 16-bit data. You may also need opacity (1 channel)...
 
5:13 PM
@Borgleader lol
 
user1804599
What feature to implement next?
 
user1804599
If statements? If statements.
 
Also, DO NOT ENCODE normal or any other linear data in sRGB. The gamma curvature will wreck your look.
 
I like how KDE tells me my battery is broken
It's like galactica "ship hull damage"
 
Also, employ non-final (middling stages) framebuffer compression, does wonders for fillrate, especially with half float precision RTs.
 
5:16 PM
@elyse If you're up to it...
 
@ElimGarak So DXT5 for normal DXT uh... 3 for the rest?
 
@Borgleader At least until we get ASTC. :D
 
> ASTC was adopted as an official extension for both OpenGL and OpenGL ES by the Khronos Group on 6 August 2012.[2] It's also a part of Direct3D 11.3 and Direct3D 12 in Windows 10.
doesnt that mean we already have it?
 
Uhm, not exactly. That one is overly optimistic for Windows 10 and DX12 now. Well, they may have adopted the spec. But nobody supports it yet in a "relevant manner". So...
 
What is ASTC?
Like, what kind of compression does it give?
 
5:21 PM
Adaptive Scalable Texture Compression (ASTC) is a lossy block-based texture compression algorithm developed by Jørn Nystad et al. of ARM Ltd. Full details of ASTC were first presented publicly at the High Performance Graphics 2012 conference, in a paper by Olson et al. entitled "Adaptive Scalable Texture Compression" ASTC was adopted as an official extension for both OpenGL and OpenGL ES by the Khronos Group on 6 August 2012. It's also a part of Direct3D 11.3 and Direct3D 12 in Windows 10. == Overview == The method of compression is an evolution of Color Cell Compression with features including...
 
read it well before you say anything
 
It does slightly better or equal to Block Compression and its pals, but it fills the much needed void of many different middling formats which we had to pay a high price for previously. It is much more consistent, cohesive.
 
Is it patent-less?
I know DXTn and friends are all technically riddled with patents.
Not sure about Ericsson Texture Compression (ETC) and its friends...
 
I am really bad at the legal stuff, but I'd assume it's not all peachy.
> A teenage boy in North Carolina has been prosecuted for having nude pictures of himself on his own mobile phone. The young man, who is now 17 but was 16 at the time the photos were discovered, had to strike a plea deal to avoid potentially going to jail and being registered as a sex offender.
Pictures of himself. Sex offender.
 
@ElimGarak What exactly are channels?
 
5:25 PM
Trying to check that weird pimple on your inner thigh? Sex Offender.
 
@Nooble r/g/b/a
 
@Nooble Color channels, red, green, blue, potentially alpha.
 
Right, so you'd only have 4 channels per 16 bit texture.
Hmm.
 
16 bit textures? no
i mean, uncompressed rgba would be 32 bit per pixel
with something like dxt5 i think you fall to 8 bit per pixel (in blocks of 32 bits)
 
You can have two channels, three channels or four. Of varying bit depth per channel. There is the usual 8-bit, 16 and 32. Also, under the hood, the "lesser" channels may be implemented in terms of the larger one, removing performance benefits and reducing it to merely "logic distinction".
 
5:29 PM
@ElimGarak usa.txt
 
You can also have just one channel!
 
Yup. Four is the current maximum and it emerged mostly in historic / general use construct. Textures are nowadays general purpose data storage. Doesn't even have to store image date of any kind. For example, encoding spherical harmonics stores the coefficients into several textures, depending band-limited your approximation of the original signal is.
 
user1804599
this document is confusing
 
user1804599
it says the syntax for equality comparisons is a IS = b, but then goes on using a = b in examples.
 
shall I order pizza?
 
user1804599
5:32 PM
No.
 
Man, I can't look at pizza for the next two weeks at least.
 
@TonyTheLion Yes!
I actually want some pizza. I should go get some.
I ahven't eaten anything in 2 days because of that fever.
 
Already ate one
 
I have a sneaking suspicion that when your sick you're digestive tract just kind of slows down a bunch.
Most of the times when I'm sick I don't eat much of anything.
If at all.
 
@ThePhD I hardly ate anything yesterday because my neck was so painful I could barely move :(
 
5:34 PM
that sounds painful
 
muscle spasms in your neck are most unpleasant indeed
 
Wha, what happened to your neck? D:
 
(•~•)
 
Oh, muscle spasms. Lame. :c
 
not so lame when they hurt like hell
 
5:36 PM
I meant "lame" as in the muscle spasm being a jerk, not so much in that it was mild and/or weak.
 
haha ok
 
@Nooble y u ded
 
Goddamn clouds gonna be the death of me.
 
I find that hard to imagine
 
Damn fluffy motherfuckers.
 
5:40 PM
@ElimGarak smoke, too.
 
Wait
 
I like to spend time on something nobody will ever see too
 
@AndyProwl 's in the US?!
I'm in the US too!
I wonder where he is.
... Wait, does that mean @Griwes is with him?
 
So is 300 million other people
 
Aww man, why did I have to be bed-stuck sick.
I could have met up with them if they were in the New York area. :<
 
5:42 PM
@CatPlusPlus 330 now I believe
 
1% in jail
 
Ballpark figures dammit
 
ah
so 326.7 million
 
1% of all US people are in Jail?
 
yep
 
5:43 PM
That's... wow, that's 3.26 million people.
 
Only 1%?
 
@ThePhD think they said it on LastWeektonight
 
@ThePhD Most excellent!
 
USA: the land of freedom and ridiculous laws
 
@ThePhD From what I've heard USA incarcerates more people than any other nation on the planet
 
5:45 PM
Incancerate
 
partly because of dumb laws passed in the early 90's to put long mandatory minimum sentences for non-violent crimes, like drug offenses
some guys in prison for life for doing weed
I mean, wtf
 
United States of WTF
2
 
there's also a bunch of stupid shit like can't pay bail
 
yes definitely that too
 
People still live there therefore people are dumb
qed
 
5:48 PM
ETIENNE ETIENNE ETIENNE
 
Canada, the country that keeps national reserves of a syrup
Everybody is mad, here
Fucking planet
 
Well, at least y'all going to die eventually <3
 
Syrup does not sound so bad, if that is the worst thing.
 
@JohanLarsson Its not that bad, Cat goes into despair too quickly
 
5:50 PM
better than keeping national reserves of thousands of nuclear bombs
 
^ valid point
 
@TonyTheLion *comes out of it too rarely
 
Better maybe, less silly not really
 
Yeah, they should just dispose of them in my back yard, I'll take care of them.
 
let's face it, you should be able to get by with just a few hundred nuclear bombs at most
 
5:51 PM
@JohanLarsson I was trying to be positive :)
 
Nuclear economy these days
 
@Puppy room title imo
 
Anybody watching Black Jesus?
 
5:53 PM
Disappoint.
 
It's unlikely to even be close to being as good as Rick and Morty so why should I care
The premise sounds dumb and boring
 
Yeah, I mostly like it because the lead is Gerald Johnson (dude that played Lamar in GTA V).
 
@TonyTheLion step it up north career
 
ɢᴛᴀ ɪs ᴅᴜᴍʙ
 
5:58 PM
GTA 2 and SA were nice
 
I remember playing the first GTA, with only the top down view
on a PS1
 
the save system was funny
you could save in churches only and if you didn't have $$ you'd hear
"damnation no donation no salvation!"
 
it was funny but annoying
 
in a way I liked GTA IV more than 2 and SA but in another way I didn't
 
I don't play games that don't allow saves at any time these days
 
6:01 PM
@CatPlusPlus I agree that it is overblown, but it is a solid game with really polished, albeit old mechanics.
 
I liked IV more because it was less satire and more srs bzns
but at the same time it wasn't as fun as 2 and SA
and SA had the more interesting characters
 
They hired some janitor dude in the US to play the Serbian protagonist. His "native" lines were hilariously shit.
 
GTA4 was boring and had elephants strapped to cars
 
And was an absolute technical mess.
 
> elephants strapped to cars
sounds like a nice feature
 
6:03 PM
I want to play Red Dead Redemption on PC.
@TonyTheLion (they're invisible, but there)
 
Ell
I heard they used so many hacks it was unportable
 
Their presence is inferred, rather than observed. /cc @Borgleader
 
eh there's a history with bad ports when it comes to R* anyway
e.g. in SA you had to dive in one mission
but unless you enabled the framerate limiter you couldn't
 
@ElimGarak hmm what?
 
boost.org/doc/libs/1_57_0/libs/graph/example/astar_maze.cpp does this crash only for me or for others too?
 
6:08 PM
Ah, but Rockstar is an umbrella company. Grand Theft Auto is made by Rockstar North (DMA Design in Scotland), their engine since GTA IV has been supplied by Rockstar San Diego (former Angel Studios, authors of RDR and the mentioned RAGE). Rockstar Toronto was a team of halfassed hacks who did the ports (both GTA V and GTA IV) to the PC. And there is also the now defunct Team Bondi which made the technical shit that is LA Noire.

Flopped commercially, bankruptcy declared with $30 million in the hole. Sam Houser is sitting at his ivory tower of the "Rockstar Games" umbrella which itself is me
So, it is even more fascinating how much an entire planetwide distro of R* studios fails at the technical stuff.
 
@ElimGarak RAGE was made by id Software no?
 
@Borgleader that's a different RAGE engine
 
@Borgleader RAGE was id tech 6. RAGE is the Rockstar Advanced Game Engine, developed by Wolfgang Engel and the rest of the folks (now at Confetti) while working at Angel Studios (now Rockstar San Diego). Which is used across the board, from Table Tennis, to Max Payne 3, to RDR, to GTA IV, to GTA V.
 
I see
 
I think a senior engine developer currently at R* San Diego is a fine gent called David Etherton. He's a clever chap, did some good work this time around for the PC version of RAGE (GTA V). Also, Max Payne 3. Which was previously "attempt developed" by Remedy, until they decided to go all mystical and shit with Alan Wake.
Also, what Bethesda Game Studios now calls the Creation Engine is most definitely id tech 6. But they don't want to admit to calling it that because it is pretty old. Like BioWare renamed the Unreal Engine 3 to Mass Effect Engine after changing three shaders.
 
user1804599
6:15 PM
IT WORKS MY COMPILER WORKS
 
GZ.
 
Great shot!
@elyse How much so?
 
user1804599
If statements. :P
 
Does it optimize ever-true statements' else branches out?
 
user1804599
           IF n IS EQUAL TO 0 THEN
               DISPLAY n " is zero"
           ELSE
               DISPLAY n " is non-zero"
           END-IF
 
6:16 PM
COBOL?
 
user1804599
COBOL.
 
What if I did IF 0 IS EQUAL TO 0?
 
user1804599
@набиячлевэлиь That works too.
 
Would the else branch be optimized out?
 
user1804599
No.
 
6:17 PM
Why not?
 
user1804599
Uh why would it?
 
Haven't gotten to optimizations just yet?
 
user1804599
Use Google Closure if you want that.
 
@elyse idk, because it's useless?
 
@Borgleader Do you like how Witcher 3 looks? :D
 
6:19 PM
@ElimGarak With his eyes.
ha ha ha lame pun
 
@ElimGarak ofc
thats photoshopped right?
 
not likely
have you ever read anything by that guy?
 
The concept of global warming was created by and for the Chinese in order to make U.S. manufacturing non-competitive.
(Verified account)
 
@ElimGarak god damnit
 
It's not an uncommon position for US politicians. Most are too dense to understand the depth of the research that went into proving that global warming is a thing.
 
6:21 PM
oh my
 
The worst part is China is (AFAIK) taking steps towards reducing the pollution from its industry... so that "argument" doesnt even make any sense
 
Honestly, folks are lucky I am not in a position of power. I'd outright execute such people who are, due to their ignorance, perpetuating a real threat to the people on this planet.
 
sterilization would be more effective
just ensure they're removed from the gene pool and then let evolution take its course
 
Yeah, that's good too.
 
I wish this would be a thing =/
 
6:24 PM
I like how politicians and some folks in general believe that science is something that is debatable.
 
@Borgleader don't hold your breath waiting
 
@ElimGarak It is... but only if you're a scientist at the edge of your field ;p
 
@ElimGarak Whats that quote again "The great thing about science is its true regardles off whether you believe in it or not" ?
 
Ell
@Puppy not really
 
would you rather that Trump be executed?
personally I think that has several negative knock-on effects
 
6:27 PM
Ell is here.~
 
@ThePhD So are you ❤
 
D'aww, I feel so speshul.~
 
user1804599
@Puppy what no that's sick
 
<broken_heart>Why y u do dis to me boost :'( </broken_heart>
 
@elyse Executing him or sterilizing him?
 
user1804599
6:28 PM
Yes.
 
you're right
we should burn the body too just to be sure
 
Sam Houser (born 1971) is an English American video game producer and developer. He is the co-founder and president of Rockstar Games and one of the creative driving forces behind the games in the Grand Theft Auto franchise, being producer since the third game. He is responsible for taking GTA into the 3D-environment era, creating realistic cities under fully 3D-engines and turning the series into huge profits during video gaming's sixth-generation era. == Early life and educationEdit == Houser and his brother Dan were born in London and are the sons of Solicitor Walter Houser and actress Geraldine...
 
user1804599
I hope Trump becomes president, because so many people hate him.
 
> He is responsible for taking GTA into the 3D-environment era, creating realistic cities under fully 3D-engines and turning the series into huge profits during video gaming's sixth-generation era.
No, he isn't. He literally hasn't written a line of code in his entire life.
 
that does not mean that he can't be responsible for it
 
user1804599
6:29 PM
OTOH I may have to migrate to USA one day, so I hope Trump doesn't become president.
 
why do you think you will have to migrate?
 
user1804599
Because I don't want to live in a country where the majority of people is muslim.
 
I wouldn't migrate to a country where anyone can have a gun and just shoot you for any reasone
 
damn
 
well okay that changes things
 
6:31 PM
@elyse What's the current state?
 
did not know you were a racist
 
everyone is
 
user1804599
@ElimGarak 4% in 2012, but ever-increasing.
 
That's... not even close to a majority.
 
user1804599
@Puppy More like, gay and anti-homophobe? I want to live in a place where I don't get stoned to death thank you.
 
6:33 PM
Extremist christians would do much the same to you...
Or just extremists in general.
Of which there are no shortages in the United States.
 
okay fuck it, boost and msvc14 == chaos. No more boost :/
 
Toplel
 
@elyse Oh, you really are gay? Well, things are on the up right now, at least, from what I understand. Croatia is a little backward, but they did legalize some sort of secondary union for gay couples. (Catholic majority).
 
user1804599
Gay is a subset of bi, so yes I am.
 
@Gizmo Don't be a scrub: figure out how to compile it.
 
6:36 PM
It does compile
it just crashes
 
I am pretty cool with all of that. As long as folks are happy, it's more than fine by me. My cousin is actually gay, got a lot of shit for that here. Beat up and stuff.
 
1) install vs 2015
2) install boost 1.59
3) http://www.boost.org/doc/libs/1_59_0/libs/graph/example/astar_maze.cpp
4) crash
something with a bucket in a table
now now, don't tell me the cpp lounge crashed too? It's so quiet...
 
> >msvc
> >Boost support
 
@Gizmo What is your intent? Professional/commercial or personal?
 
Hahaha
 
6:41 PM
If personal, uninstall VS 2015. Profit.
 
@ElimGarak education, college?
 
If professional, uninstall C++
 
@Gizmo Clang/LLVM.
 
@ElimGarak But vs can't debug those :(
 
@Gizmo gdb (and maybe a plugin therefor)
 
6:42 PM
(the produced executables)
@набиячлевэлиь yeah and pay €300 for visual studio intergration
-,-
 
@Gizmo pirate it
geeez, kids these days
 
good luck?
 
makin' problems outta nuthin'
 
Visual STudio has MIEngine
But you have to isntall it yourself
It's how you make gdb work with VS execs
 
just use GDB as is, don't moan
 
6:43 PM
300€ is nothin
 
Yeah, get a huge ballsac like Tony and do it.
 
Cat Plus Plus earns that much on a corner selling Whiskas to dope fiends in one night.
 
@ThePhD <3
@ElimGarak lol
 
@CatPlusPlus I'm happy ifor you that it's nothing for you, now please give nothing to someone who thinks it's everything (me), thanks! IBAN: NL00RABO01234567890
 
Hahahahaha no
 
6:44 PM
@ThePhD oh thanks :D
 
lol posting bank details online
you should be fired
 
@TonyTheLion Lol reading, you should go to school
 
wat
 
That's not a valid IBAN
 
@Gizmo Now I remember why you were on my plonk list
 
6:45 PM
@TonyTheLion I'm glad I helped you out :)
 
MIEngine seems to SPECIFICALLY be for iOS and Android.
 
You can take a person out of ignore list but you can't take ignore list out of a person
 
I do not know if it work with GDB directly on the local machine, or if it works with GDB server or something like that
 
@ThePhD I'll try
 
Probably not GDB server, because that requires the object files and source to be identical on both machines...
 
6:46 PM
If it works with a remote GDB it'll work with local GDB also
 
@CatPlusPlus The check digits?
 
@CatPlusPlus Yeah but they might hardcode connection / invocation protocols.
 
@ThePhD Uh why would they do that
 
vOv
Time to go eat stuff FOR THE FIRST TIME IN DAYS
PIIIIZZZAAAAAAAAAAA.
 
The README says it supports Android not that it was made only for Android
 
6:47 PM
@ThePhD I just had mine, enjoy :)
 
@ThePhD bon apetit
 
@ElimGarak It has letters in the middle you butt and also 123456789
And probably not long enough anyway
cba to count
 
long enough :)
I know how many digits my real number has so..
 
That's what she didn't say
 
user1804599
longjmp enough
 
6:49 PM
I stopped at the check digits as they were 00. Just noticed the 1234...
Wellp, I am hungry now, too. PhD, pass the pizza.
 
Oh apparently some weird countries actually use letters in account numbers
Weird
 
Wow, clang can't compile a boost example? :o
 
Yeah, in the place where he placed them. (alphanumerics are valid)
 
1>D:\Development\Libraries\boost_1_59_0\boost/smart_ptr/detail/sp_counted_base_clang.hpp(29,1): error : cannot mangle this C11 atomic type yet
1>  inline void atomic_increment( atomic_int_least32_t * pw )
so much for clang
 
Look for the error within you, not in clang.
 
6:52 PM
so boost examples have errors
nice
 
So you're compiling C++ as C you butt
 
Lesson number one: Assume everything is your mistake.
 
Wait wut, how ;o
I did already use LLVM/clang to compile C++ code
 
Do you even read errrrrrrors?
 
why doesn't it work now
 
6:54 PM
good job
 
Ever heard of clang++?
 
user1804599
@Gizmo use extern "C"
 
user1804599
atomic_int_least32_t is a new C11 type and the C++ ABI does not specify how to mangle that.
 
@ElimGarak you know I just installed clang and it apeared in VS2015
and it works for all my C++ projects
now I copy one boost example, compile it and this xD
 
I don't know what I'm doing and it doesn't work clearly not my fault
 
6:57 PM
Also, you might want to read this and discover your inner Google Fu further.
In compiler construction, name mangling (also called name decoration) is a technique used to solve various problems caused by the need to resolve unique names for programming entities in many modern programming languages. It provides a way of encoding additional information in the name of a function, structure, class or another datatype in order to pass more semantic information from the compilers to linkers. The need arises where the language allows different entities to be named with the same identifier as long as they occupy a different namespace (where a namespace is typically defined by a...
 
It's fairly irrelevant
 
I'm figuring it out on my own okay
don't help
I prohibit you all
from helping me
 
That is going to end well.
 

« first day (1800 days earlier)      last day (3162 days later) »