[HL1]проблема с 3d моделью (Cycler)
Сконвертировал высокополигональную модель в mdl, разрезав ее на части по туториалу Оффтоп
В редакторе (3д вид) видна нормально, но сам объект Entity является маленькой точкой, растянутой по высоте за пределы карты. Из-за таких размеров Entity невозможно вращать или перемещать.
http://s020.radikal.ru/i704/1311/08/f666bde425f9.png
В самой игре отображается корректно.
Сконвертировал высокополигональную модель в mdl, разрезав ее на части по туториалу Оффтоп
http://forum.hlds.info/a-227/modelling-too-many-vertices-cs-s-10015/
Код:
// Output .MDL
$modelname "G:\3DReaperDX\Frames\Bus1.mdl"
// Directory of .SMD
$cd "\3DReaperDX\Frames\"
// Directory of .BMP
$cdtexture "\3DReaperDX\Frames\"
$cliptotextures
// Write textures into a ???T.mdl
//$externaltextures
$scale 100.0
// bodygroups: use relative path from $cd
$body BusPt1 "ref1"
$body Bus1Pt2 "ref2"
$body Bus1Pt3 "ref3"
$body Bus1Pt4 "ref4"
$body Bus1Pt5 "ref5"
// sequences: all sequences are in $cd
//$sequence seq-name "sequence" loop fps 1 ACT_IDLE 1
Код:
[Performing Sanity Check]
QC file loaded...PASS
Can read QC...PASS
Can find studiomdl.exe...PASS
Can build command line...PASS
All tests passed!
[Compiling QC file - "Bus1.qc"]
[Compiler output follows]
--------------------------------------------------------------------------------
entering G:\3DREAP~1\Frames\Bus1.qc
grabbing \3DReaperDX\Frames\/ref1.smd
grabbing \3DReaperDX\Frames\/ref2.smd
grabbing \3DReaperDX\Frames\/ref3.smd
grabbing \3DReaperDX\Frames\/ref4.smd
grabbing \3DReaperDX\Frames\/ref5.smd
BMP Default.bmp [512 512] (100%) 262912 bytes
---------------------
writing G:\3DReaperDX\Frames\Bus1.mdl:
bones 388 bytes (1)
sequences 104 bytes (0 frames) [0:00]
vertices 12888 bytes (721 vertices, 270 normals)
mesh 18200 bytes (1226 tris, 465 strips)
vertices 18760 bytes (888 vertices, 555 normals)
2%
mesh 20492 bytes (1598 tris, 427 strips)
vertices 15212 bytes (884 vertices, 286 normals)
mesh 23072 bytes (1558 tris, 588 strips)
vertices 21844 bytes (1011 vertices, 669 normals)
mesh 23960 bytes (1847 tris, 509 strips)
vertices 17828 bytes (805 vertices, 566 normals)
mesh 19092 bytes (1497 tris, 394 strips)
models 192288 bytes
textures 262996 bytes
total 455776
--------------------------------------------------------------------------------
[Compiler execution completed]
http://s020.radikal.ru/i704/1311/08/f666bde425f9.png
В самой игре отображается корректно.