Wednesday, April 23, 2008

PHP Form For week 7 inclass assignment

I did my php scripted form for the in class assignment. I used the existing mail form and modified it to support the new form. Andy Zickler showed me how to mix PHP and HTML for the response page, and make it so that it links back if you go directly to the destination page.

LINK

Sunday, April 20, 2008

Client site

Andy and I got the two pages for the new site done. It's looking pretty good so far. We also have our doc, but other than bringing it to class on Monday we're not sure where to turn it in.

We finished up yesterday afternoon.

Saturday, April 19, 2008

Nav Networks

My AI professor told me that I was not allowed to use SM3.0 specific commands in my second AI project. So all those walk maps I generated? Useless. Had to start over from scratch.



So I have. Now I have a A* navigation network that is procedurally generated from level geometry I create in a 3d modeling package.

Tuesday, April 15, 2008

Midterm project

I finished up my midterm project this morning. I think it turned out ok. It's a tongue-in-cheek site about my current housing. The testamonials are clearly made up to create content, I don't think that really matters.

Andy and I are cranking on that design document for the website redesign. With any luck, we'll be done with that after class tommorrow.

Sunday, April 13, 2008

Visual Studio is Microsoft's greatest product

I just used the refactoring tools for the first time in VS2005Pro. It was a minor change: I wanted to change the property

public ScreenManager ScreenManager

to

public ScreenManager Host


in my Artificial Intelligence project.

VS was able to make the change and then update ALL references. Took 30 seconds, despite the fact that the property was referenced in a couple dozen different places across about a half dozen different class files.

Things are starting to come together. The following image is a walk map, that is a map of areas that are legal to walk on in blue and illegal in white.

Monday, March 31, 2008

Web Poetry

I did my poem page for the week 4 in class exercise.

My choice of poem was Robert Frost's Mending Wall, for the simple purpose that it leads to easy imagery: a wall. So I went out to the web, and found a tileable stone wall texture on TurboSquid for use as a video game texture. Since it's tiling, it makes a good background texture.

This is the first time I've manipulated an image to blend into the background color, I've never done that before. It's also the first time I've layered text over a background image. It's a simple page, but it's at least somewhat interesting looking. I guess you could say that's what I learned. I'm starting to get better at positioning: the use of that global #container div really simplifies page construction.

Friday, March 28, 2008

What colors?

I went back and updated my home page so that it wasn't using the default colors from the style sheet I obtained.

I used the Web Color Wheel to help me pick colors. I think they came out alright.

In other class news, my neural net for my AI class only sort of works. It nails a few of the mouse gestures it's supposed to recognize, gets s a few completely wrong, and gets a few backwards. It will, for instance, identify a down-right corner as a left-up corner, which is close but not correct. (Technically, they are the same image, but the order the segments are drawn does matter in this case.)

On the other side of things, my ray-tracer project in CG2 is going perfectly. I've implemented a new finite plane allows us to test against arbitrary polygons in a way that's less risky than the cheap triangle mesh I had previously written. For instance, the seam between the two triangles in our checkpoint 2 images does not appear under the new implementation. A side effect of this was identifying the cause of some wacky planar behavior, mostly that our planes were appearing reflected opposite the origin of where they were supposed to be.

In addition, I worked in generalized super sampling. I wrote a really quick and dirty super sampler for checkpoint 2, and rendered an image with it for the bonus grade. I have now gone back and taken the very specific case that was used to make that image, and generalized it. Now, when super sampling, you specify the number of samples you want and a radius around the camera origin, and it calculates the ray origins regardless of camera direction. It works no matter what. This is much better than the last one we had, which was locked to 4 samples, and only worked properly when looking up or down the z-axis.