Pinned Update #1

The Darc Library (C++) is now updated as of March, 2012. Click ▷here too browse the entire solution.

Wednesday, April 10, 2013

Norob

Some more screwing around with the tablet. On today's menu we have a very drafty concept design of a gloomy character for potential dungeon sessions. More concepts will follow soon. Also, the name is a working title... kinda.

Wednesday, April 3, 2013

The Blue Ball

First test with my new Intuos5 Touch. I have no idea what these buttons do. I'm going to learn how to create more useful stuff with it in the future. For now, behold the Blue Ball. No pun intended.

Friday, January 25, 2013

Task Manager Magic

Dear diary,

today i found out that CTRL + SHIFT + ESC opens the Task Manager. Hallelujah.
OK, that's it.

Tuesday, January 1, 2013

Scrambler

This script makes scrambled eggs!

Number Sequence

Sunday, December 23, 2012

Radio Silence

Phew, what a year.
I wonder if this still works...

Friday, August 10, 2012

Wide Characters

Here's how to output wide characters (i.e., wchar_t) to the console in Visual Studio 2010 using a Multi-Byte character set environment. Most likely, this option must be set manually since Microsoft suggest Unicode by default. This setting prevents certain functions from being changed to their <method>W versions but i guess that's a matter of taste. All it takes is a single call to _setmode() with the second parameter indicating the expected character type. In the case of UTF-16 (two bytes) this is _O_U16TEXT. After that, the character type can be switched back to ASCII using the _O_TEXT option.

:: CODE BLOCK ::
_setmode(_fileno(stdout), _O_U16TEXT);
std::wcout<<L"Hello World"<<L"\n";  
_setmode(_fileno(stdout), _O_TEXT);  
Wide Character Output

Of course, the console's font must be set to something that can handle all used characters (e.g., Lucida Sans Unicode). The complete Unicode table can be found ▷here.

Tuesday, August 7, 2012

Universal Joint

Concept model and example animation of a universal joint. Note the non-linear force transmission for greater angles in the middle of the video. The error can be nullified by coupling two joints with identical angles to the intermediate shaft (cf. second video).