IfThen Software

Profile
Oregon
Journals our progress on current projects
54 comments
1 followers
169 entries
Advertisement
VBStrider
June 10, 2011
Going back into study mode
Yesterday I made it so that you could control the pitch, heading, and roll of your ship using the mouse and cursor keys. Pitch and heading adjustment works fine, but roll is dependent on the direction that your ship is facing; I actually suspect that the other two have similar problems as well…
819 views
VBStrider
June 09, 2011
Skybox
A skybox is used to add a background to a 3D scene. Things which are so far in the distance that they can be drawn into a 2D texture, such as the sun, distant mountains, and unmoving clouds, are part of the background. It is literally a box with the camera at its center. As the camera moves,…
1,715 views
VBStrider
June 08, 2011
First screenshot of new project, mouse look
You can now look around the cockpit using the mouse.

In order to get the mouse's relative movement, I used raw input. After I have the relative movement vector, I multiply it by the mouse sensitivity and multiply that by the rotation speed. This gives the final angular velocity vector which I …
627 views
VBStrider
June 07, 2011
Direct3D9 FFP Lighting
Today I finally managed to get the cockpit model into the game. I've decided to use the fixed function pipeline this time rather than shaders; it's probably a good idea to be experienced with both.

To use FFP (fixed function pipeline) lighting, you first need to fill in a D3DLIGHT9 structure. T…
947 views
VBStrider
June 04, 2011
Researching Direct3D9 Lighting
While doing some further research into the relation between a graphics API and the graphics driver, I came across this article: Mode Switching. I recommend reading it if you are interested in the things I discussed in the previous blog post.

I spent most of the day in research, mainly into the way …
632 views
VBStrider
June 03, 2011
The relation between graphics APIs and graphics drivers, also CRT security enhancements
While working on the model loading code, the compiler complained about fopen() being deprecated. These warnings aren't new, but I've been wondering for a while what exactly caused the functions to become deprecated. So after a Google search I found myself at the MSDN reading "Security Enhance…
763 views
VBStrider
June 02, 2011
Systems layer makes a comeback
The first thing I did today was the removal of the initialization game state, replacing it with the systems layer. The "systems layer" is a collection of objects/systems common to all game states. Examples of these are the main window, Direct3D device, and timing system. Currently the system…
734 views
Advertisement
VBStrider
June 01, 2011
Passing input events
Today I finished up the basic windowing code. The window procedure is contained in a window manager, which also handles registering the class and creating the window.

I also did some research into the definition of RAII to try and work out what I should be calling a particular technique I have b…
857 views
VBStrider
May 28, 2011
Researching airplane controls and state switching
Most of today's work was spent in researching airplane controls for the new test project. I don't have much to say on the matter, but here are a couple resources which may be of interest:
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
57 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement
Advertisement