TWiki home TWiki > Team2 > ProjectTwo > IndividualLogs2 > JoeProj2Logs (r1.5) TWiki webs:
Main | TWiki
Team2 . { Changes | Index | Search | Go }
Developed design strategies, pseudocode for face collisions. Physics algorithms seem pretty straightforward, shouldn't be too tough. Implementation details could get a little hairy, but I'll find out soon enough.

-- JoeWalker - 29 Feb 2004

I implemented the collideFace function in the triangle class. I also added collideFace to the checks to see where the ball collides first. I was unable to reconcile the glut.h exit errors. I couldn't edit glut.h, and couldn't get the #define hack working, as suggested on the website to which we were directed. So, at the moment I don't even know if the code compiles, nor have I tested it. I will work on this some more before the deadline.

-- JoeWalker - 02 Mar 2004

I finished implementing the collideFace function and added a triangle in standard orientation for testing. With Jon's help, I was able to work out some minor bugs in the collision tests. There is still a bug in testing whether the collision occurs inside the edge (v1,v2), from the xz plane to the x axis. Normal collisions do not occur with the equations and tests given for this part of the face collision notes. When this code is commented out, normal collisions are detected, but it is likely that sometimes detections will occur when they shouldn't.

-- JoeWalker - 02 Mar 2004

I got the face collisions working by rewriting one of the edge checks based on revised notes. I am still without a working copy of Visual Studio, and have tried every method I can think of to find somewhere I can work, to no avail thus far. I'll be working on face collision testing in the next few days.

-- JoeWalker - 06 Mar 2004

I have standard input working now for straight hand-entered user input. I'm having trouble getting it to read from files though. Debugging this is a bit tough; for some reason the input file is unable to be opened. Perhaps the program can't find it, but I don't see why not. I've tried looking this up on various Internet sites and none of that code is working either.

-- JoeWalker - 30 Mar 2004

Topic JoeProj2Logs . { Edit | Attach | Ref-By | Printable | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.5 - 13 Apr 2004 - 17:47 GMT - TWikiGuest
Parents: WebHome > ProjectTwo > IndividualLogs2
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.