Docs:Modelling level geometry
From Mod Wiki
(Difference between revisions)
Revision as of 11:39, 6 February 2009 (edit) Zergius (Talk | contribs) ← Previous diff |
Current revision (11:39, 6 February 2009) (edit) (undo) Zergius (Talk | contribs) |
||
Line 39: | Line 39: | ||
===Creating water=== | ===Creating water=== | ||
---- | ---- | ||
- | [[Category:CS SDK help|{{ | + | [[Category:CS SDK help|{{PAGENAME}}]] |
[[ru:Docs:Моделинг геометрии уровня]] | [[ru:Docs:Моделинг геометрии уровня]] |
Current revision
Contents |
Modelling level geometry
Creating terrain
Creating buildings
Creating stairs
Creating glass
Level with the example of glass you can find in SDK:"C:\Program Files\X-Ray SDK\sources\examples\glass_and_water.mb"
Glass - one-sided tesselated polytriangulated faces polygon.
Two-sidedness is pointed in the settings of Xray
shaders (Xray Double Side
). It is necessary to modelling the glass as shown in the screenshot because in the game when hit the glass it will break on earlier modellingparts.
Triangles are combined into bigger parts when hit. For example, like this:
Parameters of X-ray shaders of breaking glass. | |
---|---|
Texture | t:\glas\glas_dirt.dds
|
Double side | yes |
Engine | models/window |
Compiler | def_vertex |
Material | objects/glass |