Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "r showtris"

From Quake Wiki

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Image:r_showtris_start.jpg|thumb|right|Start map with r_showtris enabled]]The '''r_showtris''' [[Console_variables | cvar]] is a developer command that shows the outlines of world and object polygons as triangles. It is helpful for optimizing geometry and [[Vis | vis-blocking]].
 
[[Image:r_showtris_start.jpg|thumb|right|Start map with r_showtris enabled]]The '''r_showtris''' [[Console_variables | cvar]] is a developer command that shows the outlines of world and object polygons as triangles. It is helpful for optimizing geometry and [[Vis | vis-blocking]].
  
It has three posible staten 0 to 2
+
It has three posible states 0 to 2
:--0: Disable this feature.
+
: 0: Disable this feature.
:--1: Enables it like in the picture.
+
: 1: Enables it like in the picture.
:--2: Also enables it, but it won't show what's rended behind a wall like 1.
+
: 2: Also enables it, but it won't show what's rended behind a wall like 1.
  
 
The command is only available in certain [[List_of_engines_and_ports | engine ports]], such as [[Fitzquake]], [[forks]], [[DarkPlaces]] and [[QuakeSpasm]].
 
The command is only available in certain [[List_of_engines_and_ports | engine ports]], such as [[Fitzquake]], [[forks]], [[DarkPlaces]] and [[QuakeSpasm]].

Latest revision as of 14:33, 22 January 2020

Start map with r_showtris enabled
The r_showtris cvar is a developer command that shows the outlines of world and object polygons as triangles. It is helpful for optimizing geometry and vis-blocking.

It has three posible states 0 to 2

0: Disable this feature.
1: Enables it like in the picture.
2: Also enables it, but it won't show what's rended behind a wall like 1.

The command is only available in certain engine ports, such as Fitzquake, forks, DarkPlaces and QuakeSpasm.