Talk:Model Creation Overview: Difference between revisions
Jump to navigation
Jump to search
m (→How does the VTF get compiled into the MDL file?: correction) |
No edit summary |
||
Line 3: | Line 3: | ||
The model QC files and [[QC Commands]] docs don't contain any reference to the [[VTF]] (or TGA or VMT). If that's correct, how does the VTF get built into the [[MDL]] ? It doesn't appear to be part of the [[SMD]] data. {{unsigned|Beeswax}} | The model QC files and [[QC Commands]] docs don't contain any reference to the [[VTF]] (or TGA or VMT). If that's correct, how does the VTF get built into the [[MDL]] ? It doesn't appear to be part of the [[SMD]] data. {{unsigned|Beeswax}} | ||
:It ''is'' part of the SMD. The texture is defined for every polygon so that the first of the two rows of data per poly is always the texture filename. Path to the surface material is defined in the QC. [[User:Jupix|Jupix]] 15:26, 5 Nov 2007 (PST) | :It ''is'' part of the SMD. The texture is defined for every polygon so that the first of the two rows of data per poly is always the texture filename. Path to the surface material is defined in the QC. [[User:Jupix|Jupix]] 15:26, 5 Nov 2007 (PST) | ||
:: Ah - the penny drops! So that's why the GameDirectory/models and GameDirectory/materials/models are so specific ... the MDL relies on the correctly named VTF being in the ../materials/models directory. Thanks for the insight Jupix. [[User:Beeswax|Beeswax]] 09:28, 6 Nov 2007 (PST) |
Revision as of 10:28, 6 November 2007
How does the VTF get compiled into the MDL file?
The model QC files and QC Commands docs don't contain any reference to the VTF (or TGA or VMT). If that's correct, how does the VTF get built into the MDL ? It doesn't appear to be part of the SMD data. —Unsigned comment added by Beeswax (talk • contribs) Always sign your posts with four tildes (~~~~)
- It is part of the SMD. The texture is defined for every polygon so that the first of the two rows of data per poly is always the texture filename. Path to the surface material is defined in the QC. Jupix 15:26, 5 Nov 2007 (PST)
- Ah - the penny drops! So that's why the GameDirectory/models and GameDirectory/materials/models are so specific ... the MDL relies on the correctly named VTF being in the ../materials/models directory. Thanks for the insight Jupix. Beeswax 09:28, 6 Nov 2007 (PST)