Universal Model Converter - beta testing

Started by DarkPikachu, December 11, 2012, 07:55:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Would you like me to hold off on releasing UMC to work on SIDE??

Yes please, an IDE like that could really help me!
4 (57.1%)
Nah, just release UMC without SIDE.
3 (42.9%)

Total Members Voted: 7

It's been a while since I last check on this, and I must say the progress is amazing. I'm glad more people have noticed your awesomeness, I'm behind you 100+%. If you need I can beta test and send over some code I found. (Don''t know if it's a language you know)
Quotethis is definatly something worth selling...
but I have a reputation to uphold, and I'm not letting it go even if it kills me :3
Lolz, good to know.
BTW I'm using a script I found for bmd and bdl file importing for 3ds max 2010. I think it reads the file structure from the BMDView2 program though, but it may reveal something about bmd and bdl's. I can send it your way if you want.
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 11, 2013, 08:26:38 PM #46 Last Edit: April 11, 2013, 10:07:47 PM by DarkPika
Quote from: toonlink444 on April 11, 2013, 07:09:59 PM
It's been a while since I last check on this, and I must say the progress is amazing. I'm glad more people have noticed your awesomeness, I'm behind you 100+%. If you need I can beta test and send over some code I found. (Don''t know if it's a language you know)
lol thanx :3
and sure :D

QuoteLolz, good to know.
BTW I'm using a script I found for bmd and bdl file importing for 3ds max 2010. I think it reads the file structure from the BMDView2 program though, but it may reveal something about bmd and bdl's. I can send it your way if you want.
sure :)
I do have a BMD, or BMD0 if you prefer, viewer... :P
it comes with NSBTX Extractor
...though I thought it had a src, but I guess not...
it's old anyways...

sure, go ahead :)

Post Merge: April 11, 2013, 08:28:59 PM

Quote from: E-scope12 on April 11, 2013, 04:02:04 PM
Will this model converter work for the game Beyond Good & Evil?
depends upon UMC's scripts...

if it doesn't support the models, you could always build a script to add support :)


EDIT:
I must also mention, I've asked some professionals about proper GL structuring for animation...
but until I get some feedback, I'm working on UMC's documentation,
which will have everything needed to get even the noobest of noobs who can't even do math started :3
all they need is will-power ;)

as an extra, the documentation will also contain info about my scrapped Auto-Dynamic Modelling system. :)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

Sorry it took a while but here. I looked at the plugin and it called a lot of side scripts so I uploaded the original download.
QuoteI do have a BMD, or BMD0 if you prefer, viewer...
it comes with NSBTX Extractor
Never heard of NSBTX Extractor, is it a tool for a game like the early brawl tools. (ASH, STASH) or a general extractor?
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 16, 2013, 12:57:15 PM #48 Last Edit: April 16, 2013, 04:24:31 PM by DarkPika
lol that's ok, thanx :)

as for NSBMD viewer (with NSBTX Extractor)...
DSX8 sent me the program...

all I know is it's a DS model viewer (I have a few models), and that the BMD(0) format is alot like the MDL0 format.


EDIT: the BTX extractor, if I'm guessing correctly, extracts the texures from btx0 archives...
I'm not sure as the models I have come with png textures...

Post Merge: April 16, 2013, 01:08:11 PM

well, as another plus, I've been working on my system for ADMs, and actually have a working bezier algorythm now :)

I'm still making minor fix-ups on it, but the system, for getting it up and running, is near complete :)

Post Merge: April 16, 2013, 03:02:17 PM

leaving this here for anyone else who'd like to get into advanced OpenGL programming:
http://nehe.gamedev.net/tutorial/vertex_buffer_objects/22002/


in truth, I'm looking into this cause IDK where to start on building an advanced dual-buffered interface with a GL-side animation buffer.

Ian simply said "It's up to you" when I asked her how I should go about structuring it...
so she's kindof no help, and I'm lost 9_6

I've sent one of the dude's over at blender forums a PM and they won't respond... as usual... 9_9

no matter... I'm sure looking over NeHe a few times will help me get an idea >_>

this stuff is ungodly hard to learn.
and BJ's "working" program, doesn't even begin to compair to this small part.
(not compairing for fame, it's comparison is for advanced works)

Post Merge: April 16, 2013, 04:24:31 PM

looks like I won't be able to DL your max-script for quite a while...
MF doesn't work right on this stupid phone.

it DL's the file as the MF DL page
(rename "*.max" to "*.htm")

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

No problem, sorry about the late reply. I guess you wont belive I was seducing girls and fighting evil. ;D Anywho the DL is in a .rar file because its actually multipul scipts that run by using a macro in the shortcut bar of max. I think that out of all of them one decodes the file format. Hopefully its a obvious name, otherwise its following the calls. When ii get to my computer ill search to see if it exists.
Now i cant fight evil on an empty stomach you know. (Ill applude if you get the reference)

p.s did you say she's kind of no help!? If so does she mod brawl also? If thats the case will you set me up?  :laugh:
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 18, 2013, 10:29:33 PM #50 Last Edit: April 18, 2013, 10:40:01 PM by DarkPika
lol I do know that reference,
but me and my stupid memory isn't making any links to it... GRRRR >_<

anyways...
no she doesn't mod brawl...
she's into "higher", or extremely complex stuff...
she does have her own website though... <_<
http://geometrian.com

EDIT: link still doesn't work...
she may be performing maintanence :/
(or it could be my connection through VTunnel)

it loads about 50% and then hangs there...

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

Quote from: DarkPika on April 18, 2013, 10:29:33 PM
lol I do know that reference,
but me and my stupid memory isn't making any links to it... GRRRR >_<
The fishmen in Wind Waker say it, game's 10/11 years old so impressive you recognized it.
Anywho, was there anything useful in the max script?
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

Quote from: toonlink444 on April 21, 2013, 02:40:53 AM
The fishmen in Wind Waker say it, game's 10/11 years old so impressive you recognized it.
Anywho, was there anything useful in the max script?
:facepalm: that's right...
how the heck did I not recall that XDD
my brother beat that game 3 times in a row just because... :srs:


anyways...
I can't DL from MF

whatever the download is, just rename it to "*.htm" and open it in your browser.
hello MF's download page for that file. :srs:

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

Meh, to much work, I manged to pull some stuff out though. It's some .DLL files along with the viewer so it should be useful. I think it was made during Project SMG 2.5 so it's very crude and basic.
Here it is: http://www.mediafire.com/?u7i591vkhaehe37
Maybe DLing will be easier this time.
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 21, 2013, 10:29:03 AM #54 Last Edit: April 21, 2013, 11:00:59 AM by DarkPika
Quote from: toonlink444 on April 21, 2013, 05:19:42 AM
Meh, to much work, I manged to pull some stuff out though. It's some .DLL files along with the viewer so it should be useful. I think it was made during Project SMG 2.5 so it's very crude and basic.
Here it is: http://www.mediafire.com/?u7i591vkhaehe37
Maybe DLing will be easier this time.
it's still MF

it's MF that has a problem with this dumb phone.
(my only means of downloading anything)


as far as I recall...
dropbox is the only one I know of that downloads the file properly
(instead of sending you the download page named as the file)


EDIT:
sure I'm on my wii through the phone's hotspot,
but gave92's wii browser is still full of bugs, and very much in development.
(it can't quite download yet)



EDIT2:
just tried DL-ing with rev27 instead of rev70...
it's more than a hastle with MF >_<

guess I'll just have to wait till he updates before I can DL from MF

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

I have a dropbox, I just prefer MF. I can upload it there though. Do you do everything on you Wii and phone?
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 21, 2013, 05:41:58 PM #56 Last Edit: April 22, 2013, 01:19:49 PM by DarkPika
Quote from: toonlink444 on April 21, 2013, 04:35:14 PM
I have a dropbox, I just prefer MF. I can upload it there though. Do you do everything on you Wii and phone?
Y U do dis
@mods: ^ feel free to replace that with the image.

and yea, pretty much...
I'm mainly on my wii cause I have a USB Kbd...
I just use the phone for download... (when I can)

it's my mother's phone :P

Post Merge: April 22, 2013, 01:19:48 PM

uugh...
I'm just geting too many new ideas for iplamentation,
and the src is completely messed up because of it... >_<

I think I'll just scrap it and start from scratch again...

buut, at least now I have a decently good idea towards the dual-sided buffer
(there's actually 3 buffers)

here's a short example of the implamentation:


#C++: typedef struct replication:
def _MdlVert(): pass
_MdlVert.x, _MdlVert.y, _MdlVert.z, _MdlVert.w = None, None, None, None

def _PTVert(): pass
_PTVert.x, _PTVert.y, _PTVert.z, _PTVert.w = None, None, None, None


#C++: struct replication:
class Vert(object):
    def __init__(self):
        self.MdlVert = None #_MdlVert
        self.PTVert = None #_PTVert
        self.dim = 4

        self.x, self.y, self.z, self.w = 0.0, 0.0, 0.0, 1.0

class Weight(object):
    def __init__(self):
        self.boneName = ""
        self.boneID = 0
        self.infl = 1.0

        self.next = None #Weight()
        self.prev = None #Weight()

class FacePoint(object):
    def __init__(self):
        self.vertID = 0
        self.normID = 0
        self.colorID = [ 0, 0 ]
        self.uvID = [ 0 ]*8
        self.weights = None #Weight()

        self.next = None #FacePoint()
        self.prev = None #FacePoint()


yes this is verts only, and a very small portion of the vert part of the buffer

all verts are pre-defined as 4D as that's how GL expects them


I'm making comparisons to C++ because I've learned NOT to let the Python interpreter handle everything dynamically.

it increases performance by alot if you define everything before using it


the only reason I still prefer python rather than learning the last 60% of C++
is because Python actually decreases the amount of code needed by about 50-60%
(meaning brbx's code could be half the size it is now, and still perform just as well)
^with the exception of NO DESIGN FLAWS AT ALL

how is this since Python IS one of the SLOWEST languages out there?
Python's bases such as PyOpenGL, NumPy, PyGame (SDL) are all written in C++, and are ported into python with the ctypes module.

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

I don't know much about Python, but it looks like you're using separate classes for each part of the verts. IMO to clean it up combine similar classes into one, and separate them with sections. Then make a class that calls all of them with conditional statements as to eliminate call code in every class. I'm assuming that you already did this from the start, but I don't know how Python works. :-\
QuoteY U do dis
Lolz, because I'm evil. >D
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

April 22, 2013, 09:22:42 PM #58 Last Edit: April 22, 2013, 10:30:46 PM by DarkPika
Quote from: toonlink444 on April 22, 2013, 05:01:58 PM
I don't know much about Python, but it looks like you're using separate classes for each part of the verts. IMO to clean it up combine similar classes into one, and separate them with sections. Then make a class that calls all of them with conditional statements as to eliminate call code in every class. I'm assuming that you already did this from the start, but I don't know how Python works. :-\Lolz, because I'm evil. >D
yea...
that last little example of mine wasn't really good for much...
there's 2 things I've corrected in the actual code...

1 using functions as demonstraited below was a bad idea, as the variables inside them (such as x,y,z,w) are global throughout any var = function call...

2 the model and PT "classes" do the exact same thing, so we just need a single "Vert" class to be added as an instance to both MdlVert and PTVert:

example:

       self.MdlVert = _Vert() #instantiate the _Vert class when this class is instanced
       self.PTVert = _Vert()


the local XYZW coords in this class are specifically for GL transfer


and that's where the 3 buffers comes in.

only 1 of the 2 model buffers  will be filled when importing.
the other will be filled with the modified data once the model is imported.
(the GL buffer gets it's data from the PT bufffer)


also...
Python is EXTREMELY simple...

it's literally JUST functions and classes at it's base, with some (very little) advanced control...

to get the advanced control for a lower level, you have to use an extension...
such as:

import array
myarray = array.array('b', [0xfe,0xff,0x80,0x20])

"myarray" is now a byte-array of u8 ints...

though now I've recently stumbled accross bytearray(), which I'm still playing with to see what it does :P

the default output looks like a string in the function:
bytearray(b'MDL0')



and ROFL



EDIT:
also...
I'm not sure of your idea about calling all of the classes with conditional statements...

I'm honestly not even sure of my own idea <_<

but, I'm getting no feedback from other sources,
and googling my answer is hard >_<

I just need something that can deliver at maximum efficiency, and be somewhat easy to manage...


also...
all of this class stuff is still quite new to me >_>


one reason I don't understand you so much on this is cause I have my own terminology developed from playing around with Python just to figure out things <_<
(I had no net to look at to learn)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

Does python have class inheritance? Because that [censored] is useful in Java.

FC: 2191-7379-6272