collapse

Author Topic: NormalMapping Demonstration + Tutorial  (Read 2181 times)

Offline [archive] |warrior|$hacaR

  • Ancillus
  • ***
  • Posts: 240
Re: NormalMapping Demonstration + Tutorial
« on: April 07, 2010, 09:59:00 PM »
  • Best Answer
  •                 Hey community !
     since i finally figured out more or less everything
     about normal maps in Vampire The Masquerade Bloodlines,
     i decided to create a small demonstration video to show
     what normal maps can do.
     Here a small screenshot to get into the right feeling:
     http://img297.imageshack.us/img297/7152/vampire2010040801504214.jpg
     
     I had to find out, that adding normal maps or ref or env maps
     is soooooooooooooooo easy, that i could punch myself for not finding
     out about it earlier. But for that, there will be a small tutorial soon.
     
     Well.. here is my small demonstration video with some explanations:
     
    ">

     its in HD quality, and i recomend you to watch it in HD, to see everything
     a bit more clearer wink .
     So, here is the test version for everyone from this gangrel model:
     http://ul.to/8nd73h
     just extract it here:
     vampire/materials/models/character/pc/male/gangrel
     i really want you guys to try it when you are playing as a gangrel atm.
     It really feels good wink
     
     So, cu all soon. Greez ShacaR
     
     
     HERE IS THE NORMAL MAP TUTORIAL (written form)
     
     1. Ok, so before we start with anything, make sure you got the following for the tutorial:
     - VPK tool (get it here)
     - a programm to create normalmaps. I recomend a GIMP plugin (get it here)
     - a patched version of VTMB (get the 6.9 patch here)
     - a tga to dds converter (get it here for gimp)
     
     2. Now we just look at the model, we gonna add a normal map and a ref map in its basic form.
     front view: click here
     back view: click here
     
     3. As you can see, i decided to normalmap a toreador model. Its his heavy cloth status as far as i can remember.
     So... just go to vampire/materials/models... as u can see it here
     
     4. You copy those 2 files (the ttz and the tth) to a new folder. For example on your desktop.
     
     5. so, what we gonna do now, is very simple but important.
     We copy that tth file now and past it 2 times. One time we name it _normal and one time _ref at the end. Now we use the VPK tool, to convert the one ttz file we only got to a tga.
     It has to look like that now !
     
     6. A tga file can be opened with GIMP, so, lets do that. It will look like that now.
     
     7. This is the moment to give it a normalmap via our plugin. Look here for the values i used.
     
     8. Ok, but we have to be careful a bit. We dont want everything to be normalmapped. Thats why i cut out the parts i dont want to shine.
     For example his hands, his trousers and so on. ONLY the jacket. Look here !
     For our ref map, we just take the standar skin again and colour all the part we dont want to shine with black. Here is my result.
     
     9. The correct saving of all those 2 new textures ( the normal and the ref map) is very ver y important.
     so, we save it like this: normal and ref
     ofc you have to move those dds files now to their tth files. it will look like that here.
     This is soooo imporant, because the VPK tool can only convert dds files to ttz ones, if there is a correct named tth file in the same folder as the dds.
     so, after converting my dds files to ttz ones, the whole thing will look like this screenshot.
     
     10. So, we are coming to the end happy . You take now the new tth and ttz files and move them to your old folder, which you can see in Step 3.
     So, you have now 7 files in it. 3 tth, 3 ttz and 1 VMT. And that vmt is very important in the next step.
     
     11. We need to edit the VMT now. The VMT tells the engine, which files to upload. Open it with the editor (every computer has it)
     So, this is how the standard VMT looks like.
     We will edit that scipt now a bit, so that it looks like that now.
     This is the modified script, you can ALWAYS USE: (ofc you have to put in the correct names)
     
     
    "VertexLitGeneric"
     {
        "$baseTexture" "models/character/pc/x/x/armorx/x"
             "$bumpmap" "models\character\pc\x\x\armorx\x_normal"
             "$normalmapalphaenvmapmask" "1"
             "$envmapmode" "0"
             "$envmap"   "envmap\asylum"
             //"$envmapmask"   "models\character\pc\x\x\armorx\x_ref"
             //"$envmap" "env_cubemap"
     }

     
     12. CONGRATZ !! YOU ARE DONE !
     here are my results:
     front
     back
     you can download my toreador amror2 here: download
     
     
     by $hacaR
     
     for a person, who already made some experiences in skinning, this tutorial is pretty easy.
     If you are completly new to skins and textures, pls read the basic tutorial about reskinning
     on the page, where you can download the VPK tool.
     
     HERE IS THE VIDEO TUTORIAL: (Full HD)
     
    ">

     
     i strongly recomend every1 to watch the video tut and also look at my written tutorial.
     as a total beginner, you will need that. As some1, who is already used to reskinning,
     a small look at the scripting is enough =)
     Have fun with it!                        

     

    -----signature-----
               !! Bloodlines Mod-Page: CN !!
     http://www.wix.com/ShacaR/carpenoctem
       
                                                      

    Offline [archive] burgermeister01

    • Ancillus
    • ***
    • Posts: 216
    Re: NormalMapping Demonstration + Tutorial
    « Reply #1 on: April 07, 2010, 11:53:00 PM »
  • Best Answer
  •                 Cool vid, and looking forward to the official tutorial!
     
     When we were speaking the other day, you mentioned that normalmapping, besides giving reflective properties to a surface, could also emulate higher levels of detail on a surface. I'd be interested in learning / seeing more of that as well.
     
     Thanks, again!
     
     BM01                        

     

                                                      

    Offline [archive] Signothorn

    • Antediluvian
    • *****
    • Posts: 3472
    Re: NormalMapping Demonstration + Tutorial
    « Reply #2 on: April 08, 2010, 12:28:00 AM »
  • Best Answer
  •                 Hey, we're really looking for video tutorials for the Bloodlines area of the site, mind if we add them when you're finished? We'll have Dheu's pretty thorough tutorial as we had before (thanks Dheu) but video is also helpful for those of us who learn more visually. The Redemption area will have tons of video tutorials by Jav so it's kinda something we're trying to do.
     
     Thanks for the site plug in the video btw cool                        

     

                                                      

    Offline [archive] Signothorn

    • Antediluvian
    • *****
    • Posts: 3472
    Re: NormalMapping Demonstration + Tutorial
    « Reply #3 on: April 08, 2010, 12:51:00 AM »
  • Best Answer
  •                 I put it on the front page, we're just posting articles in the order we receive the news so it's on top. I'm not a modder, especially with Bloodlines so I don't have a complete understanding of everything you'll be covering with your tutorials so forgive me if I could have phrased the news article better. If I should word something a little differently, just let me know and I'll edit it, no prob. Thanks grin                        

     

                                                      

    Offline [archive] |warrior|$hacaR

    • Ancillus
    • ***
    • Posts: 240
    Re: NormalMapping Demonstration + Tutorial
    « Reply #4 on: April 08, 2010, 08:24:00 AM »
  • Best Answer
  •                 hey guys =)
     thank you very much first of all =)
     ok, my tutorial will be in written form but also as a video tutorial (on youtube)
     i will also teach how to add stuff like more details via normalmapping wink
     stay tuned grin , the tutorials will be finished very soon.                        

     

    -----signature-----
               !! Bloodlines Mod-Page: CN !!
     http://www.wix.com/ShacaR/carpenoctem
       
                                                      

    Offline [archive] Mv.c9

    • Antediluvian
    • *****
    • Posts: 500
    Re: NormalMapping Demonstration + Tutorial
    « Reply #5 on: April 08, 2010, 10:00:00 AM »
  • Best Answer
  •                 i sent you pm on ModDB. please check it out.                        

     

    -----signature-----
               "Don't argue with Idiots . . . They will bring you Down to their level and beat you with Experience !"
     ...
     ---
     Current Projects: Bloodlines Antitribu: (VTMB Mod)
     http://www.moddb.com/mods/bloodlines-antitribu    
                                                      

    Offline [archive] |warrior|$hacaR

    • Ancillus
    • ***
    • Posts: 240
    Re: NormalMapping Demonstration + Tutorial
    « Reply #6 on: April 08, 2010, 12:17:00 PM »
  • Best Answer
  •                 the written tutorials is there wink
     the video will be finished very soon.
     Ofc you can use the tutorial then signothorn =) i got no prob with that wink                        

     

    -----signature-----
               !! Bloodlines Mod-Page: CN !!
     http://www.wix.com/ShacaR/carpenoctem
       
                                                      

    Offline [archive] |warrior|$hacaR

    • Ancillus
    • ***
    • Posts: 240
    Re: NormalMapping Demonstration + Tutorial
    « Reply #7 on: April 10, 2010, 07:06:00 AM »
  • Best Answer
  •                 ok. hurray grin  the video tutorial is dont.
     Here is the link to the FULL HD (1080p) video:
     
    ">

     
     this is the general part, and the more deeply going part
     about how to actually create those normalmaps with GIMP
     and how to add more details, will follow soon =)                        

     

    -----signature-----
               !! Bloodlines Mod-Page: CN !!
     http://www.wix.com/ShacaR/carpenoctem
       
                                                      

    Offline [archive] burgermeister01

    • Ancillus
    • ***
    • Posts: 216
    Re: NormalMapping Demonstration + Tutorial
    « Reply #8 on: April 10, 2010, 03:07:00 PM »
  • Best Answer
  •                 Wow, a lot of this is looking familiar from the time I made a couple of textures for Left 4 Dead. You should seriously consider looking into that more, and see if any of the knowledge can be transferred over to Vampire. If you want to look at my VMT files from L4D, just let me know.                        

     

                                                      

    Offline [archive] |warrior|$hacaR

    • Ancillus
    • ***
    • Posts: 240
    NormalMapping Demonstration + Tutorial
    « Reply #9 on: April 10, 2010, 10:29:00 PM »
                    @burgermeister: i will look into the l4d2 textures soon =)
     
     oh, and there will follow a very detailed tutorial on how to actually create such a normalmap,
     using the gimp plugins.
     I know, that beginners will have problems with all the converting and stuff, but no worries, after
     some time just looking at stuff, you will get better at it.
     A very training, is to complete such a reskinning tutorial !
     cu all very soon wink                        

     

    -----signature-----
               !! Bloodlines Mod-Page: CN !!
     http://www.wix.com/ShacaR/carpenoctem