This forum is a read-only archive. Posting and registration are closed.
Cockpit graphics
- Mikey
- DJ Mikey
- Posts: 10
- Joined: Fri Nov 24, 2006 8:09 pm
I can't remember, what was the conclusion of the different ships with different cockpit graphics?
-
Paul

- Da Man
- Posts: 54
- Joined: Fri Nov 24, 2006 3:17 am
I added very basic vector graphics, allowing the creation of colored polygons like the default frame. Currently, the default panels and buttons cannot be moved.
The default frame is created as follows:
<FRONT>
<QUADS>
Color .5, .5, .5
Vertex -.83, 1
Vertex -.83, .555
Color 0, 0, 0
Vertex -.67, .555
Vertex -.67, 1
Vertex -1, -1
Vertex -.67, .555
Color .5, .5, .5
Vertex -.83, .555
Vertex -1.15, -1
Vertex 1.15, -1
Vertex .83, .567
Color 0, 0, 0
Vertex .67, .567
Vertex 1, -1
Vertex .67, 1
Vertex .67, .567
Color .5, .5, .5
Vertex .83, .567
Vertex .83, 1
</QUADS>
</FRONT>
<REARSAME>
If you want the front and rear frames to be different, instead of the <REARFRAME> tag, uses <REAR></REAR> tags.
In addition to the <QUAD> tag, supported tags are:
The default frame is created as follows:
<FRONT>
<QUADS>
Color .5, .5, .5
Vertex -.83, 1
Vertex -.83, .555
Color 0, 0, 0
Vertex -.67, .555
Vertex -.67, 1
Vertex -1, -1
Vertex -.67, .555
Color .5, .5, .5
Vertex -.83, .555
Vertex -1.15, -1
Vertex 1.15, -1
Vertex .83, .567
Color 0, 0, 0
Vertex .67, .567
Vertex 1, -1
Vertex .67, 1
Vertex .67, .567
Color .5, .5, .5
Vertex .83, .567
Vertex .83, 1
</QUADS>
</FRONT>
<REARSAME>
If you want the front and rear frames to be different, instead of the <REARFRAME> tag, uses <REAR></REAR> tags.
In addition to the <QUAD> tag, supported tags are:
- <POINTS>
- <LINES>
- <LINESTRIP>
- <LINELOOP>
- <TRIANGLES>
- <TRIANGLESTRIP>
- <TRIANGLEFAN>
- <QUADSTRIP>
- <POLYGON>
Differentiation is an integral part of calculus.