Hi list,
I've here a new version (0.06) of msd externals... The problem is some messages are no more compatible with the 0.05 version. The D2 parameter that was used to simulate a kind of viscosity was a physical nonsense. Oriented links has been implemented, since D2 can be viewed as an oriented link, it has disappeared from the initial parameters.
The problem is that the usual link message now looks like : [link Id N°Id/mass N°/Idmass K D (Lmin Lmax) (, so it's no more compatible with the former message [link Id N°mass N°mass K D D2 (Lmin Lmax) (.
Has someone a big problem updating to this new syntax? If not, it will be commited on the CVS... as soon as I've made some examples and beautiful help files ;-)
Best greetings,
Nicolas
Hallo, Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:
The problem is that the usual link message now looks like : [link Id N°Id/mass N°/Idmass K D (Lmin Lmax) (, so it's no more compatible with the former message [link Id N°mass N°mass K D D2 (Lmin Lmax) (.
Could you elaborate a bit on this new parameters, maybe with an example? I don't quite unterstand what "N°Id/mass N°/Idmass" means.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41
hello,
Frank Barknecht a écrit :
Hallo, Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:
The problem is that the usual link message now looks like : [link Id N°Id/mass N°/Idmass K D (Lmin Lmax) (, so it's no more compatible with the former message [link Id N°mass N°mass K D D2 (Lmin Lmax) (.
Could you elaborate a bit on this new parameters, maybe with an example? I don't quite unterstand what "N°Id/mass N°/Idmass" means.
there is no new parameter, it's only that the D2 parameters is now removed. D2 was introduce by an early pmpd version. later, interactor were introduce to be able to do the same think on a more physical way, but D2 was still used for performances optimisation.
but now, there is no reason msd use this kind of parameter. so if nobody has problem with this, Nicolas will remove the D2 parameter on the list send to the msd object to create a link.
N°ID/mass and N°/IDmass is just a typo mistake. it still mean the mass identification number or name.
removing the D2 parameter will introduce an incompatibility with old patch, but it's not very hard to update them. (you just nead to create a viscosity link from every mass to a fixed point, D2 is just the viscosity of this new link.)
the exemples will be updated...
Cyrille
Ciao
Hallo, cyrille henry hat gesagt: // cyrille henry wrote:
N°ID/mass and N°/IDmass is just a typo mistake. it still mean the mass identification number or name.
Ah, okay, I was irritated by this typo.
removing the D2 parameter will introduce an incompatibility with old patch, but it's not very hard to update them. (you just nead to create a viscosity link from every mass to a fixed point, D2 is just the viscosity of this new link.)
Thank god I implemented a "one-to-many" link creation in my msd-editor! ;)
So from my point of view you can bury D2. The necessary changes to msd-editor will be easy and should just take about half an hour.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41
Frank Barknecht a écrit :
Hallo, cyrille henry hat gesagt: // cyrille henry wrote:
N°ID/mass and N°/IDmass is just a typo mistake. it still mean the mass identification number or name.
Ah, okay, I was irritated by this typo.
removing the D2 parameter will introduce an incompatibility with old patch, but it's not very hard to update them. (you just nead to create a viscosity link from every mass to a fixed point, D2 is just the viscosity of this new link.)
Thank god I implemented a "one-to-many" link creation in my msd-editor! ;)
yep, this replace pmpd's interactor stuff.
So from my point of view you can bury D2. The necessary changes to msd-editor will be easy and should just take about half an hour.
ok. as i don't think lot's of other peoples are using msd now, it should be safe to remove it...
cyrille
Ciao
Hallo, cyrille henry hat gesagt: // cyrille henry wrote:
Frank Barknecht a écrit :
Thank god I implemented a "one-to-many" link creation in my msd-editor! ;)
yep, this replace pmpd's interactor stuff.
I still wonder a bit, how to simulatr some of the pmpd-interactors like the line interactors with msd. At least I haven't found a simple way to build something like the Flipper with msd* yet.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41
Frank Barknecht a écrit :
Hallo, cyrille henry hat gesagt: // cyrille henry wrote:
Frank Barknecht a écrit :
Thank god I implemented a "one-to-many" link creation in my msd-editor! ;)
yep, this replace pmpd's interactor stuff.
I still wonder a bit, how to simulatr some of the pmpd-interactors like the line interactors with msd. At least I haven't found a simple way to build something like the Flipper with msd* yet.
Nicolas has made (and commit???) a new kind of link : oriented link.
this new link are active in 1 direction.
so it's now possible to do like line interactor or plane interactor. ambient or spherical interactor can be made with the one to many link. the segment interactor or all other interactor limited in the 3 dimentions are not yet possible to do.
i don't think adding more methodes to msd is not a good solution in the long run. i will have to try other new idea, but not for now...
cyrille
Ciao
Hi all,
Nicolas Montgermont a écrit :
The problem is some messages are no more compatible with the 0.05 version. The D2 parameter that was used to simulate a kind of viscosity was a physical nonsense. Oriented links has been implemented, since D2 can be viewed as an oriented link, it has disappeared from the initial parameters.
OK, commited. The D2 parameter has disappeared. It is now replace in the message by a power parameter that describe the power applied to the distance difference :
old "K(L[n] - L[0])" becames "K(L[n] - L[0])^p
It means that with L[0] = 0 and p = -2, you can make gravity field...
Oriented links has been implemented, you can now project forces onto lines or planes...
...and help files are made according to the template n°4 from Ben Bogart, with many infos in the "more_infos" subpatch and a few differences dues to the great number of messages.
Cheers,
Nicolas
Hallo, Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:
OK, commited. The D2 parameter has disappeared. It is now replace in the message by a power parameter that describe the power applied to the distance difference :
I also updated the msd-editor now. I took this occasion to move it to a different directory altogether: /externals/nusmuk/editor, because it officially can be used to edit msd2D and msd3D networks (in 2D), so I thought, hiding it inside msd2D is not appropriate.
Further changes: The data structure definition was extended to provide fields for
symbolic IDs. Specified as a float they will get converted to "#-l" and "#-m" for Links and masses respectively.
added editors for P, Lmin, Lmax, dropped D2 for Links.
Furthermore I did a big cosmetic overhaul, so the whole editor looks a lot nicer now, and made some changes to the algorithm that converts data structures to msd* objects.
Regarding the directed links, I'm considering to handle them with new data structures and their own editors, as the "liaison" structure is quite loaded already. I wonder how they should look graphically...
As usual all this is only available in CVS, anonymous checkouts will be up to date sometime tomorrow.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41