PRT: Difference between revisions
Jump to navigation
Jump to search
Cargo Cult (talk | contribs) m (Categorisation) |
TomEdwards (talk | contribs) m (link fixes) |
||
Line 1: | Line 1: | ||
A '''p'''o'''rt'''al (.prt) file is a list of the portals in your .[[ | A '''p'''o'''rt'''al (.prt) file is a list of the portals in your .[[BSP]], generated by [[vbsp|VBSP]] and then used by [[vvis|VVIS]] to perform visibility calculations. It is a simple ASCII file and its format is as follows: | ||
<code> | <code> | ||
Line 10: | Line 10: | ||
...</code> | ...</code> | ||
The PRT1 signature is specific to [[Source]], older tools don't generate it. You can view these files in [[GLView]]. | The PRT1 signature is specific to [[Source]], older tools don't generate it. You can view these files in [[glview|GLView]]. | ||
== See Also == | == See Also == |
Revision as of 05:27, 14 August 2006
A portal (.prt) file is a list of the portals in your .BSP, generated by VBSP and then used by VVIS to perform visibility calculations. It is a simple ASCII file and its format is as follows:
PRT1
<Leaf Count>
<Portal Count>
<Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)...
<Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)...
<Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)...
...
The PRT1 signature is specific to Source, older tools don't generate it. You can view these files in GLView.