GRUPA STEAM
Blender Tutorial Community BlenderTuts
GRUPA STEAM
Blender Tutorial Community BlenderTuts
16
W GRZE
180
ONLINE
Założona
16 października 2012
Język
Angielski
Położenie
United States 
Wszystkie dyskusje > Dota 2 Modeling > Szczegóły wątku
Texture not appearing properly
hello Guys,
I followed Helljumper's tutorial on 3d modelling. My texture is not showing properly and although the model is assigned to the correct bone it is not appearing there

1.It is assing to Lowerarm bones of both hands of the scout, the model is an armband.
2.Instead of the texture, white color is appearing.(its team colored)

Pics - http://i.imgur.com/apeMO.jpg
< >
Wyświetlanie 1-9 z 9 komentarzy
HellJumper 6 listopada 2012 o 17:49 
Just from looking at this I think your problem lies in your vmt file-- specifically I think your vmt is set up to use paint, but at the same time your vtf isn't. Thus it shows up like that in-game.

Just to be sure, try using the simplest possible vmt file:
Code:

"VertexlitGeneric" { "$basetexture" "texture_path" }


For the positioning, you must have incorrectly assigned it to the bones.
Ryder #I AM DEAD 6 listopada 2012 o 19:54 
can i add you on steam and then we can talk in detail?
HellJumper 6 listopada 2012 o 21:21 
I hope you understand that I get a ton of friend requests for this very reason (of which I decline). I have other duties (work, school, research, etc). I think you can get your problem solved via this or the steam thread as many others have.
Ryder #I AM DEAD 7 listopada 2012 o 3:50 
Ok Well,
I used the vmt you provided(after changing the texture path of course) but i still have the same problem, all files are placed in the correct location.
Also my vmt or vtf is NOT set to use paint
HellJumper 7 listopada 2012 o 15:32 
You are sure that you applied your material properly before exporting? If you open your .smd file with notepad++ you can check to see if your material applied properly by looking at the texture name. You can copy/paste the first 30 lines of the smd file here (code tags) if you want me to take a look at it. Also, you might want to show me your vmt file.
Ostatnio edytowany przez: HellJumper; 7 listopada 2012 o 15:33
Ryder #I AM DEAD 7 listopada 2012 o 20:21 
Okay
First the VMT's present in I:\Steam\steamapps\coolhaardik21\team fortress 2\tf\materials\models\player\items\scout
scout_armband_red.vmt -
"VertexlitGeneric" { "$baseTexture" "models/player/items/scout/scout_armband_RED" }
scout_armband_blu.vmt -
"VertexlitGeneric" { "$baseTexture" "models/player/items/scout/scout_armband_BLU" }
scout_armband.vmt -
"VertexlitGeneric" { "$basetexture" "models/player/items/scout/scout_armband" }
Now the SMD located in I:\Steam\steamapps\coolhaardik21\team fortress 2\tf\models\player\items\scout
The first 30 lines of scout_armband.smd -
version 1 nodes 0 "bip_lowerArm_L" -1 1 "bip_lowerArm_R" -1 end skeleton time 0 0 17.400400 55.791882 -4.533324 -0.543959 -0.033180 0.711784 1 -17.400398 55.791855 -4.533324 2.597633 0.033179 -0.711784 end triangles player/items/scout/scout_armband_red.bmp 0 -21.021629 54.283337 -0.642062 -0.387807 0.661815 0.641566 0.891653 0.450465 1 1 1.000000 0 -21.000929 54.299671 -0.646399 -0.387807 0.661815 0.641566 0.895636 0.451508 1 1 1.000000 0 -21.032354 54.285679 -0.650961 -0.387807 0.661815 0.641566 0.891315 0.448119 1 1 1.000000 player/items/scout/scout_armband_red.bmp 0 -20.974052 54.335533 -0.667120 -0.387570 0.661924 0.641596 0.905452 0.450493 1 1 1.000000 0 -20.967861 54.355042 -0.683507 -0.387570 0.661924 0.641596 0.909354 0.448915 1 1 1.000000 0 -20.978584 54.357388 -0.692405 -0.387570 0.661924 0.641596 0.909392 0.446491 1 1 1.000000 player/items/scout/scout_armband_red.bmp 0 -20.975233 54.264244 -0.686794 0.388183 -0.660794 -0.642390 0.892397 0.440436 1 1 1.000000 0 -20.995934 54.247871 -0.682461 0.388183 -0.660794 -0.642390 0.887241 0.441559 1 1 1.000000 0 -21.006643 54.250229 -0.691358 0.388183 -0.660794 -0.642390 0.886768 0.444251 1 1 1.000000 player/items/scout/scout_armband_red.bmp 0 -20.942160 54.319595 -0.723903 0.388012 -0.661669 -0.641592 0.911401 0.438156 1 1 1.000000 0 -20.948345 54.300079 -0.707517 0.388012 -0.661669 -0.641592 0.905981 0.438321 1 1 1.000000 0 -20.952881 54.321938 -0.732802 0.388012 -0.661669 -0.641592 0.912565 0.440679 1 1 1.000000 player/items/scout/scout_armband_red.bmp 0 -21.153727 53.895897 -0.434001 0.388034 -0.661673 -0.641575 0.748394 0.300697 1 1 1.000000 0 -21.119062 53.942135 -0.460722 0.388034 -0.661673 -0.641575 0.767965 0.297522 1 1 1.000000
HellJumper 7 listopada 2012 o 22:55 
Firstly, why do you have three vmts? For a team-colored model you need only two (red/blue).

Secondly, your texture didn't apply properly as I suspected. You can fix this by re-exporting or by simply finding all instances of "player/items/scout/scout_armband_red.bmp" in your smd file and replacing them with "scout_armband_red.tga" (do this with notepad++).

Also, I noticed that your vmt files use lowercase red/blu but your vtfs use uppercase RED/BLU. This is bad form-- you should name both using the same style to avoid errors. So you should have two vmts and two vtfs named like this:

  • scout_armband_red.vmt
  • scout_armband_red.vtf
  • scout_armband_blu.vmt
  • scout_armband_blu.vtf

And the contents of your vmt files should be the following:

scout_armband_red.vmt
"VertexlitGeneric" { "$baseTexture" "models/player/items/scout/scout_armband_red" }

scout_armband_blue.vmt
"VertexlitGeneric" { "$baseTexture" "models/player/items/scout/scout_armband_blu" }

And your smd file should look like the following:
version 1 nodes 0 "bip_lowerArm_L" -1 1 "bip_lowerArm_R" -1 end skeleton time 0 0 17.400400 55.791882 -4.533324 -0.543959 -0.033180 0.711784 1 -17.400398 55.791855 -4.533324 2.597633 0.033179 -0.711784 end triangles scout_armband_red.tga 0 -21.021629 54.283337 -0.642062 -0.387807 0.661815 0.641566 0.891653 0.450465 1 1 1.000000 0 -21.000929 54.299671 -0.646399 -0.387807 0.661815 0.641566 0.895636 0.451508 1 1 1.000000 0 -21.032354 54.285679 -0.650961 -0.387807 0.661815 0.641566 0.891315 0.448119 1 1 1.000000 scout_armband_red.tga 0 -20.974052 54.335533 -0.667120 -0.387570 0.661924 0.641596 0.905452 0.450493 1 1 1.000000 0 -20.967861 54.355042 -0.683507 -0.387570 0.661924 0.641596 0.909354 0.448915 1 1 1.000000 0 -20.978584 54.357388 -0.692405 -0.387570 0.661924 0.641596 0.909392 0.446491 1 1 1.000000 scout_armband_red.tga 0 -20.975233 54.264244 -0.686794 0.388183 -0.660794 -0.642390 0.892397 0.440436 1 1 1.000000 0 -20.995934 54.247871 -0.682461 0.388183 -0.660794 -0.642390 0.887241 0.441559 1 1 1.000000 0 -21.006643 54.250229 -0.691358 0.388183 -0.660794 -0.642390 0.886768 0.444251 1 1 1.000000 scout_armband_red.tga 0 -20.942160 54.319595 -0.723903 0.388012 -0.661669 -0.641592 0.911401 0.438156 1 1 1.000000 0 -20.948345 54.300079 -0.707517 0.388012 -0.661669 -0.641592 0.905981 0.438321 1 1 1.000000 0 -20.952881 54.321938 -0.732802 0.388012 -0.661669 -0.641592 0.912565 0.440679 1 1 1.000000 scout_armband_red.tga 0 -21.153727 53.895897 -0.434001 0.388034 -0.661673 -0.641575 0.748394 0.300697 1 1 1.000000 0 -21.119062 53.942135 -0.460722 0.388034 -0.661673 -0.641575 0.767965 0.297522 1 1 1.000000
Ryder #I AM DEAD 9 listopada 2012 o 21:44 
I dont have 2 VTF'sI have only 1 VTF that is scout_armband.vtf
althouhg i do have scout_armband_BLU.tga amd scout_armband_RED.tga
can you help me through teamviewer?please come in group chat room..i will give you my teamviewer details
HellJumper 9 listopada 2012 o 21:52 
$cd "I:\Steam\steamapps\coolhaardik21\team fortress 2\tf\models\player\items\scout" $modelname "player\items\scout\scout_armband.mdl" $model "Body" "scout_armband.smd" $cdmaterials "models\player\items\scout\" $texturegroup "muff diving instructor" { { "scout_armband_red" } { "scout_armband_blu" } } $surfaceprop "plastic" $sequence idle "idle" loop fps 30.00 $collisionmodel "scout_armband.smd" { $mass 2.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }
< >
Wyświetlanie 1-9 z 9 komentarzy
Na stronę: 1530 50

Wszystkie dyskusje > Dota 2 Modeling > Szczegóły wątku