obj. to bzw converter

Questions and answers about the how and why of making maps.
Post Reply
User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

obj. to bzw converter

Post by OO7 » Tue Sep 18, 2007 11:43 pm

I know there is one for windows, but is there one for the Mac? I haven't found one.

User avatar
Macrosoft
Private First Class
Private First Class
Posts: 142
Joined: Fri May 04, 2007 2:21 am

Post by Macrosoft » Tue Sep 18, 2007 11:51 pm

gazz: A bullet may have your name on it, but shrapnel is addressed "to whom it may concern".
http://bash.org/?785529

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 12:12 am

I have tried to use the bzwtools, but the subversion thing never worked for me. I may have been doing it wrong.

I have another program I want to use, but it would be useless unless I can convert to .bzw from one of the following:

Image

Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ » Wed Sep 19, 2007 12:44 am

Wait for a while, Teppic is going to release a full version of blender with BZWTools installed. This will suit you just fine, even more than you would like probably.

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Wed Sep 19, 2007 1:00 am

Legolas_ wrote:Wait for a while, Teppic is going to release a full version of blender with BZWTools installed. This will suit you just fine, even more than you would like probably.

Uhh, why not use modeltool to convert OBJ to BZW?
http://my.bzflag.org/bb/viewtopic.php?t=2698

Or the wings -> BZFlag converter
http://my.bzflag.org/bb/viewtopic.php?t=3652


Or even better, wait for BZWB to be done in a few months, it should support OBJ imports.

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 1:04 am

Winny wrote:
Legolas_ wrote:Wait for a while, Teppic is going to release a full version of blender with BZWTools installed. This will suit you just fine, even more than you would like probably.

Uhh, why not use modeltool to convert OBJ to BZW?
http://my.bzflag.org/bb/viewtopic.php?t=2698

Or the wings -> BZFlag converter
http://my.bzflag.org/bb/viewtopic.php?t=3652


Or even better, wait for BZWB to be done in a few months, it should support OBJ imports.
The modeltool does not work for the mac.

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Wed Sep 19, 2007 3:32 am

OO7 wrote:The modeltool does not work for the mac.
Have you tried building it from source? It is part of the BZFlag project, and in the main source code under the tools/ directory, even in the 2.0.8 source code. Seems like the Makefile is generated along with the rest of the build system, so follow the normal build system steps, then cd into the tools/modeltool/ directory and 'make'.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 4:01 am

I'm no good when it comes to source. I'd have no clue what I was doing, so I've never tried working with it.

User avatar
netochka nezvanova
Private First Class
Private First Class
Posts: 120
Joined: Wed Jan 19, 2005 4:58 pm
Location: NL

Post by netochka nezvanova » Wed Sep 19, 2007 8:07 am

i use wings3d on osx as a obj-bzw converter

just made this map in cinema4d and the converted it with wings3d

http://my.bzflag.org/bb/viewtopic.php?t ... 20be06a470
Image

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 9:43 pm

So, what your saying, is you use cinema4d, save it as an .obj file, open it with wings3d, and can save it as a .bzw file?

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Wed Sep 19, 2007 10:39 pm

yeah, you just install the bzw exporter into wings3d, it was mentioned above. Make sure you do not expand the compressed file before installing.

once it's installed you will see a little box next to Export>>BZFlag
you will want to click the checkbox for "swap z and y axes"

I usually use import scale .025 and export at 40X, but those can be adjusted to match whatever map you want.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 10:41 pm

Ok, I'll try it. If it doesn't work, I'll be back.

EDIT: It didn't work. Wings wont start.

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Wed Sep 19, 2007 10:46 pm

one more thing... on an intel mac.. you will want to use this version of wings 3d.

http://www.macweb3d.org/article.php?sto ... ry=wings3d


the power-pc version was crashing on filesaves for me.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Wed Sep 19, 2007 10:48 pm

OK thanks, Wings now works. We'll see if I can get the rest to work.

EDIT: I have tried it, and it all works, except for one thing. The faces seem to be inside out.

I am using SketchUp to draw the map, and wings to convert it.

I am looking for two solutions:

a) a way to fix the problem, or
b) somebody who can create the map based on my SketchUp drawings.

User avatar
Nightfire
Private First Class
Private First Class
Posts: 19
Joined: Thu Feb 23, 2006 11:33 pm
Contact:

Post by Nightfire » Thu Sep 20, 2007 12:52 am

OO7 wrote:OK thanks, Wings now works. We'll see if I can get the rest to work.

EDIT: I have tried it, and it all works, except for one thing. The faces seem to be inside out.

I am using SketchUp to draw the map, and wings to convert it.

I am looking for two solutions:

a) a way to fix the problem, or
b) somebody who can create the map based on my SketchUp drawings.
If the faces are inside out, why not open the map with a text editor and fix that? Or is that possible?
Recruiting: MI6 Agents

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Thu Sep 20, 2007 2:10 am

i think instead of inside-out... you mean sideways.

In wings, check the box for "swap z and y axes" in bzflag export preferences.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Thu Sep 20, 2007 2:21 am

No, I truly mean inside out. I have known about the sideways thing with wings, so I fixed that right away. the faces are truly reversed, seen only from one side in most cases.

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

Post by Spazzy McGee » Thu Sep 20, 2007 12:37 pm

There is an 'invert' function in wings which will remedy this.
"Life is what happens to you while you're busy making other plans." - John Lennon

Post Reply