All Posts Tagged with “Cpp”
-
Cubic Bezier Curve Node for Softimage ICE
Posted in Graphics on Jul 6, 2011
Bezier curves are handy little things, especially the cubic variety. A while back I was playing around with ICE rigging in Autodesk Softimage, and I found myself in need of a cubic Bezier curve compound. I initially built one using the native ICE nodes, but although the tree was rather simple and consisted of nothing more [...]
-
A Simple, Intra-Process Event Bus in C++, Part I
Posted in Programming on Sep 14, 2010
A previous post introduced a way of assigning a unique ID number to arbitrary C++ types. As already mentioned in that post, my motivation for doing this was to lay the foundation for a simple, intra-process messaging system suitable for use in games (particularly the examples presented in Programming Game AI by Example). This post [...]
-
Uniquely Identifying Types in C++ without using RTTI
Posted in Programming on Sep 5, 2010
In which the evils of the C pre-processor macros are exploited for the greater good to produce unique IDs for types in C++.
-
RAII by Example: Implementing GenerateSha1Hash
Posted in Programming on Aug 27, 2010
In which I own up and actually implement a function I have written about earlier, and use the chance to talk about RAII for a bit.
-
Minimizing Header Bloat in C++: An Example
Posted in Programming on Aug 25, 2010
In which I waste way too much time debating the merit of std::vector
vs. boost::shared_array vs. plain ol’ int8_t*.
