carlfoxmarten: (Default)
[personal profile] carlfoxmarten
Drat it.

The AniMidi project was due today, but for all my efforts, it did not work as billed.

The TA would have given me an entire day extra to get it working, but I declined as I'm really not convinced that I could fix it with just 24 hours more.

I think I need to rip the entire project apart and start over, using only what worked and discarding the rest, to be only used for reference.
(truthfully, this is what "they" recommend in the first place, version one usually has huge bugs and oversights that necessitate an entire rewrite, so instead of trying to patch it, just rewriting it from scratch would save time. I'm starting to believe them)

In its current form, it can read in my instrument shapes and descriptions and display them on screen, and can read the MIDI files for the note data, but there are three problems between them: I don't understand MIDI note timing (the standard is rather unhelpful), the keyframe animation engine is in need of some serious redesigning (I made it way too general that I lost sight of what it's supposed to do...), and general over- and under-sights all the way through (some things I did a good job of designing, like the Position and Rotation classes, but much of the rest did not get thought out very thoroughly, leaving many gaping holes and a big pile of a mess).

Ah well, another assignment has higher priority right now, a raytracer written from scratch.
Mostly done, too.

For that one, I started out with the basic building blocks (Points, Colours, Images - in both PPM and PGM formats - as well as Triangles, Spheres, Materials, Lights - in ambient, parallel and point variants - etc.) and this time I managed to get everything working just fine, the only thing I have left to do is add is proper shading with the lights, then two of the eight add-ons (such as bump mapping, displacement mapping, light and chrome mapping, etc).

Fortunately, since I'm mostly done and not due until Sunday night, I don't have to spend nights working on it, so I can catch up on some much-needed sleep...




In other news, to get my mind off all the work I've been doing, I made some cornmeal biscuits to go with dinner.
(hey, anything aside from coursework is newsworthy, right?)

They turned out pretty nicely, though I almost think I folded them over into themselves a couple too many times, making them a little firmer than they should otherwise be, but hey, I haven't made them in months, so I've probably lost some of my touch.

And I must say that I've been enjoying them... =^.^=
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

carlfoxmarten: (Default)
Carl Foxmarten

August 2023

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 02:15 pm
Powered by Dreamwidth Studios