Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Help Moneky Island 4 Models

Page: 2 of 2
 john_doe
10-07-2003, 8:02 AM
#51
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...
 john_doe
10-07-2003, 10:35 AM
#52
I just tested the VMD player with a demo of Lighthouse. Works perfectly so far.
 Ender
10-22-2003, 12:15 AM
#53
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;
 khalek
10-22-2003, 4:58 AM
#54
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
 john_doe
04-01-2004, 10:08 AM
#55
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?
 bgbennyboy
04-02-2004, 5:25 PM
#56
I'm afraid I cant help there, I dont have a clue about 3d stuff.

Keep going though, you're doing great work :)
 john_doe
04-06-2004, 9:01 AM
#57
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).
 ThunderPeel2001
04-06-2004, 12:11 PM
#58
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!
 bgbennyboy
04-06-2004, 12:31 PM
#59
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.
 DMCBatman
04-06-2004, 1:30 PM
#60
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.
 ThunderPeel2001
04-06-2004, 2:16 PM
#61
BG: Dang :(

That's number 46 on the list then :D
 john_doe
04-07-2004, 7:02 AM
#62
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.
 ThunderPeel2001
04-09-2004, 4:22 PM
#63
woohoo!
 john_doe
04-15-2004, 1:53 PM
#64
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.
 fixxxer4ever
05-05-2004, 2:03 AM
#65
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.
 john_doe
05-05-2004, 2:48 AM
#66
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.
 SkullHW™
05-10-2004, 2:03 PM
#67
Eep.

How do i hack EMI bundles?
 fixxxer4ever
05-21-2004, 2:09 AM
#68
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
 SkullHW™
05-22-2004, 9:47 AM
#69
Meh.



:fett: My friend Boba Fett here says : "Can i rip Indiana Jones and the Infernal Machine sounds?"
Page: 2 of 2