
Today I finished off fixing the errors in my graphics code. There were 2 errors with my rending, the first was my rotation based matrices. I was not using radians to perform my calculations, I was using degrees in all rotation leading to strange, spiritic motions. Fixing this normalised the movement but showed that no matter where I moved the camera, your view would always be from within the cube. This was caused by the addition operator always setting the W coordinate to 0 when it should be setting it to 1. Fixing this displayed the cube on the screen rotating by 1 degree every second. After this I began my databases practical where we had to move a phpAdmin database over to MySQL. Due to the different syntax of SQL on different database systems, I had to replace all date entries in this database on top of some changes in how keys are designated. this took me about an hour as there we're a lot of dates to convert but after this it was too late to continue. I am on the last task for these exercises.
Comments
Post a Comment