#### Archived

This topic is now archived and is closed to further replies.

# what is an edge ?

This topic is 6294 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

hi, i want to write a simple bsp renderer. i read a tutorial so i only know the theoretical part of bsp-tree generating and bsp rendering. i decided to use quake2-bsp''s because i found the tutorial from flipcode about the quake2 bsp-file format. first of all i dont''t want to render only the cluster i am in, i want to render all faces in the map. but i don''t understand what an edge is. if i understood it correctly, an edge has two indices into the vertexarray. but ... aaammm ... ?????!!!???? can someone explain me what an edge is or how can i use it ??

##### Share on other sites
Well think of what an edge is in reality and thats pretty much what it is in 3D theory.

Lets say you have a cube:

A_________B |\       |\ | \______|_\ | |H     | |G |_|______|C|D \|       \|   \________\   E         F

A-B is an edge, B-C is an edge, C-D is an edge D-A is an edge
D-E is an edge E-F is an edge, F-G is an edge G-B is an edged, G-H is an edge, etc...

A-C is not an edge, B-D is not an edge. A-F is not an edge, B-E is not an edge, etc...

Seeya
Krippy

1. 1
2. 2
frob
20
3. 3
4. 4
Rutin
17
5. 5

• 21
• 13
• 10
• 9
• 18
• ### Forum Statistics

• Total Topics
632555
• Total Posts
3007050

×