Home Gallery Resources The Team Rules chat Login Register
Pages:  1 2 3 [4] 5
Author Topic: Bump Maps: Possible?  (Read 20924 times)
0 Members and 1 Guest are viewing this topic.
Dantarion
Mega Kitten
*****
Offline Offline

Posts: 172

  • Awards Favorite'd Former PMDT Staff Helper

  • View Profile Awards
    « Reply #45 on: May 09, 2014, 05:07:50 PM »


    You could look at how that is implemented...are you actually able to edit Brawl's shaders?
    I'm pretty sure the only way to edit the raw shaders is to write raw opcodes.
    Logged

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #46 on: May 09, 2014, 05:10:54 PM »


    You could look at how that is implemented...are you actually able to edit Brawl's shaders?
    I'm pretty sure the only way to edit the raw shaders is to write raw opcodes.
    I don't believe BJ ever got in depth about how the TEVs work :/
    I'm still playing around with GL's FFP to figure them out... >_>

    EDIT:
    I know how specular maps work though, but don't know how to describe it...
    bump maps are like specular maps, but really that's putting it lightly...

    I'm not exactly sure just how complex bump maps are... >_>
    « Last Edit: May 09, 2014, 05:13:18 PM by Tcll » 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.

    Spex130
    Holy Kitten
    *
    Offline Offline

    Posts: 1958


    So very Spexcellent.

  • Awards Super Saiyan Topic Starstormer Hyperactive Contributor Renowned Hacker

  • View Profile Awards
    « Reply #47 on: May 09, 2014, 05:15:00 PM »


    Well, Brawlbox CAN edit shaders. It's just that most of us don't exactly know what does what.

    I'm absolutely positive that the effect can at least be replicated on a V9 MDL0.
    Logged


    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #48 on: May 09, 2014, 05:23:24 PM »


    Well, Brawlbox CAN edit shaders. It's just that most of us don't exactly know what does what.

    I'm absolutely positive that the effect can at least be replicated on a V9 MDL0.
    I know alot about the opcodes... heck I've documented them in my template. Tongue

    the algorithm is what puzzles me, as I've tried to get it working using blender nodes and failed...
    would be nice if there was a bit more documentation and a better interface... heh

    well there is a better interface, and UMC can easily be extended with it (almost, UMC's current internal model format is a knot), but the interface is a bit complex for me to deal with right now... >_>

    I'm restructuring UMC v3.0 to have extendable material classes for modern interfacing so it'll be easier to support these.
    but alas, it's yet another game of wait on my end. -.-*
    (truthfully I'm kinda bored of playing it, but I'm gaining knowledge, so I'll go another round)

    EDIT:
    btw, v9 is more than capable of NBT *glares at Brawl Giga Bowser*
    « Last Edit: May 09, 2014, 05:24:49 PM by Tcll » 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.

    Sammi Husky
    Lol Kitten
    *********
    Offline Offline

    Posts: 873


  • Awards Fiery Topic Renowned Hacker >9000 King for a Day

  • View Profile Awards
    « Reply #49 on: May 09, 2014, 05:31:58 PM »


    By opcodes i believe he was talking about the game's Assembly opcodes, unless i'm mistaken at least.

    Editing the shaders in BBox isn't editing the way the game computes lighting, it's changing what feedback the game receives from the model. In order to force the game to recognize and implement a map that it doesn't natively support you need to tell the game engine how to read and interpret the data.
    Logged

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #50 on: May 09, 2014, 05:34:04 PM »


    By opcodes i believe he was talking about the game's Assembly opcodes, unless i'm mistaken at least.

    Editing the shaders in BBox isn't editing the way the game computes lighting, it's changing what feedback the game receives from the model. In order to force the game to recognize and implement a map that it doesn't natively support you need to tell the game engine how to read and interpret the data.
    we're talking about the opcodes for the BP register, not the ASM

    open an MDL0 with my latest hexedit template and you should see what I mean Smiley

    EDIT: here's a screenshot from when I got the TEV's working properly:

    ^link to larger image

    EDIT2:
    please tell me if I havn't released this Wink
    I think I have though <_<
    « Last Edit: December 01, 2019, 05:53:42 PM by DarkPikachu » 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.

    Sammi Husky
    Lol Kitten
    *********
    Offline Offline

    Posts: 873


  • Awards Fiery Topic Renowned Hacker >9000 King for a Day

  • View Profile Awards
    « Reply #51 on: May 09, 2014, 05:43:18 PM »


    ah i see, i don't know jack about that sorta thing xD hahaha.
    Logged

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #52 on: May 09, 2014, 08:03:27 PM »


    ah i see, i don't know jack about that sorta thing xD hahaha.
    XD
    wanna learn?? :3

    only problem though is where to start if so... >.>
    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.

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #53 on: May 09, 2014, 08:52:47 PM »


    dx8
    dont u have the other m models in mdlo format?
    we can extract em from there
    about mariokart's stuff:
    ive heard its a little glitchy in the lighting
    and to make emboss maps out of normal maps is a [censored]
    also, didnt u say somewhere that u had some lights in the subway stage using 4 different maps?
    hah yeah.. Other M uses emboss maps as normal maps since thats what they normally are..

    and yeah, the subway stage from Mortal Kombat 9 uses diffuse, spec and normal maps (along with some that uses luminance maps too)
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #54 on: May 11, 2014, 12:01:25 PM »


    I just remembered, the Nintendo Gamecube Tech Demo has a stone-gem pillar spiral-staircase where the gems are normal mapped.
    I'm not sure if it uses normal maps or emboss maps though >_>
    (I'm sending the file to my compy as I type this)
    ^my brother currently has my games HDD Tongue
    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.

    Velen
    Resident Lucario
    Boss Kitten
    ****
    Offline Offline

    Posts: 4261


    Insert totally self gratifying [censored] here. ; )

  • Awards Famous Hacker Sniper Heart Container Ceiling Cat

  • View Profile Awards
    « Reply #55 on: May 11, 2014, 12:26:14 PM »


    I looked up the Gamecube Tech Demo on Youtube and found it. The spiral staircase uses bump and shadow, not necessarily Normal Maps (at least it's not named as such). So it might be. Found it a bit interesting though.
    Logged


    3DS Friend Code: 2895-6640-9302

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #56 on: May 11, 2014, 01:41:30 PM »


    just extracted the ISO, the NDM files are the models, and have quite a few similar structures, as well as the data is actually named (strings exist in the data).

    I should have a HexEdit template out for these in a few days Tongue
    (unless I continue working on UMC which is likely)

    EDIT:
    also just about cracked the very simple DTX texture files.
    the header is only 16 bytes, and the rest of the file is just the data

    EDIT2: OT:
    just now decided to look in the audio folder and found an H file containing:
    Code:
    //
    // C/C++ MusyX Defines Include
    // Generated by DolphinExport 11:45:08 6/5/2001
    //


    #define GRPGM_Set 0
    #define GRPSFXgroup 1


    #define SNGgcdemo 0
    #define SNGentrance 1
    #define SNGdome 2
    #define SNGspiral 3
    #define SNGhangar 4
    #define SNGcave 5
    #define SNGcinema 6
    #define SNGmetal 7
    #define SNGcoins 8


    #define SFXjump_oneshot 0
    #define SFXknock_oneshot 1
    #define SFXdoor_oneshot 2
    #define SFXcoin_oneshot 3


    I wonder if it's actually used, or if it's there for educational purposes
    « Last Edit: May 11, 2014, 02:21:37 PM by Tcll » 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.

    Velen
    Resident Lucario
    Boss Kitten
    ****
    Offline Offline

    Posts: 4261


    Insert totally self gratifying [censored] here. ; )

  • Awards Famous Hacker Sniper Heart Container Ceiling Cat

  • View Profile Awards
    « Reply #57 on: May 11, 2014, 02:45:00 PM »


    just extracted the ISO, the NDM files are the models, and have quite a few similar structures, as well as the data is actually named (strings exist in the data).

    I should have a HexEdit template out for these in a few days Tongue
    (unless I continue working on UMC which is likely)

    EDIT:
    also just about cracked the very simple DTX texture files.
    the header is only 16 bytes, and the rest of the file is just the data

    EDIT2: OT:
    just now decided to look in the audio folder and found an H file containing:
    Code:
    //
    // C/C++ MusyX Defines Include
    // Generated by DolphinExport 11:45:08 6/5/2001
    //


    #define GRPGM_Set 0
    #define GRPSFXgroup 1


    #define SNGgcdemo 0
    #define SNGentrance 1
    #define SNGdome 2
    #define SNGspiral 3
    #define SNGhangar 4
    #define SNGcave 5
    #define SNGcinema 6
    #define SNGmetal 7
    #define SNGcoins 8


    #define SFXjump_oneshot 0
    #define SFXknock_oneshot 1
    #define SFXdoor_oneshot 2
    #define SFXcoin_oneshot 3


    I wonder if it's actually used, or if it's there for educational purposes

    NDM sounds like a proprietary file format for the Gamecube's hardware to me.
    Logged


    3DS Friend Code: 2895-6640-9302

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #58 on: May 11, 2014, 02:50:08 PM »


    NDM sounds like a proprietary file format for the Gamecube's hardware to me.
    I'm thinking ND Model
    the game's name is "ND Demo" Tongue

    there's also associate BGH and MCD formats for the NDM

    not sure which is the priority format is though
    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.

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #59 on: May 16, 2014, 06:53:30 PM »


    quote:
    I envy you... lol

    anyways, not just ncrease what we can do, but more show the power of what the Wii can do.

    I wanna try to get Brawl to support the v11 MDL0 format so I can actually give Pika his fur. Tongue

    normal mapping can be used to make his eyes look better and so on...
    (I don't have to explain everything, use your imagination) Tongue

    my knowledge from this also comes from Nexuiz

    I'm just a little curious if the wii could actually support depth sampling
    I forget the term honestly, here's what I mean: (look at the walls and the floor)


    I used to have a GL sample that made a floor look like gold bricks...
    I think it was called oversampling or something...

    Parallax Occlusion, that's what I was thinking of >.<

    decided to re-look into PyStream (now that I'm getting into GLSL) and stumbled across that in this:
    https://www.ideals.illinois.edu/bitstream/handle/2142/16886/Bray_Nicholas.pdf?sequence=1
    I wanna try see if the wii can be made to do that. Smiley
    « Last Edit: December 01, 2019, 05:55:45 PM by DarkPikachu » 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.

    Pages:  1 2 3 [4] 5
    Print
    Jump to: