what is an edge ?
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 ??
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 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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement