View Full Version : Max or Maya?
Anton
August 22nd, 2007, 07:53 PM
Well here's my scenario, I have about 100 OBJ's. I need to import them all into a single file. Max when importing OBJ's messes up the faces and flips them randomly. Maya imports them fine but It's taking to long since I have to import them all by hand.. Is there anyway that I can fix max from doing that? Or atleast get Maya to import them all at one?
DaneO'Roo
August 22nd, 2007, 08:10 PM
In maya just select all the objects and combine them.
Also, Maya ftw.
Anton
August 22nd, 2007, 08:17 PM
I mean, I'm trying to import all the .OBJ's into maya at once instead of individual selection>Import.
Con
August 22nd, 2007, 08:19 PM
I can modify an MEL script I have to batch import into Maya, h/o
Can you tell me what these files are named?
Anton
August 22nd, 2007, 08:19 PM
That would be AWESOME. Thanks ;]
supersniper
August 22nd, 2007, 08:20 PM
That would probably help him a lot.
EDIT: Ha he beat me to the post. Only by one minute!
Con
August 22nd, 2007, 08:20 PM
What are the names of the files?
Anton
August 22nd, 2007, 08:26 PM
bsp_01[0] (Goes from 0 to 25)
bsp_01-Permutation[0] (Goes from 0 to 85)
bsp_01-Unknown[10] (This one has random numbers in place of the ten there.. theres alot of them though.. but these won't import anyway..)
Con
August 22nd, 2007, 08:32 PM
brb, will finish when done dinner (lol owned)
Anton
August 22nd, 2007, 08:35 PM
Lol, I don't mind, if your willing to help then I'm grateful your spending time helping me.
Con
August 22nd, 2007, 09:06 PM
First step, make a folder in your C drive called "import" and put all the .obj files you want to import inside that folder.
bsp_01[0] (Goes from 0 to 25)
bsp_01-Permutation[0] (Goes from 0 to 85)
For these ones, open Maya and go into window/general editors/script editor
paste in the following code:
for($i=0;$i<=25;$i++)
{
$name="C:/import/bsp_01[" + $i + "].obj";
file -import -type "OBJ" -namespace "oo" -options "mo=1" -pr $name;
}
int $i;
for($i=0;$i<=85;$i++)
{
$name="C:/import/bsp_01-Permutation[" + $i + "].obj";
file -import -type "OBJ" -namespace "oo" -options "mo=1" -pr $name;
}Under the scipt menu of the script editor, click Execute. This should import the first two groups of files.
bsp_01-Unknown[10] (This one has random numbers in place of the ten there.. theres alot of them though.. but these won't import anyway..)
For these randomly numbered files, you say they won't import in the first place, at least try this:
Select all of these randomly numbered ones (make sure they're in the import folder you created) then right click and rename with the group selected. Type in "file" (no capitals). It will name all but one of them "file (#)". For the one that is just named "file" without a number after it, add a "(1)" so it matches the others. Then, run this script and see if it works:
note: this can also be used as a plan B for the first two groups if the other script doesn't work for you for some reason.
int $i;
for($i=1;$i<=300;$i++)
{
$name="C:/import/file (" + $i + ").obj";
file -import -type "OBJ" -namespace "oo" -options "mo=1" -pr $name;
}
Anton
August 22nd, 2007, 09:11 PM
AHH THANK YOU :D
Con
August 22nd, 2007, 09:13 PM
Did everything work alright?
Anton
August 22nd, 2007, 09:14 PM
Ahh thank you!!!
-Ps. How do I combine all of the objects now?
Is there a button I press after selecting them all?
jahrain
August 22nd, 2007, 09:19 PM
I already created a program that does this, long ago. (it was my first published application). It can import a folder load of obj files and combine them into a single file. http://hce.halomaps.org/index.cfm?pg=3&fid=1302
Con
August 22nd, 2007, 09:19 PM
In Maya, there is a drop down menu in the top left which lets you select what menu items appear on the top for specific jobs. The file, edit, modify, create, display, and window menus will always be there, but the others can be switch around by using the drop down menu. Make sure the drop-down is set to Modeling or Polygons depending on your Maya version, then go under the polygons menu item and click combine.
Edit: Oh, that's cool jahrain :-3
Anton
August 22nd, 2007, 09:19 PM
Oo ...
Roostervier
August 22nd, 2007, 10:07 PM
Hey, use Maya. Kthx.
No seriously, Maya is epic win; always use it. Also, good job helping him Con.
Teh Ganon
August 22nd, 2007, 10:17 PM
ive never tried maya.... but i think we can all agree max is better than gmax :D
Anton
August 22nd, 2007, 10:25 PM
Maya seems hard to use.. If I got used to it, I would probably love it. But I don't know where to start.. I don't like the movements controls, Max's are perfect for me. But yeah, like I said I'm only used to max.
Roostervier
August 22nd, 2007, 10:34 PM
Anton, that is exactly the way I felt. Then, I stuck with it and my first model was turning out amazing. I had to format my system recently, though. So now I no longer have it.
Here, I found some pictures of it on another forum.
http://img186.imageshack.us/img186/8730/biped28frontuk8.jpg
http://img72.imageshack.us/img72/4192/biped28backtx1.jpg
So, it isn't that bad for a first model, right? Well, imagine what you could do once experienced!
Con
August 22nd, 2007, 11:05 PM
Maya is easy to pick up if you model with it for a while, so I def recommend it. It's easy to use, easier than Max IMO. The tools/UI seem to make sense.
Anton
August 22nd, 2007, 11:30 PM
You guys are really great in the influencing, encouraging way. :D I love this community. I will try to stick with Maya. ^^
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.