© 2012 Akshay S. Loke

Food Truck: Bob & Jo Truck

Posted on October 10, 2013 by in FoodTruck, NYC | No Comments

Bob & Jo Truck. These guys have a Korean Fusion cuisine style which was pretty interesting. I had the Spicy Chicken Sandwich with a cucumber and radish Kimchi with greens on a crispy Baguette. The chicken masala was good but the baguette sucked big time.. dunno if it was stale or what.. but that basically killed the sandwich for me.. 🙁 [...]

Continue Reading

The art and science of watching cricket in the US

Posted on March 3, 2013 by in Cricket, life, Sports | No Comments

Ever since I came to the US, I have come to appreciate cricket even more, playing as well as watching it. They say ‘distance makes the heart go fonder’. That goes for my wife, my family back home as well as for cricket. Playing cricket has taken a backseat for now, mostly since it takes quite a while to drive anywhere to play a [...]

Continue Reading

Graphics Scratchpad – ARB NPOTS Texture Coordinates

Posted on December 7, 2012 by in Shaders, Technical | No Comments

Mental note: ARB NPOTS Texture coordinates vary from (0, 0) to (width, height) of texture rather than (0, 0) to (1, 1) which is the case with regular textures. i.e. when you are using texture2DRect(sampler2DRect, coords), remember the fact that coords are going to vary from (0width, 0height) rather than from (01, 01)

Continue Reading

Optimized Transformations for AABBs

Posted on October 22, 2012 by in Algorithms, Programming | No Comments

AABBs are Axis Aligned Bounding Boxes, which are basically bounding boxes aligned with the 3 primary axes. Complex objects generally have an AABB associated with them, which are used for accelerating collision tests.. meaning, if the test doesn’t pass against the box, that means you save a lot of computationally intensive tests against [...]

Continue Reading

Include guards OR #pragma once

Posted on October 17, 2012 by in Programming | No Comments

I am all for #pragma once. #pragma once This is a preprocessor directive which is used for making sure that the current source file is included only once in a single compilation unit. It is fairly widely supported in recent times, despite it being introduced as a VisualStudio-specific compiler optimization. File: Geometry.h #pragma once class [...]

Continue Reading