Topics concerning Serious Stuff
| || error MSB4006: "ResolveReferences"|
I just came across some weird behaviour in Visual Studio 2010 which didn't seem to be documented so I'm posting it here in case it ever happens again..
When building Pyromasaur on Visual Studio 2010 after the first migration to 2010, I received the following error:
error MSB4006: There is a...
|Dave Driesen ||0 ||2912 ||2011-10-09 14:43:18 |
| || Annoying GIMP language settings|
Just making a little post to help my memory later on.When installing or upgrading GIMP, it will often start in the language matching the one used by your operating system. For me this is undesireable, so I needed to change it to english.Unfortunately, this didn't seem configurable through the pref...
|Dave Driesen ||0 ||430 ||2011-10-09 14:43:18 |
| || Weird lighting problem|
guys I'm having a really weird lighting problem I've been struggling with for a few days now :/The problem is as follows: when opengl is rendering my scene, my normals spin with the objects. To test this I'm just outputting gl_Normal to gl_FragColor which gives me the classic red green and blue po...
|Dirk Myers ||1 ||407 ||2011-05-01 11:25:18 |
| || Enumerating resolutions on the system|
How can you enumerate the available video modes on a linux machine?I heard that SDL is the best way for this but don't want to resort to adding a dependency really.
|Vengenze ||1 ||1106 ||2011-04-09 09:10:06 |
| || Building for Xbox|
What do we need, and how do we go about it.
First of all, an xbox (360 atm) build would require a full rewrite of the old Direct3D code. We have been building exclusively for OpenGL for the last year, but evolutionary there is no real reason not to build for DirectX. Many of us have extensive exper...
|Dave Driesen ||0 ||412 ||2011-02-21 12:46:30 |
| || Redirect standard output and error output to one file instead of console |
Going to post this here because I keep forgetting..It is possible on linux to redirect both the standard output AND the error output and append the result to one file.The trick here is to specify the file redirection first and then the error console redirection:
|Vincent Verbeke ||0 ||339 ||2011-02-14 05:49:09 |
| || Cool build info gathering app|
One of the main things I missed while building for Win32 is the lack of flexibility that you get on Linux... Our Linux build scripts, for example, contain commands that gather source code information and statistics and embed that data into the binaries.So instead of googling around for a few hours a...
|Dave Driesen ||0 ||485 ||2011-02-13 11:41:20 |
| || Bit fields|
I'm posting this here because Yeniçeri asked me about it recently.In C and C++ it is possible to use only a certain number of bits in an integer. This can be handy sometimes when dealing with application-foreign types or data from other platforms, stuff like that. This can be accomplished by using...
|Dave Driesen ||0 ||530 ||2011-02-11 10:06:16 |
| || Calculating the dot product of 2D vectors|
Let's see who falls for this one..How do you calculate the cross product of 2 2D vectors?lol
|Dirk Myers ||0 ||449 || ":P" by Dave Driesen on 2011-02-09 12:20:47 |
| || C++ Modulus|
Let's start off with a good tip for all C++ coders out there?Don't try to take the modulus of a negative number lol.Someone else explain why, I'm busy :P
|Vengenze ||2 ||495 || "C++ Modulus" by Dirk Myers on 2011-02-11 11:28:30 |
Topics concerning not so Serious Stuff
| || ALSA: blocking, nonblocking, libjack, or threads?|
I am interested to know some good practices for dealing with ALSA.The documentation for it is very very lacking and I know you guys are using a very advanced implementation.
|Doom ||4 ||643 || ":/" by Krasula on 2011-02-21 12:52:44 |