background preloader

Programming

Facebook Twitter

DirectX « Greg Dolley’s Weblog. Welcome to part three of the DirectX native C++ tutorials.

DirectX « Greg Dolley’s Weblog

In this part we’re going to look at drawing a set of 3D triangles. These triangles will make up a cube and the camera will be positioned inside of it (like you’re standing in a square room). While the last tutorial technically had a 3D triangle – after all, we specified z coordinates for every vertex – the scene was not truly 3D as far as DirectX is concerned. Try changing the z coordinate for any of those vertices and you’ll see what I mean – the triangle still doesn’t look like it’s in perspective. Requirements The tutorial sample code was built and tested with Visual Studio Express 2008. You’ll need the DirectX 9 SDK for compiling the sample code. Tutorial Source and Project Files Download the project files, binaries, and source with this link: Download C++ Sources and Binaries [~15k] Getting Started Introduction to Matrices Matrices are basically mathematical tables used in linear algebra. So why is this useful? About the Code.

Algorithms

25 Free Computer Science Books. As a computer scientist I'm always looking to improve my knowledge of the subject.

25 Free Computer Science Books

There are lots of great sources of information available online, but nothing really beats the depth of knowledge that you can find in a book. It is possible to get the best of both worlds though, as many books are now available online in full, and free of charge! Below is a selection of 25 of the best free computer science books that I've found online, with a brief description of each one. Where the book is also available in printed form I've included a link to Amazon, using my affiliate link.

If you'd like to buy one of the books but would rather not help towards the cost of running this blog then you can search for the books directly on the Amazon site. Become An X coder A guide to MacOSX development with Cocoa using Objective-C. The Cathedral and the Bazaar Eric Raymond's brilliant book about Open Source software, and its impact on software development projects. Learn You a Haskell for Great Good! Free Online Computer Science and Programming Books, Textbooks, and Lecture Notes.

Projects - Octave. The list below summarizes features or bug fixes we would like to see in Octave. if you start working steadily on a project, please let octave-maintainers@octave.org know.

Projects - Octave

We might have information that could help you. You should also read the Contributing Guidelines chapter in the Octave manual. This list is not exclusive -- there are many other things that might be good projects, but it might instead be something we already have. Also, some of the following items may not actually be considered good ideas now.

Practice

Paradigms. Misc. LISP/Scheme. C. Python. Java.