Topics
Android Augmented Reality C++0X/C++11 Code Conferences Consoles Control Theory Digital Intelligence DirectX Ex-Microsoft FILM Framestore Game Industry GearVR Graphics Graphics API Graphics Hardware Hardware Infinium Miscellaneous OpenGL PC Graphics Published Articles Technology Too Weird Uncategorized Virtual Reality Vive VR/AR/XR Windows 8 Windows Mixed Reality-
Recent Posts
Categories
- Android
- Augmented Reality
- C++0X/C++11
- Code
- Conferences
- Consoles
- Control Theory
- Digital Intelligence
- DirectX
- Ex-Microsoft
- FILM
- Framestore
- Game Industry
- GearVR
- Graphics
- Graphics API
- Graphics Hardware
- Hardware
- Infinium
- Miscellaneous
- OpenGL
- PC Graphics
- Published Articles
- Technology
- Too Weird
- Uncategorized
- Virtual Reality
- Vive
- VR/AR/XR
- Windows 8
- Windows Mixed Reality
Archives
- May 2020
- January 2019
- October 2018
- August 2018
- July 2018
- June 2018
- January 2018
- December 2017
- November 2017
- October 2017
- July 2017
- May 2017
- November 2016
- October 2016
- May 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- July 2015
- June 2015
- May 2015
- November 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- November 2013
- August 2013
- December 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- August 2011
- July 2011
- June 2011
- March 2011
- November 2010
- October 2010
- September 2010
- July 2010
- August 2009
- March 2009
- February 2009
- August 2008
- September 2007
- August 2007
- May 2007
- April 2007
- March 2007
- February 2007
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- June 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- December 2002
- July 2002
- May 2002
- March 2002
- February 2002
Recent Comments
- Ron on Code Storage
- Mohammad on Code Storage
Category Archives: Code
More on Space Filling Algorithms…
A few years ago I wrote about Procedurally Distributing Game Objects, essentially how to sprinkle objects in game space so that they might appear randomly distributed, they are always somewhat equi-distant, thus making the density of object’s distribution in game … Continue reading
Posted in Code, Graphics, Technology
Leave a comment
Let The Computer Figure It Out: PID Controllers-theory
I’m going to start some posts on how to “Let The Computer Figure It Out”. I see rational folks sometimes use trial and error to figure something out – a totally valid methodology – but occasionally there’s a need for … Continue reading
Posted in Code, Control Theory
Leave a comment
Simple Exponential Smoothing, explained
I was assisting a coworker deal with some noisy real-world data. Normally my first instinct is to use some averaging algorithm. Frequently I’ve used something like this to output a smoothed value of frames-per-second (FPS) for a graphics program. An … Continue reading
Posted in Code, Miscellaneous
Leave a comment
Procedurally Distributing Game Objects
I was discussing procedural content with someone last week and I was reminded of some research into space filling distributions and their use in games. One interesting procedure that I’ve run across is called the Halton Sequence, and it has … Continue reading
Posted in Code, Graphics
Leave a comment
Working with C++0X/C++11: Lambdas – part 4 – using closures
In my last C++11 blog I talked about creating functions that takes a storage location by reference and return a function that takes a string input, parses it and stores the resulting value into the storage location. So we’re creating … Continue reading
Posted in C++0X/C++11, Code
Leave a comment
Working with C++0X/C++11: Lambdas – part 3 – introducing closures
Closure In computer science, a closure (also lexical closure, function closure, function value or functional value) is a function together with a referencing environment for the non-local variables of that function. A closure allows a function to access variables outside … Continue reading
Posted in C++0X/C++11
Leave a comment
Working with C++0X/C++11: Lambdas – part 2 – Scope Capture
Since a lambda is a local function defined with a scope (i.e. inside another function) it can have access to the same variables that are in that scope. This is where the capture-mode comes in. (Perversely, this prevents lambdas from … Continue reading
Posted in C++0X/C++11, Code
Leave a comment
Working with C++0x/C++11: Lambdas – part 1- Syntax
Lambdas are new to C++0x and if you are familiar with functors then you already have a good idea of how lambdas can be used. Where lambdas really become useful (in my opinion) are allowing you to encapsulate behavior (as … Continue reading
Posted in C++0X/C++11, Code
Leave a comment