Odd lighting error

Does anyone have an idea what causes this?

http://www.1337upload.net/files/FFFF.png

[editline]28th January 2011[/editline]

http://www.1337upload.net/files/rp_jorpakko0112.jpg

Was this by any chance, mirror from the other half? And what’s your vmt setting.

No, it’s not mirrowed model.



"VertexlitGeneric"
{
    "$basetexture" "models/props_jorpakko/rata_512"
                  $model 1 
}




$cd             "E:	ools\Model_compile"
$modelname         "props_jorpakko	rack_512.mdl"
$body mybody     "track_512.smd"
$staticprop
$surfaceprop    "metal"
$cdmaterials     "models\props_jorpakko\"

$sequence idle  "track_512_idle.smd" loop fps 15
$collisionmodel "track_512_phys.smd"

{
$concave 
$automass
}


I think it’s something to do with the bone position, but I’m not sure. Can you upload your source files?

http://www.1337upload.net/files/track.zip

Could you upload the textures too.

You have 32 bones for a static object, why? Anyway, I also changed your *.QC file a bit:



$modelname props_jorpakko/track_512.mdl
$cdmaterials models/props_jorpakko

$body studio "track_512"
$staticprop
$surfaceprop metal

$sequence idle "track_512"
$collisionmodel "track_512_phys.smd"


Your collision model was also too complex for the engine, so I built a new one. Here’s the source files, all fixed, and ready to compile:

Strange the collision seem to be fine from what i can see to be honest, but, that shouldn’t mess up the lighting either. Plus, doesn’t the QC for custom collision prop need this at the end.


$modelname         "props_jorpakko	rack_512.mdl"

$body mybody     "track_512.smd"
$staticprop
$surfaceprop    "metal"
$cdmaterials     "models\props_jorpakko\"

$sequence idle  "track_512_idle.smd" fps 30
$collisionmodel "track_512_phys.smd"

{
$concave 
$automass
}


Anyways, can’t really tell if the lighting is still mess up without the proper textures.

It worked, thanks!
This thread may be closed now.

[editline]28th January 2011[/editline]

Also i’m still novice with modeling, so next time i’ll keep eye on the bones.