Page 3 of 3

Re: Model Converters

Posted: Thu Jan 22, 2009 5:44 am
by Stromboli
Seems to work beautifully!

However, doing it on a mac, would I just activate it via console?

Also, how do we go about scaling?

Re: Model Converters

Posted: Thu Jan 22, 2009 8:28 am
by rudel_ic
You can try to double-click the Brainfart.jar on the Mac as well, maybe it does work then.

If not, start it on a terminal with

Code: Select all

java -jar Brainfart.jar
As for scaling, there are 2 choices on the lower right: Weapon scale or Immobile scale. So if you're making a sword, choose Weapon scale; if you're making a replacement for tunnel.solid, choose Immobile scale.
If you want to convert character .solids to .x, choose Weapon scale, by the way.

If your weapon is DimX=2, DimY=2 and DimZ=2, it should roughly be as big as the character's default size.
Immobiles with DimX=2, DimY=2 and DimZ=2 in Blender are about double the size of the character if they're scaled to 0.6666 (which is the 1:1 texture mapping sweet spot).

Re: Model Converters

Posted: Thu Jan 22, 2009 2:49 pm
by Lotus Wolf
rudel_ic wrote:I'm happy that Brainfart fixes your problems, Lotus Wolf. Although I haven't the faintest idea what went wrong in the first place. So it's a by-product of a good art pipeline, I guess.
I figured it out, actually, i had sometimes been getting "PYTHON Script Error" when trying to Import/Export anything, and also when trying to UV map some models, so i reinstalled Blender, and everything started working again. Maybe the Blender Scripts had become corrupt.
rudel_ic wrote:The pistol is win, mate!
:D

Re: Model Converters

Posted: Thu Jan 22, 2009 7:18 pm
by Lotus Wolf
rudel, i noticed that you said it is for COLLADA 1.4.1 and the exporter/importer for my blender is 1.4.0 would that matter, or is it the same? i've also noticed some odd stuff about interior verticals. that was ok in the earlier versions, and now then there's verticals inside of the shape created by others it does the half invisible thing for those parts. anyway, just reporting stuff.

Re: Model Converters

Posted: Thu Jan 22, 2009 8:02 pm
by rudel_ic
COLLADA 1.4.1 is backwards-compatible to 1.4.0 models, so it doesn't matter.

Can you elaborate on the interior vertices thing? Like, make a screenshot of both the Blender view in edit mode and the result in Lugaru?

Re: Model Converters

Posted: Thu Jan 22, 2009 8:48 pm
by Lotus Wolf
next time it happens i will, i just scrap my work when it does that. it also may not be that, so i'll explore a bit.

Re: Model Converters

Posted: Fri Jan 23, 2009 6:19 pm
by rudel_ic
Stromboli just initiated a little looking into what the Java situation is on OSX. Until now, I just assumed that OSX is always up-to-date with Java.

it appears that that isn't the case. So either for the next release or as an alternative download, I'll compile Brainfart so that it's 1.5 compatible. I'll have to make some adjustments though, so I can't say how long that'll take.

Re: Model Converters

Posted: Fri Jan 23, 2009 7:21 pm
by rudel_ic
Okay, I'll drop the ball on that one; rewriting the whole thing to get along with Java 1.5 doesn't appear to be trivial. Some methods are missing in the JDK, some have moved, others work differently.. No fun at all.

I'll have to rewrite portions of it, which means that it makes more sense to do that when the next release is about to hit because I want to change a few things around anyway.

For now, I encourage trying the OpenJDK 1.6 port to OSX if you want to run Brainfart on such an OS. Please let me know how that goes, I don't have access to a Mac.
http://landonf.bikemonkey.org/static/soylatte/