I am not happy
My admission to the computer science major has been rejected. I will have to try again to see if I can get in spring quarter. That application was the best damn thing I've ever written. I could not have possibly improved anything. My grades are good, with a 3.4 GPA, …
Assembly CAS function
inline unsigned char BSS_FASTCALL asmcas(int *pval, int newval, int oldval)
{ unsigned char rval; __asm {#ifdef BSS_NO_FASTCALL //if we are using fastcall we don't need these instructions mov EDX, newval mov ECX, pval#endif mov EAX, oldval lock cmpxchg [ECX], EDX sete rval // Note that sete sets a …I make the weirdest crap on accident
(Embedded Video)
Front To Back Fail
So this was supposed to be an entry about how I had utilized a blending algorithm that allowed one to render front to back to speed up rendering via the stencil buffer…
But it turns out it's useless. The blending algorithm itself, even though its implemented in fixed function hardware, …Desktop Composition
I have succeeded in directly compositing my graphics engine to a vista window, using a dynamic DLL load so it doesn't cause any problems on XP. I also managed to create a situation where the window is entirely transparent and impossible to click, which was an absolute bitch to get …
Function Pointer Speed
So after a lot of misguided profiling where I ended up just testing the stupid CPU cache and its ability to fucking predict what my code is going to do, I have, for the most part, demonstrated the following:
if(!(rand()%2d)) footest.nothing();else footest.nothing2();is slightly faster then(footest.*funcptr[rand()%2])();where funcptr …Sprites Needed
I NEED HELP.
I am in the final stages of rewriting my graphics engine, and before I release a pre-alpha I want to include a sprite-helper module so its not completely useless. However, in order to develop a sprite based module I need a sprite-based example to work off of, …SCREW CHROME
I love chrome. I really do. Its fast, its lightweight, its superbly designed in almost every way save a few tiny little details that make me want to FUCKING MURDER THE GUYS AT GOOGLE WHO THINK UP THIS SHIT.
On a completely unrelated note, "shit" is an anagram of …MY BIRTHDAY YO
So its my birthday today. I'm 20. Of course, nobody cares. I mean, I don't even care. I'll care next year when I am no longer a minor. So I'm really just making this to be annoying. That said I need to draw a bunny for my cake and fill …
ONE MILLION IMAGES
I have succeeded in completely separating the number of images in the pipeline with the render time. Below is an example of one million images being culled to display about 100 on the screen at once, rendering at about 1230 FPS. The actual culling code takes 0.52 milliseconds per frame. …