I’ve looked at murgh’s crash report and wondered what the hell’s going on for a bit. Then I remembered I’m using “fast Objective-C dispatch”, which is a guaranteed crash on pre-10.4 systems. I’ll switch that off if I stop using 10.4-specific functions, and maybe add an error message – using Carbon – before NSApplicationMain() until then…
so since I can't load a textured behemoth into Wings (Giles did share with me a behemoth.wings before he left, but it appears corrupted ) I had to make a drydock to take into space and take a pic there which is never ideal. and then the grid was much too complex, and Oolite didn't stop crashing until the grid was severely simplified..
so as far as icons go, I'm not sure if this is what you had in mind, but it's yours if you like.
That is a very nice application (with a rather clever name, if I may say so). It certainly helps to see each ship in context, compared in scale and proportion to others. I'm sure it will prove even more useful, too, as you get to add further features to it. (I'm rather flattered you put my Jabberwocky in the dock, for the website, too!)
And so I gave myself to God. There was a pregnant pause before He said "OK"
Minor note: the texture loading in Dry Dock is now free of Tiger dependencies (at a slight cost in efficiency). This puts me closer to doing mip-mapped anisotropically filtered textures for Oolite. Take that, four people who chose option three!
(However, I’ve found there are sufficient other Tiger dependencies in Dry Dock that there’s no real chance of it being backported. But hey, release 4 will have, er, a slightly better icon for the currently-unused Arrow tool…)
Dry Dock version 0.04 (612-3) is now available. The primary feature is OBJ importing. You can now open an OBJ file, verify that it looks right and export it as an Oolite OBJ file. The OBJ importer should be reasonably robust for polygon-mesh OBJ files (such as exported from Wings 3D). It writes some debugging info to the console. As promised, it also has a slighly better icon for the arrow tool. And also those horrible toolbar icons.
The procedure to convert an OBJ file is:
Open it in the usual fashion.
If the lighting looks “wrong”, try Tools->Recalculate Normals. (A Normal is a vector pointing straight out from a surface. You can display them in Dry Dock using the Show Normals toolbar button or menu item. When importing an OBJ, Dry Dock averages the normals of the vertices of each face, because Oolite doesn’t currently support per-vertex normals.)
If this results in normals being “inside-out” (you’ll notice because the light will be coming from the wrong side, i.e. from behind and below if you haven’t moved the light source) use Tools->Reverse Winding and then Recalculate Normals again.
Use Save As to export as a DAT. Select Oolite Model as the file format; the default selection, Dry Dock Document, isn’t implemented.
If there were any non-triangular faces in the OBJ, they will be converted to triangles when saving as a DAT. (For that matter, if you open a DAT with non-triangular faces and save it, the same will happen.) This conversion is done using a fanning process. You can cause this to be done explicitly using Tools->Triangulate (which will only be enabled if there are non-triangular faces).
Note: Recalculate Normals and Triangulate can’t be undone (high on the to-do list for 0.05), and I just noticed that Revert causes a crash, so the only way to undo these changes is to close the file and open it again.
I don’t get any download stats, so if you try it out please tell me. Possibly using Send Feedback… from the Dry Dock application menu. ;-)
Oh, there’s a new Compare command. It doesn’t actually do anything except bring up a sheet.
Changes from 0.03:
OBJ imporing.
Added triangulation support. DAT files are now always saved triangulated, but you can do it explicitly from the Tools menu if that’s your idea of fun.
Corrected loading of non-72-dpi textures.
“Show” menu item status now updated correctly.
You can no longer get more than one Open panel by re-activating the application.
Began work on Compare window.
Wireframe mode always uses yellow instead of face colour (which is otherwise ignored).
Slightly less efficient texture loading which is not dependant on Tiger – this will make it into Oolite at some point.
Lots of texturing changes that aren’t actually used, but will be rolled into Oolite at some point.
Improved several icons.
Internal infrastructure changes. Next version should be able to undo all destructive changes.
[/size]
Last edited by JensAyton on Sat Jan 28, 2006 4:42 pm, edited 1 time in total.
@ Ahruman - have you updated the application version? - when you run it it keeps telling you there is a newer version 601-3, but any and all updating still acquires v601-2...
You’re right, the version number is incorrect in the archive. Quick fix: right-click Dry Dock, select Show Package Contents, open Contents, open Info.plist, search for 601-2 and replace it with 601-3. I’m uploading a corrected archive, but who knows how long it will be before the server synchs up this time… :-/