.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: Optimizing waypoint graph using an Octree
Old
  (#11)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Optimizing waypoint graph using an Octree - 13-02-2005

that's a good reason, but you could still organise your walkfaces like in the bsp, so you'd still have a nice method to search.

anyway, optimizing this one function isnt the most important topic we are working on


  
Reply With Quote
Re: Optimizing waypoint graph using an Octree
Old
  (#12)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Optimizing waypoint graph using an Octree - 13-02-2005

I meant to build one from the world data.


sfx1999.postcount++
  
Reply With Quote
Re: Optimizing waypoint graph using an Octree
Old
  (#13)
Killaruna
Moderator
 
Status: Offline
Posts: 32
Join Date: Jan 2004
Location: Heidelberg, Germany
Default Re: Optimizing waypoint graph using an Octree - 16-02-2005

There's a very efficient library for searching nearest neighbours in arbitrary dimensions. Have a look here
Internally, it uses different search strategies like kd-trees etc that you rather don't want to code yourself if you don't have to. I've tried it, works great.
  
Reply With Quote
Re: Optimizing waypoint graph using an Octree
Old
  (#14)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Optimizing waypoint graph using an Octree - 17-02-2005

man, every year Killaruna creeps out of the grave

so what do you have in your basket this year?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com