Wednesday, November 30, 2005

Goblet of Fire

Stardate 59113.0
We went to see Harry Potter and the Goblet of Fire on Sunday. It was good. Thomas covered his eyes at the more scary parts. The question on my mind is if Daniel Radcliffe, Emma Watson, and Rupert Grint will go for the next three movies. Rupert especially looks eighteen or nineteen now. One idea April has is to do a Peter Jackson and film all three at once. It would still need to wait for J.K Rowling’s last book.

Brannon Braga’s Threshold was cancelled by CBS last week. One review wondered tongue in cheek if he was going to blame viewer fatigue. I personally am getting that with Lost. The series seems to go nowhere, but adds new plotlines.

I loaded the log4net test project with the intention of figuring out what was wrong. I ran it to see where I was at, and it worked just fine. I changed some settings in the config file, and it picked them up. Weird. My guess is VS.NET was not copying the .config file I added until I restarted. This would not be the first time I found that sort of problem. I also played around with Craig Andera’s DirectX tutorial. The C# samples that Microsoft put out with DirectX 9a have a few problems with methods that don’t exist.

55 public bool InitializeGraphics()
56 {
57 try
58 {
59 presentParams.Windowed=true; // We don't want to run fullscreen

60 presentParams.SwapEffect = SwapEffect.Discard; // Discard the frames
61 presentParams.EnableAutoDepthStencil = true; // Turn on a Depth stencil
62 presentParams.AutoDepthStencilFormat = DepthFormat.D16; // And the stencil format

63 device = new Device(0, DeviceType.Hardware, this,
64 CreateFlags.SoftwareVertexProcessing, presentParams); //Create a device
65 device.DeviceCreated += new System.EventHandler(this.OnCreateDevice);
Error 1 'Microsoft.DirectX.Direct3D.Device' does not contain a definition for 'DeviceCreated'
\Tutorial5\texture.cs 65 12 Tutorial5

66 device.DeviceReset += new System.EventHandler(this.OnResetDevice);
67 this.OnCreateDevice(device, null);
68 this.OnResetDevice(device, null);

69 pause = false;
70 return true;
71 }
72 catch (DirectXException)

73 {
74 // Catch any errors and return a failure
75 return false;
76 }
77 }

Ok, and I wanted to show off some more improvements in the style sheets. I like the spiral notepad on the left. This is strange, since I don't the real thing. Writing left-handed, I end up bending the wire because I lean my hand on it.

At least with his I can get a spinning triangle. Ok, it’s not much, but learning something new is best started with basics.

End of Entry