ModelTool for OBJ to BZW conversion
umm, there are no limits to the number of faces or anything, so nothing should be "too complex" it's not like the tool does anything with the data, it just converters it.
Post the obj that dosn't work, so we can make the tool work with it. This is how bugs are fixed, first they are reported with all the data a developer needs to duplicate them![Smile :)](./images/smilies/icon_smile.gif)
Post the obj that dosn't work, so we can make the tool work with it. This is how bugs are fixed, first they are reported with all the data a developer needs to duplicate them
![Smile :)](./images/smilies/icon_smile.gif)
![Image](https://forums.bzflag.org/download/file.php?avatar=48_1588010522.png)
Okay, here it is. Please note that I was experimenting with Anim8or
Valoche
![Laughing :lol-old:](./images/smilies/icon_lol.gif)
Valoche
- Attachments
-
- valoche.zip
- Wavefront obj, zipped because BB does not allow .obj's
- (2.5 KiB) Downloaded 1211 times
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- Memnarch
- Sergeant First Class
- Posts: 273
- Joined: Mon Jul 05, 2004 10:42 pm
- Location: Sorry, I'm a Nowhere Man
- Contact:
Ok, I went to cvs, and used the command in my shell program. This is the command I used: cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag/bzflag/tools co -P modeltool
Ok, and this is what I got:
cvs checkout: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/bzflag/bzflag/tools for user anonymous
cvs checkout: used empty password; try "cvs login" with a real password
So I really have no idea what I should do. Help?
Ok, and this is what I got:
cvs checkout: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/bzflag/bzflag/tools for user anonymous
cvs checkout: used empty password; try "cvs login" with a real password
So I really have no idea what I should do. Help?
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
well, here is a screenshot of my object right b4 I export.
- Attachments
-
- can_1.JPG
- Object
- (54.9 KiB) Downloaded 439 times
well anything under Z 0 gets wacky, the ground isn't filled in with the Z buffer, so stuf drawn under it won't be occluded buy the grass. So any object mesh or not will look "wierd" when underground. Just don't make anything under z 0. when you rotate stuff, parts may go under z 0, you have to make sure that dosn't happen.
![Image](https://forums.bzflag.org/download/file.php?avatar=48_1588010522.png)
- Memnarch
- Sergeant First Class
- Posts: 273
- Joined: Mon Jul 05, 2004 10:42 pm
- Location: Sorry, I'm a Nowhere Man
- Contact:
sigh... It is time. Ok, I donwnloaded the latest bzflag from cvs, and I configured, made and made install. What am I supposed to do now? What is the executing name I need to put in a shell? A little confused here...Memnarch wrote:ok, thanks! I think I know what I am supposed to do, so I'll get back to you when I fail!
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
- RPG
- Lieutenant, Junior Grade
- Posts: 2015
- Joined: Fri Sep 17, 2004 2:37 am
- Location: Chicago, Illinois
- Contact:
You don't double click on it. Instead, you drag your OBJ file over it. Or, use the command line to call it.
Remember to add -flipyz to have your model placed the correct way.
To run it in the command line (run button) do this (assuming modeltool.exe is placed in C:\)
C:\modeltool.exe SOME_FILE.obj -flipyz
replace SOME_FILE.obj with the name of your OBJ file.
Remember to add -flipyz to have your model placed the correct way.
To run it in the command line (run button) do this (assuming modeltool.exe is placed in C:\)
C:\modeltool.exe SOME_FILE.obj -flipyz
replace SOME_FILE.obj with the name of your OBJ file.
legolas, it is a model conversion tool that is to be used with some other modeler ( your choice ). It is not an editor, or graphical modeling tool.
The -flipyz is ONLY for modeling programs and modelers that use the "Y" axis as the "UP" axis. Not all systems do this, so you don't need it for all models. If you are unsure about what your modeler uses, then you probably need to learn more about your modeler.
The -flipyz is ONLY for modeling programs and modelers that use the "Y" axis as the "UP" axis. Not all systems do this, so you don't need it for all models. If you are unsure about what your modeler uses, then you probably need to learn more about your modeler.
![Image](https://forums.bzflag.org/download/file.php?avatar=48_1588010522.png)
- LouMan
- Chief Sgt. of Cartography
- Posts: 338
- Joined: Mon Jan 31, 2005 3:05 am
- Location: Michigan, USA
Exported LightWave OBJ Converter
I have been asked to post the VERY simple OBJ converter I created for my map making. This is a very small, untested Windows application with very limited use - it will only convert exported LightWave OBJ files into mesh 'language' for insertion into a bzw file. For that matter, it will not convert normals or texture coordinates. It will only convert vertices, faces and texture names. The output file is generated in the same directory as the source file, with the word "Converted" added to the filename, e.g. "box.obj" becomes "Convertedbox.obj" Copy and paste must be done from there. Please, please do not think that this is a polished application - I'm actually very hesistant to post it...
- LouMan
- Chief Sgt. of Cartography
- Posts: 338
- Joined: Mon Jan 31, 2005 3:05 am
- Location: Michigan, USA
Map Tool
Hmm - didn't like the .exe file
, let's try it with .zip...
![Confused :?](./images/smilies/icon_confused.gif)
- Attachments
-
- LWConverter.zip
- (4.06 KiB) Downloaded 1125 times