Weekend
I implemented verlet integration in the cloth renderer friday, it was easy to do and produced a result much more stable than the euler method I started out with. I had problems using the spring system formula presented in Thomas Jacobsens article and implemented the formula discussed in Jeff Landers May 1999 Gamedevelopers Magazine column.
During the weekend, which I spend with my girlfriend in Aalborg, I started incorporating the virtual machine Lars, Martin and I wrote for our compiler course last semester, into my engine. The virtual machine is written in C and is fairly portable across your average selection of unix systems and variants (GNU/Linux), but it is monolithic and not compatible with Windows which is two of the problems I’m facing, they can be solved fairly easy though. Another problem is how to actually design the Scheme to C++ interface for the scripts to use. The lowest level of interaction will most likely be a single function added to the Scheme base which will be a gateway into the Engine kernel. I already added such a function and modified the compiler and VM to compile and use it properly. The function will act as a trap just like when making a system call to an ordinary kernel. How the rest of the functionality will go from there is still open. If you have any ideas, do not hesitate to contact me.