Search found 164 matches

by brice
Wed May 09, 2007 11:07 pm
Forum: Mod Projects
Topic: Latest Blender/SHP Export/Import Scripts
Replies: 29
Views: 34851

Wow. I wish I knew python... eyra Python's great, but you don't need to know it to use the script. You only need to learn to use Blender. The import / export scripts are used by Blender via a menu interface. No programming knowledge required. You can google blender and click 'feelin lucky to find o...
by brice
Wed May 09, 2007 9:05 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

* Object names are used to name fragments. I'm not certain if blender's 'name.001', 'name.002' duplication scheme will work with Darwinia. I Still haven't tested it. I does work fine. At least in the few simple tests I've done. In most cases, Darwinia doesn't care if fragments (or Markers) have uni...
by brice
Wed May 09, 2007 8:45 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

Sounds fine to me. Except why not move all the script talk there? I don't mind if this thread dies. Once we get a working solution, I (or we or someone) will probably create yet another thread with how-tos and so on.

But it's your lead.

-brice
by brice
Wed May 09, 2007 7:52 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

If what I've seen the exporter do so far is indicative, the right object in the blender view is the bottom object in Darwinia view. Depends on whether you're talking my view or yours. In the pics above, the upside down Object is above the one which shows only it's top. Seen from Front View in blend...
by brice
Tue May 08, 2007 8:34 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

... actually you still have an orientation issue: http://i166.photobucket.com/albums/u91/bricex/orient-blender.jpg http://i166.photobucket.com/albums/u91/bricex/orient-editor.jpg The blender image is Top View, and the XZ axes in the darwinia image are according to the editor. The duplicate Object wa...
by brice
Tue May 08, 2007 7:27 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

Works great! I edited my post above just as you posted the new code. I think things are fine the way you have them. In the Darwinia editor I have to place the camera so it faces away from the map origin in order to get top view edits to match up. But that's no problem. Just a consequence of the axes...
by brice
Tue May 08, 2007 6:33 pm
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

P.S. One last thought: I picked the front orientation to line up with looking towards the XZ origin in the editor because that made sense to me. But it may not be what is right. If you place a StaticShape on a map, the (rx, rz) rotation vector starts as (1.0, 0.0). Maybe that helps sort out orienta...
by brice
Tue May 08, 2007 5:23 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

Ditto here. Great job! The translation of Objects is still in the wrong plane. But I'm glad you'll be able to see it for yourself, since describing 3D orientations in writing is awkward! Thanks for all your work! -brice P.S. One last thought: I picked the front orientation to line up with looking to...
by brice
Tue May 08, 2007 4:48 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

...its ALWAYS in the last box! Now top faces East. EDIT: I rotated the swizzle one more time to ZXY and everything seems perfect... for one Object. Left & Right in front view correspond to L/R when facing the Darwinia editor's origin. BUT, if I duplicate the object and do some translations and r...
by brice
Tue May 08, 2007 4:36 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

Orientation is wrong and the object is laying down in the ground. Top now points North towards the Darwinia editor's origin. In Darwinia the NW corner is labeled X pointing East and Z pointing South. I don't want to try other offsets / rotations since the frame of ref will change when you fix the to...
by brice
Tue May 08, 2007 4:13 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

If you use linked duplicates, will your exporter find all the copies? And when you do a Make Real, can you choose to use linked duplicates instead of literal dups? ... I just tried, and it looks like Make Duplicate Real does make a cluster of linked duplicates. They all follow the edits on any one ...
by brice
Tue May 08, 2007 3:50 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

I like it! But if you're still planning on doing an importer for the original game shapes, you're going to have to choose a Marker Object mesh yourself, aren't you? People can change it if they like. If you use linked duplicates, will your exporter find all the copies? And when you do a Make Real, c...
by brice
Tue May 08, 2007 3:35 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

... then here's my suggestion. Maybe use a small generic shape instead of Empties? Then if someone wants to duplivert the shape, they can do a Make Dupliverts Real to get all the Markers exported. Plus a real shape would convey orientation better than the axes of the Empty. Maybe something as simple...
by brice
Tue May 08, 2007 3:15 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

I have a question about using Empties as placeholders for the Markers. There are a few Marker types that can have repeats: Ports, Lights, Status. Usually they end up in a circle around the main building shape, with possibly some gaps. I'm not a Blender pro, and I can't figure out how to easily dupli...
by brice
Tue May 08, 2007 2:40 am
Forum: Mod Projects
Topic: Shape Files: Import & Export Blender Meshes
Replies: 107
Views: 34794

Since at this stage it seems fairly outclassed and unneeded, I shant bother doing much more in the way of my VB app. I still love you, TGF. http://www.ambrosiasw.com/forums/style_emoticons/default/wub.gif http://www.ambrosiasw.com/forums/style_emoticons/default/wub.gif http://www.ambrosiasw.com/for...

Go to advanced search