Shaders and Matrices

November 26, 2007 | 3 comments »

Have a look at these two fine resources. Rhys posted these great tutorials on the forum a few days back, one about shaders and one about matrices. I thought I’d mention them here as well.

Original posts: Shader tutorial , Matrix tutorial.

Thanks Rhys!

LUA String mangling: trim a string

November 23, 2007 | Add a comment »

Here’s a usefull function to trim (remove leading and/or trailing spaces) a string

function trim (s)
	return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end

50 Game Design Innovations

November 22, 2007 | Add a comment »

From gameplay, to presentation to input devices, videogames are a hotbed of innovation. Ernest Adams notes 50 game design innovations, some that have already made their impact, and others that will shape the future of the medium…

Article link

Carmack’ magic constant

November 22, 2007 | Add a comment »

As you might know speed is a very importand issue for 3D engines, a good start for performance is to write highly optimized code. Here’s an article about how John Carmack uses a magic constant (0×5f3759df) to calculate an inverse square root. Article link

However interesting, the credits for this magic constant might not be Carmac’ but someone else’ as you can read in this post on beyond3D. A e-mail from the man himself actually confirms this.


Firefox search plugin updated

November 22, 2007 | Add a comment »

For those of you using the firefox plugin to search the forums, there is a new version available which now searches the new forums.

It should update automatically but if this fails you could do the following:
Select “Manage Search Engines” from the search engine dropdown list, now delete the old “Quest3D|Forums” plugin. Now click here to download the latest version.