Kitty Corp Meow Mix Forums

Help & Tutorials => Help => Topic started by: JordRB on August 07, 2010, 06:34:08 AM



Title: Need some help/pointers with blender.
Post by: JordRB on August 07, 2010, 06:34:08 AM
Can anyone help me with some steps on how to use Blender? I've been doing everything I see in this video: http://www.youtube.com/watch?v=_zZUss7H5Ck
But I can't really do anything. It doesn't help that the obj I import to Blender are all a bunch of dots.

A Couple questions I have to ask is...
A) How do I import the actual Brawl Character into Blender. I've seen some videos on Youtube that has actual characters in it.
http://www.youtube.com/watch?v=WGtVsZdU6DQhttp://www.youtube.com/watch?v=QsVyF573tAM
And B) Is it possible to take a part of a character (like Metaknight's wings) and put them on a different character? I was planning on doing that.

If anyone can help, I'd appreciate it.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 07, 2010, 04:55:02 PM
I've done it...

but for a differant reason other than hacking...

used Williams converter with AIS to get 2 dae files,
and manually replaced the triangles in the AIS export with the triangles from Will's converter.

it's a chore and it doesn't work with every char...
I've only been able to get Pikachu fully imported (without animations)
I had to custom make the shaders though... but that was easy...

note:
even though I've only gotton Pikachu, there's still about 34 chars I havn't tried yet

here's an image:
(https://jump.matthewevan.xyz/i2p/pxbcwxbhxj2wusliwhrb6ym4vcwpihztuf2tfjejrcdzqrmnjuoa.b32/_/107109a517c5d238236997037532f1ff99e3181846336e65b360330f2ba0a1c0)
you can download the blender file if you want :) Download:. (http://tcll5850.proboards.com/index.cgi?action=downloadattachmentpage&board=models&thread=5&post=70)

my next post will include a fully instructed guide on how to import...


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 07, 2010, 05:45:44 PM
ok so we start with the char's pcs/pac file

using brawlbox, export the brres (containing the mdl0) and the mdl0 itself
R-click the brres file, and 'open with' AIS
you will have the dae containing the rig, the UV's, and a bad mesh.
now put the mdl0 in the directory of Williams converter, and run the batch file.
this will give you the dae with a perfect mesh. (no rigging or anything)

now to merge them...
open up both dae's in a text editor.
replace every instance of <triangles count="####"> ... </triangles>in the AIS export
with the triangle instances from williams coverter.
save your dae file...

now to import the edited file...
open blender and import the file with the 1.4.0 importer.
(make sure that the 'only import main scene' button is the only button clicked)
after doing that, you will have the full rig.
move that to a differant layer with 'M' and use the 1.4.1 (http://teraapi.com/collada4blender/index.htm) importer to import your file.
this should give you something like this:
(https://jump.matthewevan.xyz/i2p/pxbcwxbhxj2wusliwhrb6ym4vcwpihztuf2tfjejrcdzqrmnjuoa.b32/_/059390f78a0ecd89488b6456b52fbddb2ff44aa114ffe270106503750171d3cf)
now you will have to delete the bad rig...
select a separate bone and go into edit mode by hitting 'Tab'
once in edit mode, delete the bones in that object, and hit 'Tab'
now that you're back in object mode, delete the object you deleted the bones from.
after doing this with all the bones, you should end up with just the rig with the bone groups.
now retrieve your rig you imported and parent that to the model.
to do this, hold 'Shift' and select the model first, and then the rig.
now hit 'Ctrl+P' to parent, and select 'don't create groups'
now your model is complete and fully rigged.

enjoy :)


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 07, 2010, 06:38:33 PM
What's AIS? I downloaded William's Converter, but I can't seem to find the AIS thing.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 07, 2010, 06:44:18 PM
here you go:
AIS 0.1.3 (http://www.mediafire.com/?jzdd22l4znd)

AIS was originally designed to work on the trophies...
but it also works on chars
(that's why the mdl0 needs to be in the brres)


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 07, 2010, 07:23:02 PM
Well, I've done everything up to the "triangles" and saving the dae. Now the problem is I can't import it in. I got the collada plugins, but I don't think I have them set up right/in the proper folder.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 07, 2010, 07:25:14 PM
C:/Program Files/Blender Foundation/Blender/.blender/scripts/

if not there then:

C:/Documents and Settings/*user*/Application Data/Blender/.blender/scripts/

the second directory may be a little differant than what I've posted...
my memory is not serving me right...


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 07, 2010, 08:14:42 PM
I still don't know what I'm doing wrong. Every time I try to use the "import > Collada 1.4", a message that says "Cannot find file| Please set path in "colladaImport.py"" keeps popping. I put the file in the Blender folder in "Application Data"

what am I doing wrong?


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 07, 2010, 08:24:00 PM
check blender's console...

what's the file it's reporting missing?? collada.dom??
that should be in the same directory as the py

make sure you're using blender 2.49 (python 2.6)


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 08, 2010, 10:28:15 AM
what's the file it's reporting missing?? collada.dom??
that should be in the same directory as the py

By "Collada.dom" do you mean a folder called "colladadom" or is that an exact file? The importing stuff  I got didn't have the dom, so I googled it, and the "Document-Object-Model" dom was the only thing I could find. And I did put that in the same folder as the colladaimport14.py.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 08, 2010, 11:43:54 AM
I was wrong...

I just re-downloaded the 2.6 dist:
http://teraapi.com/collada4blender/daeImport1.1.1.zip

you should have:
'daeImport.py'
'Dom4Blender.pyd'
'MakeDisplayList.py'
in the .../.blender/scripts directory

it should work

did you download from the link I provided before?
if not, then that's your problem.


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 11, 2010, 03:47:20 PM
Sorry I'm bumping this poll up. I was really busy with something.

I still can't import a .DAE into Blender. Whenever I go to "File > Import > COLLADA 1.4 (.dae)", the message "Cannaot find folder | Please set path in file "colladaimport14.py" keeps popping up. And when I try to import it with the "Collada 1.4.1 Importer (.dae)," when I select the .dae (the one I made with the AiS, i think) and try to import it, my Blender crashes.

And I have the files Tcll mentioned in the exact folder. I don't know what I'm doing wrong.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 11, 2010, 05:09:00 PM
I may have to send you my scripts folder...
IDK what you're doing wrong that I can put my finger on...

what blender version do you use??
it should be blender 2.49 with Python 2.6 installed

what does the blender console tell you, or is that from it??
I've never heard of colladaimport14.py


Title: Re: Need some help/pointers with blender.
Post by: JordRB on August 11, 2010, 05:22:13 PM
what blender version do you use??
it should be blender 2.49 with Python 2.6 installed[/unquote]

The Blender I do have is 2.49. But the Python is actually 2.7.

Quote
I've never heard of colladaimport14.py

I found that looking for something to import .daes into Blender. I forgot where I got it, though.


Title: Re: Need some help/pointers with blender.
Post by: DarkPikachu on August 11, 2010, 05:36:39 PM
ah...
blender 249 used the 'python26' folder

I have Python25 and Python26 on my C: drive

I only use Py25 to program... :P