Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075919 Posts in 44152 Topics- by 36120 Members - Latest Member: Royalhandstudios

December 29, 2014, 03:29:09 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)pathfinding in 3d (memory usage)
Pages: 1 [2]
Print
Author Topic: pathfinding in 3d (memory usage)  (Read 2283 times)
PompiPompi
Level 10
*****



View Profile WWW
« Reply #20 on: August 08, 2012, 07:56:50 PM »

Is it possible to simply compile your game to 64 bits? XD
Logged

Master of all trades.
Laurent C
Level 0
**


View Profile
« Reply #21 on: August 08, 2012, 08:10:53 PM »

Is it possible to simply compile your game to 64 bits? XD
He's clearly using too much ram and I doubt 64 bits will help. I am making a similar game and my pathfinder works fine with just 16 bits for now.

Logged
PompiPompi
Level 10
*****



View Profile WWW
« Reply #22 on: August 09, 2012, 05:54:06 AM »

16 bits? O_O
Well it really depends what he\she is doing. If it is possible to compress the weight map, if it is possible to make assumptions on the A* process itself.
64 bit is a viable solution. Of course it make less sense for certain games than others.
If you are workign on a 2D platformer it's a bit awkward to demand 8GB of memory.
If it is a minecraft like game, then it make sense.
Logged

Master of all trades.
dougbinks
Level 0
*


View Profile WWW
« Reply #23 on: August 29, 2012, 08:36:41 AM »

You might want to take a look at Mikko's Recast and Detour (http://code.google.com/p/recastnavigation/ ) for some inspiration. Recast was designed for polygon mesh to navigation mesh conversion, but it uses a voxel like approach to create the navmesh.
Logged

powly
Level 3
***



View Profile WWW
« Reply #24 on: August 29, 2012, 09:22:03 AM »

I hope I'm missing something here, or why don't you just use a linked list of all open/closed nodes and only push adjacent nodes into the list? That sholdn't grow too big if you don't have a huge 3D maze, in which case you'll end up using lots of memory anyway.
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic