30

lol
je vias faire le meme programme sur la calc

31

En quel langage ?
Parce que je suis déjà en train de le porter sur tigcc, alors si tu veux mes sources...oui
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

32

mais non voyons..
regarde ma signature...
rotfl

33

ok !
rotfl
rotfl
#rotfl
[edit]Edité par pyroangel le 24-03-2002 à 12:03:05[/edit]
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

34

attentionça la fout pas ts ces smileys qui roulent, ça fout le mal de mer...alien

fou Tu vas t'amuser avec la fonction récursive de découpage des polygones en triangles!!!
Basic powaaaaaaa!!!bang
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

35

j veux pas que ca soit rapide, je veux juste que ca marche parfaitement
apres je le retranscririas dans un autre langage, mais pour toruver des algo le basic c bien

36

Je vois...wink
Et puis c'est facile à débugger, vu que c interprétérotfl
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

37

SI VOUS AVEZ DES SUGGESTIONS DE NOMS DE DOMAINE POUR UN SITE DE ROBOTIQUE, ELLES SONT LES BIENVENUES!!!!!!!!!top

CA NOUS EVITERAIT DE METTRE UN NOM BIDONtriso

Õn pourrait même organiser un vote (@yaro, faut que t'impléùentes ça ds la nvelle versio du forum!!!grin
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

38

bau tu peux deja faire un sondage c pas mal aussi

39

Bonne idée... grin

Robotique_libre mourn?
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

40

un truc du genre GNU : (G)NU's (N)ot (U)nix !!! cool

Robotiq_newbies !!! picol newbies powaaaaaa!

Robots_pour_tous ?eek (ou Robotique_pour_tous)

Robotique_facile ????roll

Communauté_libre_française_pour_la_robotique (C.L.F.R.)alien ?

loveVotez ou suggérez moi des noms SVP !!!
pencilA VOS CRAYONS !!!
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

41

.. Manque un dll : BORLNDMM.DLL roll

Tu pourrais pas tous les inclures dans le prog, ou au moins tous les mettre en téléchargement ?
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

42

moi je voudrais le meme prog mais sur la calc...

43

Bah fais-le tongue

Moi j'aimerais pvoir l'essayer pour voir à koi ça ressemble, et pê l'adapter dans un jeu.
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

44

bob cf ma question ds le topic sur basic

45

bah la réponse c non sad

je prog jamais des trucs compliqués pour les laisser tomber après
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

46

pkoi laisser tomber ???
apres tu te construit une interface et tu pilotes un chtit robot en 100% basic

47

bah oué mais justement... j'ai dit que si j'avais fait qq chose comme ça, je l'aurais pas laissé tomber.

mais j'ai jamais fait de pathfinding.
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

48

c l'occasion de s'y mettre, moi aussi je n'y connais abosulment rien.

49

ça y est g choppé le dll qui me manquait... v tester..;
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

50

moi j'arrive pas a le faire marcher sur XP son prog

51

GRRRRRR....

1) Le programme a besoin de fichiers un peu partout, un txt dans c:, et il en crée d'autres sans prévenir.
2) Certaines options font planter completement le prog.
3) Super l'éditeur de carte, mais pour voir le pathfinding en lui-même on fait comment ? Parceque les 2 autres exe refusent de se lancer...

Bref... J'espere que c'était pas comme ça a votre TPE... En tout cas les progs qui créent des trucs dans c:, ou c:windows, ou system, etc, je déteste ça.

Alors est-ce que tu peux expliquer ton algo ici ?
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

52

il y a les sources en c sur le site pour voir l'algo.
J'ai telechargé et j'ai rien compris...
je cherche des articles sur internet ca ira plus vite

53

C très simple, vous énervez pas...smile

D'abord, pour les dll, je prog sous windows 98 avec C++ Builder, et même quand tu lui dis d'inclure la runtime dans l'exec il a encore besoin de dll's.mad Je souhaitais m'excuser du désagrément.

Ensuite, ça a été prévu pour un robot donc c pas compliqué, c'est borné, et ça va tout chercher dans C:

Procédure :
___________

1) on exécute C:wgraph.exe

Il va chercher la carte dans C:Carte.txt, il va chercher les coordonnées des points de départ et d'arrivée dans Cgrinep_arr.txt, et il qui écrit C:triangles.txt, la liste des triangles obtenus par le découpage des polygones de la carte et C:wgraph.txt, le graphe de visibilité de la carte.

2) on lance C:Trajectoire.exe

Il va chercher la carte au même endroit, les coordonnées des points au même endroit, il charge C:wgraph.txt (on ne l'a pas calculé pour rien), et il enregistre la trajectoire dans C:trajectoire.txt

grin_______________________________________________________________

TOUS LES PROGS ET TOUS LES FICHIERS DOIVENT ETRE DANS C: SINON LES PROG NE SE LANCENT PAS. AUCUN FICHIER NE DOIT ETRE EN LECTURE SEULE !!!!!!!!mad

LE PROG NE CREEE ET N'UTILISE QUE CES FICHIERS !!!!
___________________________________________________________________________

L'éditeur de carte fait les deux étapes à ta place si t'as tout bien installé et seulement si t'as tout bien installé !!!!!!fou


Et ça a marché parfaitement à l'oral du TPE ! grin
Qd t'utilises l'éditeur de mapzzzdoommiam
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

54

Oui mais putain faut tout mettre dans C est ça c'est vraiment chiant. J'ai pas envie de le tester rien que pour ça.
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

55

Bon g testé quand même...

Alors en effet, le programme est très bien pour trouver un chemin, mais ça serait quand même mieux si il pouvait éviter de passer par les murs gringringrin

Un petit screenshot pour imortaliser le travail...

Bref, absolument génial, le jour ou je vois un ennemi faire ça dans un RTS je te préviens cool
[edit]Edité par Bob 64 le 25-03-2002 à 21:56:14[/edit]
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

56

En fait, j'ai un pb : j'ai fait une fonction pour voir si un segment intersecte un triangle. Mais quand les trois points du triangle sont presque alignés, avec les approximations de calcul, le résultat tombe faux et il croit pouvoir traverser le triangle...mad

Dans la fonction Intersection_triangle(blablabla, blablabla, ...)

il faut passer tous les long en double ou float, pour que ça marche. smile

(-> Modif de dernière minute le matin du TPE )eek
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

57

Pour un jeu c pas mal non + Dijkstra...confus
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

58

ça marche avec koi ? des polygones ou du case par case ?
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)

59

ça marche avec des polygones, et c'est ça l'intérêt !

T'es pas limité et l'algo visite pas 10 000 cases pour rien !smile
whether the weather be fine
or whether the weather be not,
whatever the weather,
we'll weather the weather

60

Bah oui mais pr un jeu à la starcraft, tu les trouve ou tes polygones ???
Moi je vois pas ça comme un interet, au contraire...
avatar
All right. Keep doing whatever it is you think you're doing.
------------------------------------------
Besoin d'aide sur le site ? Essayez par ici :)