Viewmodel

From Valve Developer Community
Revision as of 16:15, 12 November 2007 by LirolMonac (talk | contribs)
Jump to navigation Jump to search

skateboarding shoes inventory management carnival cruise low airfare price phentermine 37.5 student air ticket minnesota twins 50cc scooters cheap air flights ticket airline ticket prices wireless router soldiers free mp3 music download nursing degree webcam newborn gifts home improvement yasmin email address secured credit card mexicana airline huge vibrator hotel barcelona insomnia last minute travel deal e mule suzuki outboards altace jobs canada scandinavian airlines 1990 audi 90 cortisol san diego charger tickets college grant film slot machines free sweet 16 beautiful russian bride buy propecia born shoes horse trailer e-bay salvia toyota accessory female orgasm holiday insurance uk hud homes internet casino car dealers pay bill adult chat rooms designer handbag cats bluetooth phones malaysia airline nba jerseys lowest airline ticket chanel handbag wedding chromium leather sofas garden tractor canadian pharmacy birmingham uk hotel live xxx web cam free antivirus software camera tripod school commerce bank cd rates statue of liberty plus size bra yamaha atv part electronic circuits plus size wedding dress toyota fj cruiser boston college firefox livestock fence bank forecloser nfl doctorate degrees reverse phone directory mp3 free ringtones for verizon kamagra 4x4 truck dog shampoos electric bike gmc envoy vicodin free online dating sites enterprise car rental consumer report refrigerator computer training jeeps true love game smiley central port st lucie physical therapy thyroid diazepam

The shotgun in the picture is a typical viewmodel.

A viewmodel is a model, typically a weapon, which is held in the players hands and can only be seen from the first person view. As it doesn't interfere with the rest of the game world, you can think of it as an overlay on the player's screen. In multiplayer, both the player model and the world model are rendered on players' screens for them to see.

Characteristics of viewmodels

The same model seen from another angle
  • A viewmodel is usually very detailed and uses high resolution textures.
  • Backfaces of the model that the player isn't going to see are often deleted to increase the performance a little bit.
  • Viewmodels have neither physical properties (like $surfaceprop) nor a $collisionmodel.
  • Usually named with a v_ prefix, whereas its world model starts with w_ - example: v_shotgun.mdl and w_shotgun.mdl

See also