john_doe Posted October 7, 2003 Share Posted October 7, 2003 That's interesting. I'll test it when I'm home and maybe I can help him, however I think his player is more advanced, he even has a player for the robot files... Link to comment Share on other sites More sharing options...
john_doe Posted October 7, 2003 Share Posted October 7, 2003 I just tested the VMD player with a demo of Lighthouse. Works perfectly so far. Link to comment Share on other sites More sharing options...
Ender Posted October 22, 2003 Share Posted October 22, 2003 Originally posted by john_doe The only thing I'm still missing is how the sprite codec called "RLE7" in Broken Sword 1 works. Did khalek answer you on this? RLE7 is standard 7bit run-length-encoding. No idea why they use the palette the way they do, this is just copied (into pseudo-code) from the original source: while (comp_pos < compSize_in_header) if bit > 127 OR bit = 0 // Single pixel, so just copy uncompressed[pos] = bit; pos++; comp_pos++; bit = compressed[comp_pos]; else // Color run run_length = compressed[comp_pos]; color = compressed[comp_pos + 1]; comp_pos = comp_pos + 2; for i = 0 to runlength uncompressed[pos + i] = color; pos = pos + runlength + 1; Link to comment Share on other sites More sharing options...
khalek Posted October 22, 2003 Share Posted October 22, 2003 Originally posted by Ender Did khalek answer you on this? RLE7 is standard 7bit run-length-encoding. No idea why they use the palette the way they do, this is just copied (into pseudo-code) from the original source: while (comp_pos < compSize_in_header) if bit > 127 OR bit = 0 // Single pixel, so just copy uncompressed[pos] = bit; pos++; comp_pos++; bit = compressed[comp_pos]; else // Color run run_length = compressed[comp_pos]; color = compressed[comp_pos + 1]; comp_pos = comp_pos + 2; for i = 0 to runlength uncompressed[pos + i] = color; pos = pos + runlength + 1; yes I sent him an email about it a while back Link to comment Share on other sites More sharing options...
john_doe Posted April 1, 2004 Share Posted April 1, 2004 I've worked on the EMI skeletons again, and found out the routine that converts quaternions to angle/axis was kinda different So I replaced it with another routine and now the skeleton almost looks right. Still, some joints seem to be rotated at a wrong angle, e.g. the legs and fingers don't seem to be where they should be, where other joints seem to be at the right place (a lot of seem there ). Does anyone know if this might be caused by the fact that I convert the quaternion rotation to angle/axis and there's a "gimbal lock" so the joint doesn't rotate how it should? Currently, I go though each joint, calculate the rotation/translation matrix, and if the joint has a parent, I add the parent's matrix to the current one. Or maybe I shouldn't add the matrices but instead add the quaternion rotations and translations, and only calc the matrix when the joint is drawn? Link to comment Share on other sites More sharing options...
Benny Posted April 2, 2004 Share Posted April 2, 2004 I'm afraid I cant help there, I dont have a clue about 3d stuff. Keep going though, you're doing great work Link to comment Share on other sites More sharing options...
john_doe Posted April 6, 2004 Share Posted April 6, 2004 Finally! I did it! The skeletons show how they should! After hours reading tutorials and FAQs about matrix/vector stuff. Turns out it was the rotation that didn't always work as it should have. Well, now I can implement animations. I hope this will not take my head as close to exploding as the skeleton stuff (but I'm afaraid it will). Link to comment Share on other sites More sharing options...
ThunderPeel2001 Posted April 6, 2004 Share Posted April 6, 2004 Wow!! Well done John_Doe!! to think we might be able to improve on the characters (maybe add those "extra" frames of animation from the PS2 version ) and generally muck around with MI4 one day. I've LOVE to be able to mess around with Manny and Co though, I've always wanted to increase the resolution of his skeletal head texture and give him "proper" hands. Also maybe fix Max's (?) cigar. There's already people doing this for other games, check out the System Shock 2: Rebirth mod... replacement high-polygon models for the ingame characters... very cool! Link to comment Share on other sites More sharing options...
Benny Posted April 6, 2004 Share Posted April 6, 2004 Great stuff! Bloody well done! Thunderpeel: On a sidenote, Jake and I once tried making high-res textures for grim. It didnt work, Grim didnt like having bigger textures and didnt scale em down, I might still have a screenshot of it somewhere. Link to comment Share on other sites More sharing options...
DMCBatman Posted April 6, 2004 Share Posted April 6, 2004 Wow, this is pretty amazing. Any chance at a mac port someday? If a recompile is a all that's needed, I could do it. Link to comment Share on other sites More sharing options...
ThunderPeel2001 Posted April 6, 2004 Share Posted April 6, 2004 BG: Dang That's number 46 on the list then Link to comment Share on other sites More sharing options...
john_doe Posted April 7, 2004 Share Posted April 7, 2004 Another update: Now I can play almost all the animations (one I tested didn't work correctly, i.e. the vertices were kinda..weird). Now I need to calc the correct vertex normals (for shadows/lighting) and there's another problem with unicolored textures. They're not lighted correctly and I still need to find out if it's normal in OpenGL or if I missed some settings. If everything goes well I'll release the new version towards the end of the week. Link to comment Share on other sites More sharing options...
ThunderPeel2001 Posted April 9, 2004 Share Posted April 9, 2004 woohoo! Link to comment Share on other sites More sharing options...
john_doe Posted April 15, 2004 Share Posted April 15, 2004 I wanted to implement bone weights before I release the viewer but the results look pretty surreal. If I can't get it to work I'll just release it without it, the aninmations look ok anyway. Link to comment Share on other sites More sharing options...
fixxxer4ever Posted May 5, 2004 Share Posted May 5, 2004 Hi, John_doe what is the progress so far ?! You said you were up to releasing a working version of your model viewer, and we all are still waiting ... Thanks for your hard work. Link to comment Share on other sites More sharing options...
john_doe Posted May 5, 2004 Share Posted May 5, 2004 I wanted to release it but it still needs some polishing in the GUI and I need to remove debug-stuff. I haven't got much time so it'll take a while. Link to comment Share on other sites More sharing options...
SkullHW™ Posted May 10, 2004 Share Posted May 10, 2004 Eep. How do i hack EMI bundles? Link to comment Share on other sites More sharing options...
fixxxer4ever Posted May 21, 2004 Share Posted May 21, 2004 Hi, So, is there any progress yet! Sorry for keeping to pop up like this, but being able to view EMI models and animations has always been in my wish-list fx Link to comment Share on other sites More sharing options...
SkullHW™ Posted May 22, 2004 Share Posted May 22, 2004 Meh. My friend Boba Fett here says : "Can i rip Indiana Jones and the Infernal Machine sounds?" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.