|
Author
|
Topic: OL tools
|
Hippie Pilot
|
posted 04-24- 01:54 AM
I've made a start on the new OpenPlane Language tools we were talking about. http://www.mcnett.org/fst/users/gosulliv/ol-3.zip All very beta, so backup work first and don't rely on them yet, but please give them a go and let me know how you get on. I've decompiled and compiled the original Fw190a.sm with these and it comes out binary identical so they must be kind of working. Hippie. IP: Logged |
Hippie Pilot
|
posted 04-27- 09:44 PM
I've started updating the AC3D plugins to use the new .OL file format instead of .ASC. ol_import and ol_export are almost ready to go. I found the bug that stopped decompiled OPS edited files from importing properly, I wasn't initializing the matrix stack correctly.The new .OL format should make things a bit easier since you don't have to worry about the name table any more. I'm looking into making the .OL export structure more similar to the structure that OPS saves in to make switching between tools easier. I'm planning on doing a AC3D OpenPlane rotate plugin that will rotate meshes and update stored matrices so you should be able to get proper rotations for setting wing dihedral etc. Hippie. IP: Logged |
Bryan Russell Pilot
|
posted 04-27- 10:01 PM
if it helps any...OPS doesn't hold any of the SM file structure except for parent child relationships and significant groups (that is groups that act to share properties between the models in the group). All of the records are groups together and manipulated as sort of a smObject, i.e. A model as a proplist, a list of DOFs, up to 5 LODs and a matrix and a translation (for some reason the DOFs like the translation there otherwise I just would have used one matrix) When it gets written out each 'smObject' class(actually a CSMModel class, since a smObject is just a smModel with the other stuff attached) writes it self out as the series of the LODs, DOFs, and groups that you will see when OPS writes an SM file out. IMO seperating the OL from the actual file structure would go a long way to make the OL useful for revision control etc. Also make the OL file(s) people have in revision control more imune from changes to the actual SM file. BTW I tested the OL format with CVS and created a couple of branches and tried to merge them. The CVS merge marked every change as a merge conflict, even when there was no obvious overlapp in the changes. I'll have a closer look at how CVS merges to see what needs to happen to avoid conflicts. I suspect it is written around manually edited text files so it could be line number sensitive. The merged OL file worked OK in my limited testing after the conflicts were manually resolved. IP: Logged |
bjorn Pilot
|
posted 04-28- 01:32 AM
Yes, Bryan, CVS (and all other version control system's I'm aware of) uses file diff's by the line. This shouldn't cause conflicts, however. It usually discovers added lines. It is written to be on the safe side, however. If there's the slightest risk that something is a conflict, it will assume it is, just so that no one will ever get an erroneous automatic merge. _ /Bjorn.IP: Logged |
mposis Pilot
|
posted 04-28- 09:52 AM
Hippie,Can you also correct the LOD import for AC3D? When I import a single sided polygon it is converted to double sided polygon. I have to change it back to single sided before exporting. Once again, thanks.
IP: Logged |
Hippie Pilot
|
posted 04-28- 08:58 PM
mposis,have a go with these: http://www.mcnett.org/fst/users/gosulliv/ac3d_plugins_25B7-16.zip Hippie IP: Logged |
mposis Pilot
|
posted 04-29- 04:59 AM
Hippie,Thanks a lot, works great! It made work much easier since I don't have hunt down polygons that has to be converted to single sided. IP: Logged |
mposis Pilot
|
posted 04-29- 09:14 AM
Hippie,disregard this message. [This message has been edited by mposis (edited 04-29-2000).] IP: Logged |
Hippie Pilot
|
posted 04-30- 12:45 AM
Updated ac3d plugins again: http://www.mcnett.org/fst/users/gosulliv/ac3d_plugins_25B7-19.zip New dodgey rotate and verts plugins. Hmmm now that I think about it the verts probably need to get un-rotated by the objects matrix to be much use. Hippie IP: Logged |
Razor747 Pilot
|
posted 05-02- 06:13 PM
Hippie, I love your OL plugins for AC3D. I have imported all of my planes and the huey into AC3D and the parts are in the correct position just like the original planes. I can now use AC3D to position the parts!! It is way easier to make small movements in AC3D than in OPS. The F4F-4 is getting a major overhaul All my planes will be way better now The only problem I have found is that some of the DOFs get screwed. They can be fixed without to much trouble though. The Shadow still can not be changed. I moved the shadow around and changed the shape, but nothing happened in the game.Thanks for all your work. ------------------ Thanks, James "Razor747" Smith Check out the SDOE Flight Line! I am constantly adding new things. Click on image above to go to my site.
IP: Logged |
Sv Pilot
|
posted 05-02- 08:28 PM
This is GREAT Hippie!!!!I got my SE5a in sweet! It did flip my lower vert. stab. upside down like you mentioned, no big deal. Too bad my AC3D won't load background images anymore  I tried re-installing AC3D off of my original download CD that I have used many times before... no luck. It loads the image, but will not display it! Maybe I will email Andy... or maybe it is time to blow away my system again. I did just upgrade to 256 memory... could that do anything? Everything else seems fine... Well as soon as I get my AC3D to work I will try to make use of your new tools for some major modeling - There will be many things that can be done much faster with the parts positioned in AC3D, like adding wires! No more guess work!!! Also doing DIFS should be allot easier... I will try this! Thanks again Hippie, your tools rule!
------------------ -Sv =FC= WWI in SDOE!
IP: Logged |
mposis Pilot
|
posted 05-02- 10:06 PM
Where have you guys been?I've been doing this with hippie's plugin the first time he released it. IP: Logged |
Sv Pilot
|
posted 05-02- 10:21 PM
I have been smoking crack  What did happen? Let's see... do you remeber by AC3D did not work for the first couple of months I was modeling, well the beta would not work, the normal version did. But the normal version only worked with Hippie's old plugins. So I got used to it - funny. It is funny how stupid one can be... all that work, and this cool functionality I never thought to use, DUH! Now if my stupid AC3D would work - damn! Maybe I will blow away my machine and try a fresh install... it worked for so long! I am so stumped... -Sv IP: Logged |
Razor747 Pilot
|
posted 05-02- 10:34 PM
mposis, Are you talking about the first ones he made? I never could get the .asc one to open in AC3D. Everything would be at the center 0,0,0. I just started using the OL plugin, so I didn't realize it worked the way it did. I use to import one part at a time and go from there, but not now  ------------------ Thanks, James "Razor747" Smith Check out the SDOE Flight Line! I am constantly adding new things. Click on image above to go to my site.
IP: Logged |
mposis Pilot
|
posted 05-03- 12:34 AM
Razor,I had this problem when loading asc that was created by extracting sm files made by OPS. If you extract the sm files of the original planes you do not get this problem. Hippie's plugin expected the whole plane to be grouped as one object but the sm file created by OPS does not do this. Since I don't use OPS I only see it when people send me sm files created by OPS. It was easy to fix because all you do is to create a new group and include the whole plane in it. Maybe Hippie made a fix in the plugin so it will work with sm files created by OPS. IP: Logged |
Hippie Pilot
|
posted 05-03- 05:19 AM
Razor,the OL export plugin stores DOFs as elements of the proplist not as DOF records, so this is why OPS can't see any DOFs in a AC3D exported plane. The OL import/export is still quite buggy, I'm working on fixing it up and making it more OPS compatible. It's got me beat how mposis managed to use the old ASC import/export to make working aircraft  Hippie. IP: Logged |
mposis Pilot
|
posted 05-03- 07:31 AM
Hippie,The previous asc import plugin always worked with original planes. It only had problems with sm files created by OPS. I tried the asc export once but it did not work so I never tried it again. Are you now willing to take donations for your tools? ------------------
[This message has been edited by mposis (edited 05-03-2000).] IP: Logged |
Razor747 Pilot
|
posted 05-03- 08:08 AM
Hippie, I can make the changes to the plane in AC3D, but I can't work with it in OPS? That is ok for now. How do I do the DOFs in AC3D? If I can make the DOFs in AC3D, then I can edit the ol file and do the rest in wordpad.------------------ Thanks, James "Razor747" Smith Check out the SDOE Flight Line! I am constantly adding new things. Click on image above to go to my site.
IP: Logged |
mposis Pilot
|
posted 05-04- 05:38 AM
Razor,Load the object where you want to put the DOF at and create a line representing the axis of rotation or translation. Use vertex mode and select both vertices of the line then from the Tools menu select DOF. This will give you the values to put in the ol file.
IP: Logged |
Hippie Pilot
|
posted 05-04- 07:26 AM
mposis,no donations will be accepted. I've got a nice zero and a F4U now, payment plenty  Now if only I had some larger Pacific, terrain with the Solomon Islands  Wouldn't hurt either if MH got few more iterations of SDOE patches out with no debugging code. I'm supposed to be getting my cable modem hooked up tomorrow, so I will be able to fly online again, Hooray! Hippie IP: Logged |
Sv Pilot
|
posted 05-04- 09:02 AM
Hippie,Do you plan on still flying 10,000 feet above everyone during dogfights... like those kids in dodgeball who hide in the back so they are the last ones left?  -Sv IP: Logged |