« first day (1359 days earlier)      last day (3651 days later) » 

11:00 PM
@OMGtechy that's not really practical if you want to rasterize pixels from polygon primitives
 
@OMGtechy In that case you need the texture coordinates then, and to achieve the filtering you need to keep the full rectangle
So there's 8 bytes for each texture ID / pointer, and now another 16 bytes for our texture parameter
AND you still have huge overhead while filling the framebuffer, because every pixel now causes an indirection
Which is basically a guaranteed cache miss every time two adjacent pixels use a different zone of a different texture
 
@MickLH I thought you were copying the textures to the stack every frame or something crazy, misunderstood sorry
 
Ah no worries, you'll eventually gain a respect and not insult me by assuming I would do ridiculous things
 
@MickLH haha
 
Damnit I never got to blab about my texture filtering algorithm
 
11:03 PM
Go on, go for it!
 
It's faster than 8x anisotropic, and delivers the result of Infinityx anisotropic
 
#gasp
 
It uses an integral image instead of a mip map chain
The tradeoff: Mip map adds +33% texture RAM usage
Integral image adds anywhere from +0% to +300% texture RAM usage on normal hardware
 
@MickLH well, it's all about where your bottlenecks really are
 
@MickLH can you transfer that to fragment shaders?
 
11:06 PM
@Lasse Yeah, I've been working on streamlining it into my engine so it can automatically be used instead of anisotropic on GPUs where it's faster
 
nice
 
@MickLH It'd be interesting to see a comparison once you've done that, with performance and image quality shown
vs 16x Antistropic etc
bah, whatever its called
ansiotropopopop
 
Well the idea with Nx anisotropic is that you read a 1xN rectangle of the texture
But with an integral image, you can read ANY rectangle (including every single pixel of the image) in a constant time
 
@OMGtechy anisopoop
 
@MickLH ah, I see what you mean by infinite now. More like, as good as you're going to ever get
@Lasse Yes. With 4xAntitrolling too
 
11:10 PM
with a bit of doge and other memes for flavor
 
@Lasse indeed.
 
The next logical step for the algorithm is to bring the multi-sampling back into it, because if you actually think about it, you don't even want to sample rectangles at all
you want to sample arbitrary trapezoids
so if you made 2 rectangles, you could approximate the trapezoid way better than any level of anisotropic filtering could
sadly I can't figure out a way to sample the trapezoid directly in constant time :/
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh‌​hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh ok :)
 
log(n) should be alright
 
NO! DAMNIT N = INFINITY
 
hahahaha
 
11:15 PM
hehe
sorry
 
no worries, perfection is alluring
although slow constant time can be worse than fast log time
 
I closed out all my stuff, I'm gonna have a horrible time tomorrow trying to figure out where the F**K I was in my Mathematica notebooks
but I need to hit the bong lol
 
programming whilst stoned would be constant time...where O(INF)
dude, pixels
 
I wonder why my ray hits all those 6 AABBs instead of just 3 of them
 
@Lasse code snippet?
 
11:18 PM
uhh, sec
public bool GetBlock(Ray ray, out Vector3 blockCoords, out Block block)
{
	blockCoords = Vector3.Zero;
	block = new Block ();

	BoundingBox aabb = new BoundingBox ();

	Vector3 min = new Vector3(Position.X, Position.Y, Position.Z) * new Vector3(32, 32, 32);
	Vector3 max = min + new Vector3 (32, 32, 32);

	aabb.FromMinMax (min, max);

	if (!aabb.Collides(ray))
		return false;

	// TODO: return correct block and block coords from the octree

	Console.WriteLine ("Collision! {0}\nMin:{1}\nMax:{2}", Position, min, max);
yes I know it's bad place to allocate memory
 
That looks like C# if I'm correct?
 
yeah
the ray-aabb intersection code is copypasted from monogame
 
Good old monogame, gotta love it
and yes it is a bad place to allocate memory
 
programming while high ; brain freezes while writing recursive function.
 
I can feel the embedded side of me crying
@BlueBug hahahahahahhahahahah
@Lasse have you checked the .FromMinMax is working as expected?
 
11:22 PM
no, I'll check that
 
the moment you write "f(a,b,c){f(a,b.... " earth stops spinning. WEEE~
 
well, duh
public void FromMinMax(Vector3 min, Vector3 max)
{
	Min = min;
	Max = max;
	Size = (Min - Max) * 0.5f;
	Position = Size + Min;
}
 
auto f([&](){f()}) // <-- take that for fucking hard to read recursion
 
@MickLH read this void f(a,b,c){f(c,a,b);} now, assuming you are high, think about it man.
 
public void FromMinMax(Vector3 min, Vector3 max)
{
	Min = min;
	Max = max;
	Size = (Max - Min) * 0.5f;
	Position = Size + Min;
}
 
11:24 PM
@Lasse much better
 
When was the last time you guys encountered a stack overflow?
 
fixed that, but it does not have anything to do with the ray-aabb intersection since it uses just the min and max
 
@Hjorthenify today
 
What did u do?
 
@Hjorthenify allocate about 4 million complex types for teh lulz
Na, I made a typo in the tool I'm making at work and it pretty much did the above
 
11:26 PM
O_o
Haha
 
I have now added some error checking for this
@Lasse it's one less thing to go wrong though
 
yeah, true
 
@Lasse personally, I'd just step through until something doesn't work quite as you'dexpect
@Lasse do the maths by hand alongside it, that's what I do
 
I'm too lazy, I do that only as the last resort :P
 
@Lasse I usually end up going "oh shit, they're the wrong way around" or something like that
 
11:27 PM
I'll just step thru it now
 
@Lasse and after that, step into the bit that goes wrong. debugging recursively!
write unit tests afterwards and conquer the world
@Hjorthenify why'd you ask out of interest?
 
that's the plan
 
@OMGtechy because I remembered when the last time I encountered such problem was :P
 
@Hjorthenify which was...?
 
GUYS
Ludum Dare is this weekend
 
11:29 PM
@SpartanDonut ooo
 
Theme is revealed in 1.5 hours - ludumdare.com/compo
 
@SpartanDonut I'll be asleep by then most likely
I remember when Notch streamed it, that was pretty cool
Interesting question for you folks
Synonym for Boolean?
http://english.stackexchange.com/questions/166254/synonym-for-boolean?noredirect=1#comment345937_166254
accidentally linked to a comment, but you get the idea
0
Q: Synonym for Boolean

OMGtechyQuestion I am trying to find a word, other than Boolean, that represents a true or false value. Is there such a word? Context I am designing a programming language that is meant to be as easy as possible to understand for those who know nothing of programming. I am trying to name the fundament...

There you go
What would you pick?
 
Flag is the first that comes to mind
 
@SpartanDonut thought so too, but people aren't going to look at flag and think "that's a true or false value" without knowing what a Boolean is in the first place
 
do you have a context you are looking to use this in?
 
11:36 PM
yes, it's in the question
 
haha nevermind
sometimes I fail
 
haha
flipflop was pretty cool, but yeah haha
 
TrueFalse
or YesNo
 
@OMGtechy CollisionDetection :P When I shot a bullet onto a zombie, then they would start colliding with each other because the bullet would knock the zombie slightly back, which then would make the zombie check if it would collide with anything before moving backwords and then collide with the bullet again.. :P
 
@SpartanDonut Agreed. Just need to waiting until my "focus group" appears haha
i.e. the guy I teach programming to a lot
@Hjorthenify ahh, easily done!
@Hjorthenify I usually avoid that by checking for collisions BEFORE moving rather than after
 
11:40 PM
@OMGtechy Well its done BEFORE moving, but it was only allowed because the bullet wasn't a solid, so... :P
 
I want to build my computer so badly, but I still don't have CPU
:(
 
@Hjorthenify infinite problems
@hasherr what sort of build you doing?
 
Good build
 
Gaming/Programming machine
 
11:46 PM
personally, I would have got the monitor and cpu before GPU haha
 
I got a deal on the GPU iirc
 
ahh
 
I think I'm going to apply for another job tomorrow
 
That's what he's telling people anyway
 
Pizza place
 
11:48 PM
Uhm.. Windows 8 though....
 
Yep :D
 
>_>
 
Windows 8 > other Windows
 
8.1 destroyed one of my friends laptop.. Legitly
 
I am running Windows 8.1
 
11:49 PM
@Hjorthenify Well your friend probably messed something up
 
Nope
 
8.1 woot woot
 
@hasherr and nice on the job
 
@Hjorthenify Are you sure that wasn't 8.1.1?
 
OS's don't just mess things up
 
11:49 PM
Because that update is known to bork up things.
 
sorry, I'm on 8.1 update 1 too haha
 
Updated to 8.1 and suddently his GPU was playing jet engine
 
na, it's usually driver issues
 
Like invalidate peoples product keys, and other odd things
Personally, I have no issues at all.
Windows 8.1 with UEFI boot is godsend.
 
11:50 PM
UEFI?
 
@William'MindWorX'Mariager unless you want to dual boot, in which cast its annoying
 
@hasherr The replacement for BIOS.
 
Is that the BIOS with the cool UI?
 
@hasherr a modern replacement for BIOS
 
Oh, it's a total replacement?
 
11:50 PM
If you could just disable that awful workspace thing in win8, then I guess it would be alright..
 
@hasherr yes, but you've got the right idea
 
The Unified Extensible Firmware Interface (UEFI) (pronounced as an initialism U-E-F-I or like "unify" without the n) is a specification that defines a software interface between an operating system and platform firmware. UEFI is meant to replace the Basic Input/Output System (BIOS) firmware interface, present in all IBM PC-compatible personal computers. The original EFI (Extensible Firmware Interface) specification was developed by Intel. Some of its practices and data formats mirror ones from Windows. In 2005, UEFI deprecated EFI 1.10 (final release of EFI). The UEFI specification is ...
 
Pretty sure my Mobo has a UEFI
 
@Hjorthenify it's so awful I have no clue what you are talking about
 
probably, all modern ones do now
 
11:51 PM
If you're going with Win8, you should use it.
 
Absolutely
 
holy fuck, in this programming language I'm designing it's now been reduced to 2 data types from like god knows how many
 
@Grey Alex is dead :(
 
Really? That is unfortunate. I'm pretty sure he was in here yesterday though.
 
He was. Rolfl banned him forever :(
 
11:55 PM
Remember to tell him why
It's not like he didn't deserve it.
 
@Grey Hello there
 
wat
wat?!
 
@OMGtechy hi
 
@OMGtechy He was asking for it
 
ALEX IS DEAD!?
 
11:56 PM
Banned
 
Alex is banned
 
Perma?
 
whoever he is
 
user58869
hmm?
 
Yeah
 
user58869
11:56 PM
i am alive
 
oh
 
@Alex Another Alex
 
lel not you @Alex
 
The puns.
 
BUT FUCK ALEX IS DEAD? HOLY SHIT
 
11:56 PM
I am confused, I joined this today and all I hear about is this Alex
 
@BlueBug HE'S PERMA-BANNED
 
>>
 
@OMGtechy he was a regular, with the highest postcount
 
(banned from chat) == (not ever joining) == (dead)
 
11:57 PM
@William What did he he do this time that got him banned?
 
@Lasse Of which 10% offended people. :P
 
@William'MindWorX'Mariager yes
 
(if you are dead) == (not ever joining) == (banned from chat) == (dead)
 
@Grey He did a bad thing :(
 
@Grey Kept annoying a moderator and literally asked for it :P
 
11:58 PM
@William'MindWorX'Mariager Community mod?
@hasherr Do not bite the hand that feeds.
 
That's... irrelevant.
 
Well, from what I hear it sounds like he had it coming
 
Yeah, he literally asked for perma-ban
 
@hasherr It's a metaphor.
 
11:59 PM
Not to mention all the other stuff.
 
literally? or is "literally" metaphor/
 
Not properly used one
@BlueBug He said to rolf 'What's the maximum amount of time I could get banned for?'
 

« first day (1359 days earlier)      last day (3651 days later) »