Ru/3D model: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
m (THE OWL moved page Model/ru to 3D Model/ru)
mNo edit summary
Line 1: Line 1:
{{langsp|title=Модель}}
{{Language subpage}}
{{totranslate}}
{{totranslate}}


[[File:Xsimodtool-workspace.jpg|thumb|Редактирование модели в [[Softimage Mod Tool:ru]].]]
[[File:Xsimodtool-workspace.jpg|thumb|Редактирование модели в [[Softimage Mod Tool]].]]


'''Модель''' представляет из себя набор [[Wikipedia:Point (geometry)|точек]], или вершин, которые образуют 3D форму, известную как [[mesh:ru]]. Зазоры между точками обычно заполнены [[Wikipedia:Polygon (computer graphics)|полигонами]], которые как правило покрыты [[material:ru|материалами]].
'''Трёхмерная модель''' (далее — модель) представляет из себя набор [[Wikipedia:Point (geometry)|точек]], или вершин, которые образуют трёхмерную форму, известную как [[Mesh|полигональная сетка]]. Зазоры между точками обычно заполнены [[Wikipedia:Polygon (computer graphics)|полигонами]], которые как правило покрыты [[Material|материалами]].


Models are used for almost every 3D object in Source that isn't a part of a map's underlying [[brush]] geometry. [[NPC:ru]]s, physics objects, guns, and sometimes even buildings are all models.
Models are used for almost every 3D object in Source that isn't a part of a map's underlying [[brush]] geometry. [[NPC]]s, physics objects, guns, and sometimes even buildings are all models.


Models are created in external modelling packages that are not part of the Source SDK. Valve currently use [[Maya:ru]], but there are [[Exporting a model:ru|other options]]. The SDK tool [[studiomdl:ru]] is used to [[Compiling a model:ru|compile]] files exported from a modelling package into the binary [[MDL:ru]] format that Source understands.
Models are created in external modelling packages that are not part of the Source SDK. Valve currently use [[Maya]], but there are [[Exporting a model|other options]]. The SDK tool [[studiomdl]] is used to [[Compiling a model|compile]] files exported from a modelling package into the binary {{ext|mdl|2}} format that Source understands.


To ensure consistency an entity will normally choose its own world model; the three main exceptions to this are <code>[[prop_static]]</code>, <code>[[prop_physics]]</code>, and <code>[[prop_dynamic]]</code>.
To ensure consistency an entity will normally choose its own world model; the three main exceptions to this are {{ent|prop_static}}, {{ent|prop_physics}}, and {{ent|prop_dynamic}}.


== Зачем используются модели? ==
== Зачем используются модели? ==
[[File:Citadel.jpg|thumb|A [[Half-Life 2]] scene consisting entirely of models.]]
[[File:Citadel.jpg|thumb|A [[Half-Life 2]] scene consisting entirely of models.]]


Line 34: Line 33:
== Смотрите так-же ==
== Смотрите так-же ==


* [[prop_static:ru]], [[prop_dynamic:ru]] и [[prop_physics:ru]]
* {{ent|prop_static}}, {{ent|prop_dynamic}} и {{ent|prop_physics}}
* [[Viewmodel:ru]]
* [[Viewmodel:ru]]
* [[:Category:World Models]]
* [[:Category:World Models]]

Revision as of 05:34, 13 June 2023

English (en)Русский (ru)中文 (zh)Translate (Translate)

Template:Totranslate

Редактирование модели в Softimage Mod Tool.

Трёхмерная модель (далее — модель) представляет из себя набор точек, или вершин, которые образуют трёхмерную форму, известную как полигональная сетка. Зазоры между точками обычно заполнены полигонами, которые как правило покрыты материалами.

Models are used for almost every 3D object in Source that isn't a part of a map's underlying brush geometry. NPCs, physics objects, guns, and sometimes even buildings are all models.

Models are created in external modelling packages that are not part of the Source SDK. Valve currently use Maya, but there are other options. The SDK tool studiomdl is used to compile files exported from a modelling package into the binary mdl format that Source understands.

To ensure consistency an entity will normally choose its own world model; the three main exceptions to this are prop_static, prop_physics, and prop_dynamic.

Зачем используются модели?

A Half-Life 2 scene consisting entirely of models.
Detail
A model can have many, many times more vertices than a brush. Level of detail allows the detail to be toned down when it is too far away to be appreciated, improving performance.
Skeleton and vertex animation
Detailed and lifelike animation can be achieved with a model. Walking, talking, running, jumping!
Dynamism
Unless specifically made to behave otherwise, a model's position, lighting and animation are all completely dynamic. They can go anywhere and do anything.
Replication
Every instance of a model is guaranteed to look the same, and you can change all of them at once by modifying one small set of files.

Консольные команды

r_flushlod
Reload all models from disc.
r_drawmodelstatsoverlay <1/0>
Print the name of the model under the crosshair to the screen.

Смотрите так-же