$cliptotextures?


strider_d_3000
09-28-2003, 02:48 PM
what do the line $cliptotextures do anyways?

Trp. Jed
09-28-2003, 02:59 PM
It tells studiomdl not to cllip your textures down to just the parts used when its compiling.

If you have a 512x512 texture and use $cliptotextures when you compile the model the texture will remain that size in the MDL fiel.

If you dont used it, studiomdl will trim off any surplus pixels from your texture (on the right and bottom) that aren't being used.

- Jed

strider_d_3000
09-28-2003, 03:19 PM
so it when it is in used it dont change the size of the bmp so u can inport and export image via hlmv right?

Trp. Jed
09-28-2003, 05:10 PM
pretty much, but you can still export/import from HLMV even if it is clipped, its just that your import bitmap has to be the same size as the one in the MDL.

HLMV shows what size the bitmap is inside the MDL.

Clipping the texture saves a bit of memory but if you intend people to mess with your skins, using $cliptotextures is probably a wiser choice.

- Jed

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.