Page 1 of 3
Entity 1.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 6:14 pm
by JacksonCougar
Entity 1.3; Proper Model Injection Revision
Same old Entity 1.3, great new feature!
This release is Entity 1.3.3 using revised code created/modified from the original code and taken from numerous other places. The most obvious changes to the code include; but may not be limited to:
- Improved triangle strip generation:
Rewrote the code involved with the OBJ file processing before it is handed off to Directx for processing. This results in a better compression, but you may run into trouble with models being improperly injected: such are the woes of making things more proper.
UV and Vertex compression:
Fixed the way the bounding box was generated for compression. Not sure if there is any particular noticeable improvement due to this, but higher accuracy of UV and vertex locations could possibly be achieved now.
Normal, Tangent, and Bitangent vector compression:
Code was rewritten to be more understandable (for me at least), as well as to fix an apparent bug in the original code. Decompression and re-compression of model raw results in a change of the values stored: this is due in part to rounding errors, and to a greater extent, due to an anomalous value at 0.
Shader Groups:
Support for this was removed during the testing stages of the new code, but I plan on releasing a version further down the road with enhanced features. All mesh is by default set to shader group 0.
Download:
http://files.remnantmods.com/jacksoncougar/utilities/entity-pmi-build/
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 6:17 pm
by DemonicSandwich
Link fucked up. ¬_¬
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 6:19 pm
by JacksonCougar
I fixed ;]
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 6:27 pm
by neodos
Awesome.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 8:18 pm
by Dragonfire
I hope this works on 64bit ^_^
EDIT: WTF, it errors when i run it...

Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 9:13 pm
by Grimdoomer
Wait, you fixed the compressions code? Like it compresses perfect now?
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 9:15 pm
by Eaton
Great for people who model. I don't.

Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 9:24 pm
by OwnZ joO
You are a hero for being able to work with entity code. I hadn't looked at it for so long and had forgotten how bad it was before I looked at it a while back. I thought it must be exaggeration when people talk about how bad it is, but when I looked at it again, it made me cringe. You just have to ask WHY?! on some of the stuff, why they would write it that way. Good work on this though.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 9:40 pm
by Eaton
OwnZ joO wrote:You are a hero for being able to work with entity code.

Somehow Entity does work in spite of its bad coding.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Mon Nov 03, 2008 10:33 pm
by NotZachary82
Error message: Entity has stopped working ...

Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Tue Nov 04, 2008 12:32 am
by JacksonCougar
I love that error^ I got some really strange errors while using this build ;p
Unsure if it was code related or just because I like to run it in debugger for 24 hours ;p
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 2:54 am
by Click16
It works! YAY i can has pumpkins? you should attach the pumpkin to master chief's head! lol post in photography thread!
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 3:15 am
by JacksonCougar
Dragonfire wrote:I hope this works on 64bit ^_^
EDIT: WTF, it errors when i run it...

I'll get a standalone version out so you can enjoy this man. I got your back ;p
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 3:31 am
by Dragonfire
JacksonCougar wrote:Dragonfire wrote:I hope this works on 64bit ^_^
EDIT: WTF, it errors when i run it...

I'll get a standalone version out so you can enjoy this man. I got your back ;p
That would be nice, so i wouldnt have to reboot to WinMCE everytime i wanna inject and use bsp viewer

Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 3:36 am
by OwnZ joO
JacksonCougar wrote:Dragonfire wrote:I hope this works on 64bit ^_^
EDIT: WTF, it errors when i run it...

I'll get a standalone version out so you can enjoy this man. I got your back ;p
What exactly do you plan on changing, do you know what's causing this error?
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 4:05 am
by Gary
Make this inject/export bones.
I would love that.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 5:59 am
by JacksonCougar
OwnZ joO wrote:JacksonCougar wrote:Dragonfire wrote:I hope this works on 64bit ^_^
EDIT: WTF, it errors when i run it...

I'll get a standalone version out so you can enjoy this man. I got your back ;p
What exactly do you plan on changing, do you know what's causing this error?
More than likely its just a reference being used by entity that is not x64 compatible.
Note: by standalone version, I strictly meant a windows form hat lets you select model tags and inject a mesh into it: trying to fix entity is not something I have an interest in.
Gjsdeath wrote:Make this inject/export bones.
I would love that.
Why? Nobody outside a select group has access to animation injections, and what you could do with the current animations and a new mesh is fairly limited. Besides I have thought on doing this but I need to find a new export format, or simply learn how to maxscript code. Perhaps.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 6:02 am
by DemonicSandwich
JacksonCougar wrote:....trying to fix entity is not something I have an interest in.
You can spray air freshener on poo, you can paint the poo another color, you can give it a cool costume but in the end the poo will still be poo.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 11:07 am
by Grimdoomer
DemonicSandwich wrote:JacksonCougar wrote:....trying to fix entity is not something I have an interest in.
You can spray air freshener on poo, you can paint the poo another color, you can give it a cool costume but in the end the poo will still be poo.

Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 5:20 pm
by Aumaan Anubis
Keep up the good work, guys.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 6:54 pm
by Gary
JacksonCougar wrote:
Gjsdeath wrote:Make this inject/export bones.
I would love that.
Why? Nobody outside a select group has access to animation injections, and what you could do with the current animations and a new mesh is fairly limited. Besides I have thought on doing this but I need to find a new export format, or simply learn how to maxscript code. Perhaps.
Well, custom bipeds, even if they didn't have custom animations, we could inject our own players over master chief's model.
And then we could make custom FP model.
Even without custom animations, if we could export/import bones, we could still do much more.
What do you mean by a new format? Like something besides Obj?
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 8:49 pm
by DemonicSandwich
Gjsdeath wrote:What do you mean by a new format? Like something besides Obj?
Yes, because OBJ doesn't support bones from what I've seen. Another format like OBJ is needed.
A format where the material group numbers are saved but not the materials themselves just like OBJ but also support bone links and envelopes.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Wed Nov 05, 2008 9:45 pm
by Gary
Oh, I thought it did, but we need a format that's used a lot, one that just about any 3D modeling app will be about to use.
Misfit, Blender, 3ds, eta.
Misfit: .mm3d .ms3d .txt .obj .lwo .md2 .md3 .cal .cfg .cob .dxf
Blender: .3ds .ac .dxf .dae .off .x .lwo .mot .md2 .ms3d .txt .c3d .bvh .flt .obj .raw .slp .svg .ps .eps .ai .x3d
I use misfit, its free, and the easiest thing I've ever used, and it supports a lot, animations, bones, eta.
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Thu Nov 06, 2008 5:42 am
by Dragonfire
what about a .model file?
Re: Entity 1.3.3; Proper Model Injection Revision
Posted: Thu Nov 06, 2008 3:42 pm
by XZodia
what is a .model file?