Home Gallery Resources The Team Rules chat Login Register
Pages:  1 ... 143 144 145 [146] 147 148 149 ... 1046
Author Topic: Brawlbox Resources & History  (Read 4507362 times)
0 Members and 2 Guests are viewing this topic.
BlackJax96
Brawl Mod God
Moderator
****
Offline Offline

Posts: 4612


  • Awards KCMM Veteran Sniper King for a Day Featured

  • View Profile Awards
    « Reply #2175 on: July 19, 2011, 01:13:11 PM »


    Oh. So once the model rebuilder is finished, any model we get we can turn into a .mdl0?

    Yeah, as long as someone who knows C# is willing to create a parser for the formats you want.
    Mostly any model can be converted into a dae though, as long as it isn't in an obscure or unknown format.
    Logged

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #2176 on: July 19, 2011, 01:24:52 PM »


    well... I'm makin progress, but I still need to work out a few kinks >_>



    working on transforms
    Logged


    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.

    KingJigglypuff
    Meme Machine
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 7208


  • Awards RAGE!! >9000 Hyperactive Contributor Heart Container

  • View Profile Awards
    « Reply #2177 on: July 19, 2011, 01:29:56 PM »


    Yeah, as long as someone who knows C# is willing to create a parser for the formats you want.
    Mostly any model can be converted into a dae though, as long as it isn't in an obscure or unknown format.
    Is .dat obscure or unknown?

    well... I'm makin progress, but I still need to work out a few kinks >_>



    working on transforms
    What is that?
    Logged

    I don't take requests.

    My PSA Thread

    BlackJax96
    Brawl Mod God
    Moderator
    ****
    Offline Offline

    Posts: 4612


  • Awards KCMM Veteran Sniper King for a Day Featured

  • View Profile Awards
    « Reply #2178 on: July 19, 2011, 01:34:26 PM »


    Is .dat obscure or unknown?

    Kind of both.
    Logged

    xxmasal22xx
    Holy Kitten
    *
    Offline Offline

    Posts: 1357


    The epic importer

  • Awards Fiery Topic Dedicated Hacker KCMM Veteran Heart Container

  • View Profile WWW Awards
    « Reply #2179 on: July 19, 2011, 01:46:43 PM »


    What is that?

    That is Pichu my friend.
    Logged

    By the way, I think every active hacker in this forum could use less distractions.

    MEMORABLE QUOTES:
    Quote
    Tcll:  I <3 69
    Quote
    xxmasal22xx: Hey, you should probably go to the hop[censored]al
    Quote
    BlackJax96: everything is so ROUND

    [SPOILERED. Reason: Whole signature size must be under 250px.]

    Join my website, Brawl Imports, a gathering place for importers!
    http://brawlimports.proboards.com/index.cgi

    Support Project Darkrai? Put the official Project Darkrai banner in your siggy!
    [PICTURE REMOVED. Reason: Total signature pic size exceeds 695x200.]


    KingJigglypuff
    Meme Machine
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 7208


  • Awards RAGE!! >9000 Hyperactive Contributor Heart Container

  • View Profile Awards
    « Reply #2180 on: July 19, 2011, 01:51:29 PM »


    Kind of both.
    Oh. Well that stinks.

    That is Pichu my friend.
    Really?
    Logged

    I don't take requests.

    My PSA Thread

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #2181 on: July 19, 2011, 01:55:48 PM »


     Really?
    yes really

    I wasn't lying when I said I'd be the one to put Pichu in brawl >:)
    Logged


    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.

    KingJigglypuff
    Meme Machine
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 7208


  • Awards RAGE!! >9000 Hyperactive Contributor Heart Container

  • View Profile Awards
    « Reply #2182 on: July 19, 2011, 01:57:43 PM »


    yes really

    I wasn't lying when I said I'd be the one to put Pichu in brawl >Smiley
    Woot! Awesome Face Pichu FTW!
    ...
    Are you going to try Mewtwo?
    Logged

    I don't take requests.

    My PSA Thread

    DoctorFlux(Mariodk)
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9387


  • Awards Infinite Smash Team Heart Container KCMM 2012 Awards Winner >9000

  • View Profile Awards
    « Reply #2183 on: July 19, 2011, 02:06:08 PM »


    and Dr. mario?
    Logged

    I Dont Take Requests & Dont Do Brawl Mods anymore Maybe Sm4sh modz later

    SonicBrawler
    Magical Girl
    Overlord Kitten
    ******
    Offline Offline

    Posts: 6977


    Bae

  • Awards Star Hacker Active Contributor Renowned Hacker Heart Container

  • View Profile WWW Awards
    « Reply #2184 on: July 19, 2011, 02:20:27 PM »


    and *insert character here that everyone wants but cant get yet*
    Logged

    Quotes:
    Not all people have the luxury of being able to buy things whenever they want.

    Some people are barely scraping by in the economy.
    Modding has made you guys so spoiled.

    Roo
    Lol Kitten
    *********
    Offline Offline

    Posts: 785


    Or WAS I?

  • Awards Fiery Topic Heart Container

  • View Profile Awards
    « Reply #2185 on: July 19, 2011, 02:48:31 PM »


    And Flan-chan? Awesome Face
    Logged

    DoctorFlux(Mariodk)
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9387


  • Awards Infinite Smash Team Heart Container KCMM 2012 Awards Winner >9000

  • View Profile Awards
    « Reply #2186 on: July 19, 2011, 02:53:07 PM »


    and my avvy? Gotenks lol

    ok lets stop spam i was just asking tcll for he was also working on melee dr. mario
    Logged

    I Dont Take Requests & Dont Do Brawl Mods anymore Maybe Sm4sh modz later

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #2187 on: July 19, 2011, 03:38:03 PM »


    I'm working on all the melee models...

    IK what the prob is btw...

    the matrix provided is the inverse bind matrix...
    so to get the correct values, I need to inverse the matrix...

    I've got a complicated converter that does it already: (it's 4x4, but works with 4x3)
    here's the main function for it (what does the calculations)
    function calcResult(input)
    {//inputs
     l[0] = input.m11.value;
     l[1] = input.m12.value;
     l[2] = input.m13.value;
     l[3] = input.m14.value;
     l[4] = input.m21.value;
     l[5] = input.m22.value;
     l[6] = input.m23.value;
     l[7] = input.m24.value;
     l[8] = input.m31.value;
     l[9] = input.m32.value;
     l[10] = input.m33.value;
     l[11] = input.m34.value;
     l[12] = input.m41.value;
     l[13] = input.m42.value;
     l[14] = input.m43.value;
     l[15] = input.m44.value;
     
     det =
     l[3]*l[6]*l[9]*l[12]  - l[2]*l[7]*l[9]*l[12] - l[3]*l[5]*l[10]*l[12] + l[1]*l[7]*l[10]*l[12] + l[2]*l[5]*l[11]*l[12] - l[1]*l[6]*l[11]*l[12] -
     l[3]*l[6]*l[8]*l[13]  + l[2]*l[7]*l[8]*l[13] + l[3]*l[4]*l[10]*l[13] - l[0]*l[7]*l[10]*l[13] - l[2]*l[4]*l[11]*l[13] + l[0]*l[6]*l[11]*l[13] +
     l[3]*l[5]*l[8]*l[14]  - l[1]*l[7]*l[8]*l[14] - l[3]*l[4]*l[9]*l[14]  + l[0]*l[7]*l[9]*l[14]  + l[1]*l[4]*l[11]*l[14] - l[0]*l[5]*l[11]*l[14] -
     l[2]*l[5]*l[8]*l[15]  + l[1]*l[6]*l[8]*l[15] + l[2]*l[4]*l[9]*l[15]  - l[0]*l[6]*l[9]*l[15]  - l[1]*l[4]*l[10]*l[15] + l[0]*l[5]*l[10]*l[15]
     
     if (det == 0) {
       input.result.value = "det=zero";
       return;
     }
     input.result.value = "done";

       input.m11.value = ( l[6]*l[11]*l[13] - l[7]*l[10]*l[13] + l[7]*l[9]*l[14] - l[5]*l[11]*l[14] - l[6]*l[9]*l[15] + l[5]*l[10]*l[15])/det;
       input.m12.value = ( l[3]*l[10]*l[13] - l[2]*l[11]*l[13] - l[3]*l[9]*l[14] + l[1]*l[11]*l[14] + l[2]*l[9]*l[15] - l[1]*l[10]*l[15])/det;
       input.m13.value = ( l[2]*l[7]*l[13]  - l[3]*l[6]*l[13]  + l[3]*l[5]*l[14] - l[1]*l[7]*l[14]  - l[2]*l[5]*l[15] + l[1]*l[6]*l[15])/det;
       input.m14.value = ( l[3]*l[6]*l[9]   - l[2]*l[7]*l[9]   - l[3]*l[5]*l[10] + l[1]*l[7]*l[10]  + l[2]*l[5]*l[11] - l[1]*l[6]*l[11])/det;
       input.m21.value = ( l[7]*l[10]*l[12] - l[6]*l[11]*l[12] - l[7]*l[8]*l[14] + l[4]*l[11]*l[14] + l[6]*l[8]*l[15] - l[4]*l[10]*l[15])/det;
       input.m22.value = ( l[2]*l[11]*l[12] - l[3]*l[10]*l[12] + l[3]*l[8]*l[14] - l[0]*l[11]*l[14] - l[2]*l[8]*l[15] + l[0]*l[10]*l[15])/det;
       input.m23.value = ( l[3]*l[6]*l[12]  - l[2]*l[7]*l[12]  - l[3]*l[4]*l[14] + l[0]*l[7]*l[14]  + l[2]*l[4]*l[15] - l[0]*l[6]*l[15])/det;
       input.m24.value = ( l[2]*l[7]*l[8]   - l[3]*l[6]*l[8]   + l[3]*l[4]*l[10] - l[0]*l[7]*l[10]  - l[2]*l[4]*l[11] + l[0]*l[6]*l[11])/det;
       input.m31.value = ( l[5]*l[11]*l[12] - l[7]*l[9]*l[12]  + l[7]*l[8]*l[13] - l[4]*l[11]*l[13] - l[5]*l[8]*l[15] + l[4]*l[9]*l[15])/det;
       input.m32.value = ( l[3]*l[9]*l[12]  - l[1]*l[11]*l[12] - l[3]*l[8]*l[13] + l[0]*l[11]*l[13] + l[1]*l[8]*l[15] - l[0]*l[9]*l[15])/det;
       input.m33.value = ( l[1]*l[7]*l[12]  - l[3]*l[5]*l[12]  + l[3]*l[4]*l[13] - l[0]*l[7]*l[13]  - l[1]*l[4]*l[15] + l[0]*l[5]*l[15])/det;
       input.m34.value = ( l[3]*l[5]*l[8]   - l[1]*l[7]*l[8]   - l[3]*l[4]*l[9]  + l[0]*l[7]*l[9]   + l[1]*l[4]*l[11] - l[0]*l[5]*l[11])/det;
       input.m41.value = ( l[6]*l[9]*l[12]  - l[5]*l[10]*l[12] - l[6]*l[8]*l[13] + l[4]*l[10]*l[13] + l[5]*l[8]*l[14] - l[4]*l[9]*l[14])/det;
       input.m42.value = ( l[1]*l[10]*l[12] - l[2]*l[9]*l[12]  + l[2]*l[8]*l[13] - l[0]*l[10]*l[13] - l[1]*l[8]*l[14] + l[0]*l[9]*l[14])/det;
       input.m43.value = ( l[2]*l[5]*l[12]  - l[1]*l[6]*l[12]  - l[2]*l[4]*l[13] + l[0]*l[6]*l[13]  + l[1]*l[4]*l[14] - l[0]*l[5]*l[14])/det;
       input.m44.value = ( l[1]*l[6]*l[8]   - l[2]*l[5]*l[8]   + l[2]*l[4]*l[9]  - l[0]*l[6]*l[9]   - l[1]*l[4]*l[10] + l[0]*l[5]*l[10])/det;
    }

    function back(input)
    {
     input.m11.value = l[0];
     input.m12.value = l[1];
     input.m13.value = l[2];
     input.m14.value = l[3];
     input.m21.value = l[4];
     input.m22.value = l[5];
     input.m23.value = l[6];
     input.m24.value = l[7];
     input.m31.value = l[8];
     input.m32.value = l[9];
     input.m33.value = l[10];
     input.m34.value = l[11];
     input.m41.value = l[12];
     input.m42.value = l[13];
     input.m43.value = l[14];
     input.m44.value = l[15];
    }
    Logged


    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.

    BlackJax96
    Brawl Mod God
    Moderator
    ****
    Offline Offline

    Posts: 4612


  • Awards KCMM Veteran Sniper King for a Day Featured

  • View Profile Awards
    « Reply #2188 on: July 19, 2011, 04:01:53 PM »


    function calcResult(input)
    {//inputs
     l[0] = input.m11.value;
     l[1] = input.m12.value;
     l[2] = input.m13.value;
     l[3] = input.m14.value;
     l[4] = input.m21.value;
     l[5] = input.m22.value;
     l[6] = input.m23.value;
     l[7] = input.m24.value;
     l[8] = input.m31.value;
     l[9] = input.m32.value;
     l[10] = input.m33.value;
     l[11] = input.m34.value;
     l[12] = input.m41.value;
     l[13] = input.m42.value;
     l[14] = input.m43.value;
     l[15] = input.m44.value;
     
     det =
     l[3]*l[6]*l[9]*l[12]  - l[2]*l[7]*l[9]*l[12] - l[3]*l[5]*l[10]*l[12] + l[1]*l[7]*l[10]*l[12] + l[2]*l[5]*l[11]*l[12] - l[1]*l[6]*l[11]*l[12] -
     l[3]*l[6]*l[8]*l[13]  + l[2]*l[7]*l[8]*l[13] + l[3]*l[4]*l[10]*l[13] - l[0]*l[7]*l[10]*l[13] - l[2]*l[4]*l[11]*l[13] + l[0]*l[6]*l[11]*l[13] +
     l[3]*l[5]*l[8]*l[14]  - l[1]*l[7]*l[8]*l[14] - l[3]*l[4]*l[9]*l[14]  + l[0]*l[7]*l[9]*l[14]  + l[1]*l[4]*l[11]*l[14] - l[0]*l[5]*l[11]*l[14] -
     l[2]*l[5]*l[8]*l[15]  + l[1]*l[6]*l[8]*l[15] + l[2]*l[4]*l[9]*l[15]  - l[0]*l[6]*l[9]*l[15]  - l[1]*l[4]*l[10]*l[15] + l[0]*l[5]*l[10]*l[15]
     
     if (det == 0) {
       input.result.value = "det=zero";
       return;
     }
     input.result.value = "done";

       input.m11.value = ( l[6]*l[11]*l[13] - l[7]*l[10]*l[13] + l[7]*l[9]*l[14] - l[5]*l[11]*l[14] - l[6]*l[9]*l[15] + l[5]*l[10]*l[15])/det;
       input.m12.value = ( l[3]*l[10]*l[13] - l[2]*l[11]*l[13] - l[3]*l[9]*l[14] + l[1]*l[11]*l[14] + l[2]*l[9]*l[15] - l[1]*l[10]*l[15])/det;
       input.m13.value = ( l[2]*l[7]*l[13]  - l[3]*l[6]*l[13]  + l[3]*l[5]*l[14] - l[1]*l[7]*l[14]  - l[2]*l[5]*l[15] + l[1]*l[6]*l[15])/det;
       input.m14.value = ( l[3]*l[6]*l[9]   - l[2]*l[7]*l[9]   - l[3]*l[5]*l[10] + l[1]*l[7]*l[10]  + l[2]*l[5]*l[11] - l[1]*l[6]*l[11])/det;
       input.m21.value = ( l[7]*l[10]*l[12] - l[6]*l[11]*l[12] - l[7]*l[8]*l[14] + l[4]*l[11]*l[14] + l[6]*l[8]*l[15] - l[4]*l[10]*l[15])/det;
       input.m22.value = ( l[2]*l[11]*l[12] - l[3]*l[10]*l[12] + l[3]*l[8]*l[14] - l[0]*l[11]*l[14] - l[2]*l[8]*l[15] + l[0]*l[10]*l[15])/det;
       input.m23.value = ( l[3]*l[6]*l[12]  - l[2]*l[7]*l[12]  - l[3]*l[4]*l[14] + l[0]*l[7]*l[14]  + l[2]*l[4]*l[15] - l[0]*l[6]*l[15])/det;
       input.m24.value = ( l[2]*l[7]*l[8]   - l[3]*l[6]*l[8]   + l[3]*l[4]*l[10] - l[0]*l[7]*l[10]  - l[2]*l[4]*l[11] + l[0]*l[6]*l[11])/det;
       input.m31.value = ( l[5]*l[11]*l[12] - l[7]*l[9]*l[12]  + l[7]*l[8]*l[13] - l[4]*l[11]*l[13] - l[5]*l[8]*l[15] + l[4]*l[9]*l[15])/det;
       input.m32.value = ( l[3]*l[9]*l[12]  - l[1]*l[11]*l[12] - l[3]*l[8]*l[13] + l[0]*l[11]*l[13] + l[1]*l[8]*l[15] - l[0]*l[9]*l[15])/det;
       input.m33.value = ( l[1]*l[7]*l[12]  - l[3]*l[5]*l[12]  + l[3]*l[4]*l[13] - l[0]*l[7]*l[13]  - l[1]*l[4]*l[15] + l[0]*l[5]*l[15])/det;
       input.m34.value = ( l[3]*l[5]*l[8]   - l[1]*l[7]*l[8]   - l[3]*l[4]*l[9]  + l[0]*l[7]*l[9]   + l[1]*l[4]*l[11] - l[0]*l[5]*l[11])/det;
       input.m41.value = ( l[6]*l[9]*l[12]  - l[5]*l[10]*l[12] - l[6]*l[8]*l[13] + l[4]*l[10]*l[13] + l[5]*l[8]*l[14] - l[4]*l[9]*l[14])/det;
       input.m42.value = ( l[1]*l[10]*l[12] - l[2]*l[9]*l[12]  + l[2]*l[8]*l[13] - l[0]*l[10]*l[13] - l[1]*l[8]*l[14] + l[0]*l[9]*l[14])/det;
       input.m43.value = ( l[2]*l[5]*l[12]  - l[1]*l[6]*l[12]  - l[2]*l[4]*l[13] + l[0]*l[6]*l[13]  + l[1]*l[4]*l[14] - l[0]*l[5]*l[14])/det;
       input.m44.value = ( l[1]*l[6]*l[8]   - l[2]*l[5]*l[8]   + l[2]*l[4]*l[9]  - l[0]*l[6]*l[9]   - l[1]*l[4]*l[10] + l[0]*l[5]*l[10])/det;
    }

    function back(input)
    {
     input.m11.value = l[0];
     input.m12.value = l[1];
     input.m13.value = l[2];
     input.m14.value = l[3];
     input.m21.value = l[4];
     input.m22.value = l[5];
     input.m23.value = l[6];
     input.m24.value = l[7];
     input.m31.value = l[8];
     input.m32.value = l[9];
     input.m33.value = l[10];
     input.m34.value = l[11];
     input.m41.value = l[12];
     input.m42.value = l[13];
     input.m43.value = l[14];
     input.m44.value = l[15];
    }

    I would like to take this moment to welcome everyone to the wonderful world of programming. Awesome Face
    Logged

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1472


    DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « Reply #2189 on: July 19, 2011, 04:36:44 PM »


    I can't really tell what's going on in there, being clueless about model formats.
    However, I appreciate the difficulty of the task.
    Good luck on flushing all the bugs out!
    Logged


    FC: 2191-7379-6272

    Pages:  1 ... 143 144 145 [146] 147 148 149 ... 1046
    Print
    Jump to: