studiomdl doing weird clipping

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
When I compile the current crest model (armor/p_gowns.mdl), studiomdl clips all the 384x384 textures I feed it to 372x341 for some odd reason.

So this:
studwha_384.gif

Becomes this:
studwha_372.gif

The model works fine, as it seems to be automagically keeping only the visible area, for some reason, but this makes it very hard to edit. I have to keep an archive of the original textures around to make it easier. Also worried this could cause problems on another model.

I played with the params a bit, but to no avail.

Any you modelers got any idears as to wad is up wid dis?
 

Gaz

New Adventurer
MSC Developer
Joined
Feb 9, 2005
Messages
629
Reaction score
0
Hmm, try removing "cliptextures" or whatever it is in the qc, else zip and I'll play with it :)
 

Orochi

New Adventurer
MSS Developer
MSC Developer
Joined
Jun 12, 2006
Messages
790
Reaction score
0
Age
35
Location
On a Bus
I believe the .qc entry is $cliptotextures, if you haven't removed that one already, try it.
 
  • Thread starter
  • Admin
  • #6

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
I removed everything with $clipanything

Code:
/*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

p_gowns.mdl

Original internal name:
"p_gowns2.mdl"

==============================================================================
*/

$modelname "p_gowns.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0

$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$bodygroup "studio"
{
studio "gown"
studio "gown2"
studio "gown3"
studio "gown4"
studio "gown5"
studio "gown6"
studio "gown7"
studio "gown8"
studio "gown9"
studio "gown10"
studio "gown1b"
studio "gown2b"
studio "gown3b"
studio "gown4b"
studio "gown5b"
studio "gown6b"
studio "gown7b"
studio "gown8b"
studio "gown9b"
studio "gown10b"
studio "gown1c"
studio "gown2c"
studio "gown3c"
studio "gown4c"
studio "gown5c"
studio "gown6c"
studio "gown7c"
studio "gown8c"
studio "gown9c"
studio "gown10c"
}

// 1 animation sequence(s)
$sequence "gown_idle" "gown_idle" fps 15 

// End of QC script.
 
Top