Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
pathfinding with gs-paths #249782
02/04/09 08:50
02/04/09 08:50

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



If you plan to use gs-paths for pathfinding you may be interrested in this function:

Feel free to contact me if you're in need of such function (sell/share).
It calculates the shortest distance from an entity to any position using the assigned (and complex) path:

demo (zip, 1.1MB)


[edit] for/using lite-c

Last edited by mercuryus; 02/04/09 08:54.
Re: pathfinding with gs-paths [Re: ] #249785
02/04/09 09:06
02/04/09 09:06
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cool! Keep up the good work!

Re: pathfinding with gs-paths [Re: Cowabanga] #249787
02/04/09 09:09
02/04/09 09:09

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



Thanx for your nice words... (the work is already done/finished) wink

Re: pathfinding with gs-paths [Re: ] #249799
02/04/09 11:02
02/04/09 11:02
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
How fast is your code for example for 500 nodes? Does the user notice that the function is running?

Re: pathfinding with gs-paths [Re: oliver2s] #249805
02/04/09 11:48
02/04/09 11:48

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



the ~100 nodes (of the demo) take ~200 microseconds (0.0002s) (using timer();) on my 2.4GHz Core2 CPU
(check the new demo [same link] for your pc)

[edit]the backtrace (find the previous node) takes the most time - so it depends a lot on the start and end position.


Last edited by mercuryus; 02/04/09 12:12.
Re: pathfinding with gs-paths [Re: ] #255370
03/09/09 22:31
03/09/09 22:31
Joined: Feb 2009
Posts: 9
united states
Y
yourmomma Offline
Newbie
yourmomma  Offline
Newbie
Y

Joined: Feb 2009
Posts: 9
united states
HOLY
SHIT!


teenage mutant ninja turtles pwn.
Re: pathfinding with gs-paths [Re: yourmomma] #255375
03/09/09 23:13
03/09/09 23:13
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
damned... i worked on pathfinding all last summer... give me the wall laugh
very good work


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: pathfinding with gs-paths [Re: VeT] #255976
03/13/09 21:57
03/13/09 21:57
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
is this calculating nodes, wich i create in runtime, too???


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: pathfinding with gs-paths [Re: Espér] #256047
03/14/09 09:37
03/14/09 09:37

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



This is for paths within 3DGS only and as far as i know you can't change the number of nodes/edges of these paths at runtime.
It's also not possible to create circles/loops with these paths.

For all this I've made the more flexible "flex-path-system":
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=250177#Post250177

Re: pathfinding with gs-paths [Re: ] #265727
05/13/09 19:58
05/13/09 19:58
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
darn, this would really help me out... but am afraid i cant pay for it, funny thing is, cash isnt tha problem, i just havent been thru the whole 'buying stuff online' thing yet laugh :-"...

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1