- May 24, 2010
- 127
- 56
ok, i've done this before - but somehow it's not working for me now.
Maybe I've been staring at it for too long.
When i do a regular compile using the 'low' mesh as a LOD @50 ... I test in the model viewer and at 50 it displays nothing and the info panel says there is no geometry displayed. It's not flipped normals, it is replacing my highrez mesh with 'nothing'. hmph!
So the meshes load independently - if I create a temporary .QC for the lowrez LOD.
*IGNORE THE TEXTURES plz, they are temporary*
Here's the .QC for the highrez mesh
and the buffer for my compile ...
Maybe I've been staring at it for too long.
When i do a regular compile using the 'low' mesh as a LOD @50 ... I test in the model viewer and at 50 it displays nothing and the info panel says there is no geometry displayed. It's not flipped normals, it is replacing my highrez mesh with 'nothing'. hmph!
So the meshes load independently - if I create a temporary .QC for the lowrez LOD.
*IGNORE THE TEXTURES plz, they are temporary*
Here's the .QC for the highrez mesh
Code:
/*
----------------
UGLYivy QC
Model by : UGLYdumpling (sammy@hallam.ca)
Texture by : BoyLee (mattboyle84@googlemail.com)
----------------
*/
$modelname "custom_models\uglyivy\uglyivy01.mdl"
$origin 0 0 0 90
$scale 1.0
$body "Body" "uglyivy01.smd"
$staticprop
$surfaceprop wood
$upaxis Z
$cdmaterials "custom_models\uglyivy"
$sequence "idle" "uglyivy01.smd" fps 30
// LOD 1
$lod 50
{
replacemodel "uglyivy01" "uglyivy01low"
}
and the buffer for my compile ...
> Executing: C:\Program Files (x86)\ConTEXT\ConExec.exe "C:\Program Files (x86)\Steam\steamapps\inflictforce\sourcesdk\bin\orangebox\bin\studiomdl.exe" "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models\custom_models\uglyivy\uglyivy01.qc"
WARNING: AppFramework : Unable to load module p4lib.dll!
qdir: "c:\program files (x86)\steam\steamapps\inflictforce\team fortress 2\tf\models\custom_models\uglyivy\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\"
g_path: "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models\custom_models\uglyivy\uglyivy01.qc"
Building binary model files...
Working on "uglyivy01.qc"
SMD MODEL uglyivy01.smd
SMD MODEL uglyivy01low.smd
---------------------
writing C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models/custom_models\uglyivy\uglyivy01.mdl:
bones 964 bytes (1)
animations 112 bytes (1 anims) (1 frames) [0:00]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 268 bytes
keyvalues 0 bytes
bone transforms 0 bytes
collision 0 bytes
total 2096
---------------------
writing C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models/custom_models\uglyivy\uglyivy01.vvd:
vertices 190656 bytes (3972 vertices)
tangents 63552 bytes (3972 vertices)
total 254272 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models/custom_models\uglyivy\uglyivy01.sw.vtx":
body parts: 8 bytes
models: 32 bytes
model LODs: 24 bytes
meshes: 36 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 35748 bytes
indices: 18324 bytes
bone changes: 32 bytes
everything: 54320 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models/custom_models\uglyivy\uglyivy01.dx80.vtx":
body parts: 8 bytes
models: 32 bytes
model LODs: 24 bytes
meshes: 36 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 35748 bytes
indices: 18324 bytes
bone changes: 32 bytes
everything: 54320 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\inflictforce\team fortress 2\tf\models/custom_models\uglyivy\uglyivy01.dx90.vtx":
body parts: 8 bytes
models: 32 bytes
model LODs: 24 bytes
meshes: 36 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 35748 bytes
indices: 18324 bytes
bone changes: 32 bytes
everything: 54320 bytes
Completed "uglyivy01.qc"
> Execution finished.
Last edited: