Малый вопрос про 3DS Max - Multires (У меня косяк..)

Текстурные модификации, редактирование моделей
Ответить
Сообщение
Автор
Аватара пользователя
GoDtm666
Модератор
Модератор
Сообщения: 1135
Зарегистрирован: 03.07.2009
Откуда: Оттуда
Поблагодарили: 5 раз
Контактная информация:

#1 Сообщение 11.10.2011, 06:56

Всем привет, надеюсь есть тут умные люди :)
Я в 3ds max еще нуб, тут узнал про инструмент Multires в 3ds max ну чтоб полигов сделать поменьше..
ну в общем на видео все моя проблема записана..
посмотрите подкиньте мыслю куда тыкать :)


Мой leet.qc
leet.qc

Код: Выделить всё

$cd "C:\Users\Admin\Desktop\leet"
$modelname "player/t_leet.mdl"
$model "t_leet" "t_leet_reference.smd"
$lod 10
 {
  replacemodel "t_leet_reference" "lod1_t_leet_reference"
}
$lod 20
 {
  replacemodel "t_leet_reference" "lod2_t_leet_reference"
}
$lod 35
 {
  replacemodel "t_leet_reference" "lod3_t_leet_reference"
}
$lod 50
 {
  replacemodel "t_leet_reference" "lod4_t_leet_reference"
}
$lod 70
 {
  replacemodel "t_leet_reference" "lod5_t_leet_reference"
}
$shadowlod
{
  replacemodel "t_leet_reference" "lod6_t_leet_reference"
}
$poseparameter move_yaw -180.00 180.00 360.00
$poseparameter body_pitch -90.00 90.00 360.00
$poseparameter body_yaw -90.00 90.00 360.00
$cdmaterials "models\player\t_leet"
$hboxset "cstrike"
$bbox -13 -13 0 13 13 72
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299  -7.727  -5.429  8.299  2.007  6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288  -1.144  -2.579  5.720  4.576  2.007
$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860  -2.808  -2.860  4.004  1.196  1.716
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288  -1.144  -2.007  5.720  4.576  2.579
$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860  -2.808  -1.716  4.004  1.196  2.860
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152  -1.258  -8.008  4.576  11.326  8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068  -3.432  -9.693  13.572  10.317  9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104  -4.576  -2.860  5.512  2.288  2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416  -6.240  -3.640  9.360  4.441  3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291  -2.465  -1.716  6.583  1.550  2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291  -2.465  -2.860  6.583  1.550  1.716
// Model uses material "t_leet.vmt"
// Model uses material "t_leet_glass.vmt"
$attachment "forward" "ValveBiped.forward" 0.00 -0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.45 4.24 -3.33 rotate -13.05 173.19 92.40
$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 2.13 4.48 -6.15 rotate -81.11 178.93 91.12
$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.50 3.33 2.16 rotate 22.39 2.47 -86.84
$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -7.89 4.44 -4.03 rotate -33.13 -2.70 -87.60
$attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.93 3.33 -5.94 rotate 0.94 -1.57 80.10
$attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -3.98 -7.48 rotate -17.39 177.19 -4.18
$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.20 rotate 3.68 -91.56 99.67
$attachment "c4" "ValveBiped.Bip01_Spine2" 13.67 -7.55 0.95 rotate -29.12 65.25 22.32
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 5.20 0.00 rotate -0.00 0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.20 0.00 rotate 0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" -0.00 -0.00 0.00 rotate -0.00 -0.00 0.00
$bonemerge "ValveBiped.Bip01_R_Hand"
$bonemerge "ValveBiped.Bip01_L_Hand"
$bonemerge "ValveBiped.weapon_bone"
$bonemerge "ValveBiped.weapon_bone_Clip"
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_t.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition 1.051 0.019 37.307
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

	$mass 100.0
	$inertia 10.00
	$damping 0.05
	$rotdamping 5.00
	$rootbone "valvebiped.bip01_pelvis"
	$jointrotdamping "valvebiped.bip01_pelvis" 3.00

	$jointmassbias "valvebiped.bip01_spine1" 8.00
	$jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00

	$jointmassbias "valvebiped.bip01_spine2" 9.00
	$jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00

	$jointmassbias "valvebiped.bip01_r_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_r_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_l_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_l_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_l_forearm" 4.00
	$jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_l_hand" 1.00
	$jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_r_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_r_forearm" 4.00
	$jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_r_hand" 1.00
	$jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_r_thigh" 7.00
	$jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_calf" 4.00
	$jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00

	$jointmassbias "valvebiped.bip01_l_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_l_thigh" 7.00
	$jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_calf" 4.00
	$jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00

	$jointmassbias "valvebiped.bip01_head1" 4.00
	$jointrotdamping "valvebiped.bip01_head1" 3.00
	$jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00
	$jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00
}
log компиляции

Код: Выделить всё

D:\Program\Steam\steamapps\noobito02\sourcesdk\bin\orangebox\bin>studiomdl.exe -n
op4 leet.qc
qdir:    "d:\program\steam\steamapps\noobito02\sourcesdk\bin\orangebox\bin\"
gamedir: "d:\program\steam\steamapps\noobito02\counter-strike source\cstrike\"
g_path:  "leet.qc"
Building binary model files...
Working on "leet.qc"
SMD MODEL C:\Users\Admin\Desktop\leet/t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/lod1_t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/lod2_t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/lod3_t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/lod4_t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/lod5_t_leet_reference.smd
Processing $shadowlod
SMD MODEL C:\Users\Admin\Desktop\leet/lod6_t_leet_reference.smd
SMD MODEL C:\Users\Admin\Desktop\leet/ragdoll.smd
SMD MODEL C:\Users\Admin\Desktop\leet/phymodel.smd
Lod 1: vertexes: 3117 (1087 new)
Lod 2: vertexes: 3393 (276 new)
Lod 3: vertexes: 3594 (201 new)
Lod 4: vertexes: 3797 (203 new)
Lod 5: vertexes: 3925 (128 new)
Lod 1: vertexes: 3962 (20 new)
Lod 2: vertexes: 3968 (6 new)
Processing jointed collision model
ValveBiped.Bip01_Pelvis  ( 90 verts, 1 convex elements) volume: 1383.44
ValveBiped.Bip01_L_Thigh ( 36 verts, 1 convex elements) volume: 974.18
ValveBiped.Bip01_L_Calf  ( 48 verts, 1 convex elements) volume: 1093.20
ValveBiped.Bip01_R_Thigh ( 36 verts, 1 convex elements) volume: 974.18
ValveBiped.Bip01_R_Calf  ( 48 verts, 1 convex elements) volume: 1094.12
ValveBiped.Bip01_Spine1  ( 96 verts, 1 convex elements) volume: 2155.50
ValveBiped.Bip01_Spine2  (132 verts, 1 convex elements) volume: 2494.21
ValveBiped.Bip01_Head1   (156 verts, 1 convex elements) volume: 821.28
ValveBiped.Bip01_L_Clavicle ( 36 verts, 1 convex elements) volume: 74.57
ValveBiped.Bip01_L_UpperArm ( 36 verts, 1 convex elements) volume: 190.31
ValveBiped.Bip01_L_Forearm ( 36 verts, 1 convex elements) volume: 335.57
ValveBiped.Bip01_L_Hand  ( 36 verts, 1 convex elements) volume: 194.73
ValveBiped.Bip01_R_Clavicle ( 36 verts, 1 convex elements) volume: 74.57
ValveBiped.Bip01_R_UpperArm ( 36 verts, 1 convex elements) volume: 190.31
ValveBiped.Bip01_R_Forearm ( 36 verts, 1 convex elements) volume: 335.57
ValveBiped.Bip01_R_Hand  ( 36 verts, 1 convex elements) volume: 194.73
Collision model completed.
---------------------
writing d:\program\steam\steamapps\noobito02\counter-strike source\cstrike\models
/player/t_leet.mdl:
bones        11104 bytes (37)
animations     896 bytes (1 anims) (22 frames) [0:00]
sequences      364 bytes (1 seq)
ik/pose        724 bytes
eyeballs         0 bytes (0 eyeballs)
flexes           0 bytes (0 flexes)
textures       136 bytes
keyvalues        0 bytes
bone transforms     5396 bytes
Collision model volume 72321.97 in^3
collision        0 bytes
total        20288
---------------------
writing d:\program\steam\steamapps\noobito02\counter-strike source\cstrike\models
/player/t_leet.vvd:
vertices    190464 bytes (3968 vertices)
tangents     63488 bytes (3968 vertices)
total       254016 bytes
---------------------
Generating optimized mesh "d:\program\steam\steamapps\noobito02\counter-strike so
urce\cstrike\models/player/t_leet.sw.vtx":
body parts:         8 bytes
models:            92 bytes
model LODs:        84 bytes
meshes:           126 bytes
strip groups:     250 bytes
strips:           270 bytes
verts:          65187 bytes
indices:        59838 bytes
bone changes:      56 bytes
everything:    125863 bytes
---------------------
Generating optimized mesh "d:\program\steam\steamapps\noobito02\counter-strike so
urce\cstrike\models/player/t_leet.dx80.vtx":
body parts:         8 bytes
models:            92 bytes
model LODs:        84 bytes
meshes:           126 bytes
strip groups:     250 bytes
strips:          2403 bytes
verts:         124362 bytes
indices:        59838 bytes
bone changes:   11088 bytes
everything:    198203 bytes
---------------------
Generating optimized mesh "d:\program\steam\steamapps\noobito02\counter-strike so
urce\cstrike\models/player/t_leet.dx90.vtx":
body parts:         8 bytes
models:            92 bytes
model LODs:        84 bytes
meshes:           126 bytes
strip groups:     250 bytes
strips:           270 bytes
verts:          65187 bytes
indices:        59838 bytes
bone changes:    1864 bytes
everything:    127671 bytes

Completed "leet.qc"
Для продолжения нажмите любую клавишу . . .
Изображение
Наш игровой Counter-Strike: Source Orange Box сервер.
[frame]
Counter-Strike: Source no-Steam сервер

Изображение

IP: 89.179.122.106:27016
connect 89.179.122.106:27016
steam://connect/89.179.122.106:27016[/frame]

[frame]
Half-Life 2
[youtube]CC2PFQVe-8U[/youtube]
[/frame]
Четкий комент
Я даже не знаю, что такое.

Аватара пользователя
Atomeh
Майор
Майор
Сообщения: 561
Зарегистрирован: 05.08.2008
Благодарил (а): 9 раз
Поблагодарили: 2 раза

#2 Сообщение 12.10.2011, 04:08

Попробуй поменять порядок модификаторов. У тебя сначала идёт привязка полигонов к костям, а уже после удалятор полигонов, но к костям остаются привязаны старые полигоны, которые уже не совсем там, где должны быть.
Изображение

Если не поможет, то скорее всего скинить новую модель придётся вручную.

Rewan
Сержант
Сержант
Сообщения: 33
Зарегистрирован: 04.10.2009

#3 Сообщение 30.12.2011, 19:41

Отлично расползается))
Изображение

Ответить