On Mon, Jun 26, 2006 at 09:35:01AM -0300, Gerhard Fiedler wrote: > > What can I say, it took me a good 4 days of solid work to to figure out > > the math needed to display and rotate a wireframe cube on a PIC chip. > > That's just basic high-school matrix math. > > Don't kid yourself into thinking that this might go faster for every > engineer out there... Well, I can add it took me a good 3 days on top of that to figure out I needed matrixes to do proper rotations, I had some pretty funny looking results before that... > Seriously, many haven't use more math than is required to check a bill > since they got their degree. The selection that's active here is probably > not representative. Oh that's definetely true I'm sure. It was amusing watching my boss try to remember the math behind IIR filters last time he needed it... This is from someone with a PhD specificly in computer audio. Hadn't touched the stuff in years. > > If I'm going to ever be able to write something like a PID algorithm I've > > got a lot of studying ahead of me. > > Knowing you, I'd say "another 4 days"... :) I hope... Nah, what I'm really worried about for that wireframe project is I have to figure out the math to take a x,y,z reading from an acellerometer and convert it into a two part roll (whatever is the proper terminology for that) to rotate my wireframe model. Don't have the clue how I'm going to do it. Don't even know if it's an easy problem or a hard one. At least with an education that touched it I'd have a vague memory of where to start, even if it took me another 4 days to relearn all the details I'd forgotten! -- pete@petertodd.ca http://www.petertodd.ca -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist