Source Particle Benchmark: Difference between revisions

No edit summary
Cvoxalury (talk | contribs)
Script files do not countain sounds, merely reference them
 
(82 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Article|rw|hl2|safe}}
{{Article|rw|hl2|good}}
{{Noncanon}}
{{Noncanon}}
{{Game_Infobox
{{Game Infobox
|image=[[File:Particle Benchmark.svg|250px]]
|image=[[File:Particle Benchmark.svg|250px]]
|image2=
|image2=
Line 10: Line 10:
|genre=[[Wikipedia:Benchmark (computing)|Benchmark]], [[Wikipedia:First-person shooter|first-person shooter]]
|genre=[[Wikipedia:Benchmark (computing)|Benchmark]], [[Wikipedia:First-person shooter|first-person shooter]]
|mode=
|mode=
|platform=[[Wikipedia:Microsoft Windows|Microsoft Windows]]
|platform=[[Wikipedia:Microsoft Windows|Windows]]
|hidep=
|hidep=
|hideu=
|hideu=
Line 26: Line 26:
}}
}}


The '''Source Particle Benchmark''', also known as the '''Multicore CPU Particle Simulation Benchmark''', is a late 2006 [[Wikipedia:Benchmark (computing)|benchmark]] which introduced some of the new and more advanced features of the [[Source]] engine and [[Valve]]'s hybrid threading technology, such as dynamic shadows and particle-based effects, and their performance on multi-core processors. It contains several scripts, models, textures and a single demonstration map where five rooms can be visited, four of which containing particle effects. It was given by Valve to some visitors at [http://www.gdconf.com/ GDC] 2007,{{Fact}} as well as other people.<ref name="Hard">[http://www.hardocp.com/article/2006/11/06/valve_softwares_source_engine_multithreaded_preview/4 Valve Software's Source Engine Multi-Threaded Preview] on [H]ard|OCP</ref>
The '''Source Particle Benchmark''', also known as the '''Multicore CPU Particle Simulation Benchmark''', is a late 2006 [[Wikipedia:Benchmark (computing)|benchmark]] which introduced some of the new and more advanced features of the [[Source]] engine and [[Valve]]'s hybrid threading technology, such as dynamic shadows and particle-based effects, and their performance on multi-core processors. It contains several scripts, models, textures and a single demonstration map where five rooms can be visited, four of which containing particle effects. As part of a larger series of several benchmarks (see below), it was given by Valve to some visitors at [https://www.gdconf.com/ GDC] 2007,{{Fact}} as well as other people.<ref name="Hard">{{IA|20100626021051/http://www.hardocp.com:80/article/2006/11/06/valve_softwares_source_engine_multithreaded_preview/4|Valve Software's Source Engine Multi-Threaded Preview|[H]ard<nowiki>|</nowiki>OCP (November 6, 2006)}}</ref>


==Overview==
==Overview==
 
[[File:Particle benchmark main room.jpg|The central room, with the button.|thumb|200px|right]]
*The Source Particle Benchmark pack consists of three folders:
*The Source Particle Benchmark pack consists of three folders:
 
:*The first, named <code>map compilation benchmark</code>, allows to compile a map set in the ''Episode One'' [[Citadel]], <code>ep1_citadel_03</code>, through the file <code>build_map.bat</code> to see how long it takes for the used computer to compile a map.<ref name="Hard"/> As it is not to be played, the map is incomplete.
:*The first, named "map compilation benchmark", allows to compile a map set in the ''Episode One'' [[Citadel]], <code>ep1_citadel_03</code> through the file "build_map.bat" to see how long it takes for a computer to compile a map.<ref name="Hard">[http://www.hardocp.com/article/2006/11/06/valve_softwares_source_engine_multithreaded_preview/4 Valve Software's Source Engine Multi-Threaded Preview] on [H]ard|OCP</ref> As it is not to be played, the map is incomplete.
:*The second folder, named <code>particle simulation benchmark</code>, contains the main test map, <code>particle_benchmark</code>, where the particle effects are showcased (to be launched with the file <code>particle_benchmark.bat</code> located in the subfolder <code>game</code>). To view them, the player has to trigger them with a button with under it the sign "Particle Benchmark", conveniently placed in the middle of the central room connected to the four other rooms, then a demo will showcase the four effects in their respective rooms. The player can also walk into the rooms to view the effects from different angles. When all effects have been viewed with the button, a benchmark score named "Particle Performance Metric" is displayed on the top-right of the screen. This is a representation of the amount of particles per second (in thousands) that the CPU is able to calculate.<ref name="Hard"/> If the player has a highly equipped computer, the score will be high (more than 100, for instance). If not, the score will be low (around 35, for instance).
 
:*The third and last folder, <code>presentation slides</code>, contains a PowerPoint presentation, named <code>multicore_hardware_day.ppt</code> and dated November 1st, 2006, about the new features of the Source engine, and their relation to multi-core processors. All files are dated October 27, 2006 or November 1st, 2006.
:*The second folder, named "particle simulation benchmark", contains the main test map, <code>particle_benchmark</code>, where the particle effects are showcased (to be launched with the file "particle_benchmark.bat" located in the subfolder "game"). To view them, the player has to trigger them with a button with under it the sign "Particle Benchmark", conveniently placed in the middle of the central room connected to the four other rooms, then a demo will showcase the four effects in their respective rooms. The player can also walk themself into the rooms to view the effects from different angles. When all effects have been viewed with the button, a benchmark score named "Particle Performance Metric" is displayed on the top-right of the screen. This is a representation of the amount of particles per second (in thousands) that the CPU is able to calculate.<ref name="Hard">[http://www.hardocp.com/article/2006/11/06/valve_softwares_source_engine_multithreaded_preview/4 Valve Software's Source Engine Multi-Threaded Preview] on [H]ard|OCP</ref> If the player has a highly equipped computer, the score will be high (more than 100, for instance). If not, the score will be low (around 35, for instance).
[[File:Particle benchmark waterfall.jpg|The particle waterfall.|thumb|200px|left]]
 
:*The third and last folder, "presentation slides", contains a PowerPoint presentation, named "multicore_hardware_day.ppt" and dated November 1st, 2006, about the new features of the Source engine, and their relation to multi-core processors. All files are dated October 27, 2006 or November 1st, 2006.
 
*In the Particle Benchmark script files, some information about the early stages of the development of ''[[Half-Life 2: Episode Two]]'' can be found:
*In the Particle Benchmark script files, some information about the early stages of the development of ''[[Half-Life 2: Episode Two]]'' can be found:
:*The file <code>level_voices_episode_02.txt</code> shows that two characters cut from the final game, Cyril and Fred, are mentioned. They were to be seen in the map <code>outland_06</code> near the bridge where the [[Muscle Car]] is found, and say several things together and to the other protagonists.
:*The file <code>level_voices_episode_02.txt</code> also reveals that [[the G-Man]] heart-to-heart monologue with [[Gordon Freeman]] originally was to be much longer.
:*The file <code>level_voices_episode_02.txt</code> also references the sound files related to [[Alyx Vance]]'s [[Alyx Vance#Behind the scenes|fall]] at the start of the game in the map <code>outland_01</code>, featured in the [https://www.youtube.com/watch?v=J6_pSnKUXt0 first ''Episode Two'' teaser trailer].
:*The previous elements are still present in the version of <code>level_voices_episode_02.txt</code> found in the retail ''Episode Two'' files.
:*A dedicated rain sound existed at some point, to be located in <code>sound/ambient/levels/forest/rain_loop1.wav</code> and possibly hinting at a planned rainy level for showcasing particle effects.
:*The background texture used in the Particle Benchmark menu appears to be a blurred screenshot of an early location called [[Riverbed]].
[[File:Particle benchmark npc surface.jpg|The entity <code>npc surface</code> spawned in-game.|thumb|200px|right]]
*A colored entity named <code>npc_surface</code>, used to simulate dynamic liquids, can be spawned using a console command "give npc_surface". Interestingly, its model is named <code>[[Hydra]].mdl</code>, but it appears to be different and cannot be found in the files. When touched, it takes away 5 health points. Hydra textures can also be found in the texture files. According to [[Erik Wolpaw]], the experiment behind <code>npc_surface</code> was applied to the [[Mobility Gels]] in ''[[Portal 2]]'', with additional influence from ''[[Tag: The Power of Paint]]''.<ref>{{IA|20110830031424/http://www.next-gen.biz/features/portal-2-preview|''Portal 2'' Preview|Edge Magazine (March 18, 2011)}}</ref>
*Another entity, <code>[[Blob|npc_blob]]</code>, can be spawned in-game. The model is broken, and it appears as several "ERROR" models jumping randomly. When spawning, the console displays "Late precache of models/headcrab.mdl" and "Late precache of models/w_squeak.mdl", suggesting a relation with the [[Classic Headcrab|Headcrab]] and the [[Snark]]. Copy/pasting the Snark model from ''[[Half-Life: Source]]'' in the model files replaces the "ERROR" model, showing the proper result, thus Snarks jumping randomly. It does not hurt the player. It appears that this entity was used for another similar demonstration, [[Snark#Dynamic Environmental Interaction demonstration room|Dynamic Environmental Interaction]], showing Snarks' reaction to environment objects.
*The console reveals that the username in use is "ErikJ", or [https://www.mobygames.com/developer/sheet/view/developerId,6359/ Erik Johnson], project manager at Valve.
*The CFG file <code>leipzig.cfg</code> found in the files, and also featured in the ''Episode Two'' files, lists the five ''Episode Two'' "Gameplay Videos" showcased in September 2006.<ref>[https://www.youtube.com/playlist?list=PL2F63F747C3E6D365 ''Episode Two'' video playlist] on YouTube</ref>
*In the folder <code>demo</code> of the ''Episode Two'' texture files can be found more other demo signs, showing that the Particle Benchmark was only one of many demos. They include "Adaptive Density", "AI Test Lab", "Chow Time", "Complex Collision Detection", "Dynamic Environmental Interaction", "Physics Integration", and "Precision + Coordination". The Particle Benchmark sign can also be found there, but it is spelled "Particle Simulation Benchmark" instead of "Particle Benchmark".
*Two Source Filmmaker movies created in ''[[Half-Life 2: Episode One]]'' can be found in the "episodic\elements\sessions" directory.
*The file <code>ep2\reslists\unreferenced_files.lst</code> lists all ''Episode Two'' files existing as of October 2006.


:*The file "level_voices_episode_02.txt" shows that two characters cut from the final game, Cyril and Fred, are mentioned. They were to be seen in the map "<code>outland_06</code>" near the bridge where the [[Muscle Car]] is found, and say several things together and to the other protagonists.
==Gallery==


:*The file "level_voices_episode_02.txt" also reveals that [[the G-Man]] heart-to-heart monologue with [[Gordon Freeman]] originally was to be much longer.
<gallery>


:*The file "level_voices_episode_02.txt" also contains the sound files related to [[Alyx Vance]]'s [[Alyx Vance#Behind the scenes|fall]] at the start of the game in the map "<code>outland_01</code>", featured in the [http://store.steampowered.com/app/916/ first ''Episode Two'' teaser trailer].
:*The previous elements are still present in the version of "level_voices_episode_02.txt" found in the retail ''Episode Two'' files.
:*A rainy level was planned at some point, likely to showcase particle effects.
:*The background texture used in the Particle Benchmark menu appears to be a blurry screenshot of an early version of the railway bridge featured at the beginning of ''[[Half-Life 2: Episode Two]]''.
*A colored entity named "npc_surface", used to simulate dynamic liquids, can be spawned using a console command "give npc_surface". Interestingly, its model is named "[[Hydra]].mdl", but it appears to be different and cannot be found in the files. When touched, it takes away 5 health points. Hydra textures can also be found in the texture files.
*Another entity, "npc_blob", can be spawned in-game. The model is broken, and it appears as several "ERROR" models jumping randomly. When spawning, the console displays "Late precache of models/headcrab.mdl" and "Late precache of models/w_squeak.mdl", suggesting a relation with the [[Standard Headcrab|Headcrab]] and the [[Snark]]. Copy/pasting the Snark model from ''[[Half-Life: Source]]'' in the model files replaces the "ERROR" model, showing the proper results. This entity was probably used for performance tests.
*The console reveals that the username in use is "ErikJ", or [http://www.mobygames.com/developer/sheet/view/developerId,6359/ Erik Johnson], project manager at Valve.
*The cfg file "leipzig.cfg" found in the files, and also featured in the ''Episode Two'' files, lists the five ''Episode Two'' "Gameplay Videos" showcased in September 2006.<ref>[http://store.steampowered.com/search/?term=HL2%3AEP2+Gameplay+Video ''Episode Two'' Gameplay Videos] on Steam</ref>
*In the folder "demo" of the ''Episode Two'' texture files can be found more other demo signs, showing that the Particle Benchmark was only one of many demos. They include "Adaptive Density", "AI Test Lab", "Chow Time", "Complex Collision Detection", "Dynamic Environmental Interaction", "Physics Integration", and "Precision + Coordination". The Particle Benchmark sign can also be found there, but it is spelled "Particle Simulation Benchmark" instead of "Particle Benchmark".
==Gallery==
<gallery widths="140px" heights="140px">
File:Particle benchmark main room.jpg|Central room, with the button.
File:Particle benchmark dynamic shadows.jpg|Dynamic shadow produced by a flashlight.
File:Particle benchmark dynamic shadows.jpg|Dynamic shadow produced by a flashlight.
File:Particle benchmark rain01.jpg|Particle rain.
File:Particle benchmark aurora.jpg|The particle energy ring.
File:Particle benchmark rain02.jpg|Ditto, seen from inside.
File:Particle benchmark sphere.jpg|The particle sphere.
File:Particle benchmark waterfall.jpg|Particle waterfall.
File:Particle benchmark rain01.jpg|The particle rain.
File:Particle benchmark aurora.jpg|Particle energy ring.
File:Particle benchmark rain02.jpg|Ditto, from inside, looking back at the central room.
File:Particle benchmark sphere.jpg|Particle sphere.
File:Particle benchmark npc blob.jpg|The entity <code>npc_blob</code> spawned in-game, with fixed models.
File:Particle benchmark npc surface.jpg|The entity "npc_surface" spawned in-game.
File:Particle benchmark console bg.png|Background menu texture, showing a location called [[Riverbed]].
File:Particle benchmark console bg.png|Background menu texture.
File:Particle Simulation Benchmark.svg|The Particle Benchmark sign as seen in the ''Episode Two'' texture files.
File:Particle Simulation Benchmark.svg|The Particle Benchmark sign as seen in the ''Episode Two'' texture files.
</gallery>
</gallery>


==Notes and references==
==See also==
*[[List of pre-release Half-Life builds|List of pre-release ''Half-Life'' builds]]
 
==References==
{{Reflist}}
{{Reflist}}


==External links==
{{Games}}
*{{YouTube|url=QQiI7rUZE4U|text=Playthrough}}
*[http://www.hardocp.com/article/2006/11/06/valve_softwares_source_engine_multithreaded_preview/4 Valve Software's Source Engine Multi-Threaded Preview] on [H]ard|OCP
 
{{RW}}
[[Category:Half-Life 2: Episode Two]]
[[Category:Half-Life 2: Episode Two]]
[[Category:The Orange Box]]
[[Category:Technology demos]]
[[Category:Games]]
[[Category:Pre-release builds]]
[[Category:Non-canon games]]