| VBGamer | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 		
	3D Mapeditor w vertexselecting (picking) help me!!   YellowSheep  (4 replies, 0 views)  (2000-Sep-28)   (Sorry for my bad english Im german!)
Well Im trying to build up a good mapeditor für 3d scenes... 
I thought of this:
An arry[maxnodes] takes infos with it around and an bool: ISUSED 
and for selecting:
Sub select (x,y,blaaaa shift and so on)
dim i
for i = 0 to maxnotes
  if node(i).isused = true
   if not x is beween x - 5 and x+5 exit sub
    the same with y
   
    take info out of it
  end if
next
and now my prob:
I made a map with a loop so that the map has 2000 nodes... at first I get out of memory, and then I had to wait 10 mins or so just for calculating one select
can someone give me a hint on how to speed it up...
My ICQ: 60156683
  
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
