Welcome! Log In Create A New Profile

Advanced
Re: Thoughts on animation scripting language
avatarMarch 09, 2014 01:33PM
Quote

Have you planned access/interaction with path data? I mean not only changing control points, etc., but for example measuring path length or setting a position/orientation along a path.

I'm not sure changing the dynamic parts through script will be in the first version, as it needs some changes to the way they are regenerated at the moment. But they will be scriptable in the long run. Or do you mean a spline like function for plotting e.g. the route of a minifig? If so there are probably already lua libraries for that. I've set up the ldc.matrix object so it also excepts 12 numbers (ldraw style matrix), that way you can link it to any third party lua library doing (more complicated) matrix/quat/etc math.


Quote

Any helping functions you can add for things like the mechanism in the first of these models would be welcome too (ball joints, fixed lengths, sliding axles).

At the moment I'm working with the idea to keep the C++ callback api very basic, so a special lua object for common objects (matrix, group, ldraw ref line, etc). On top of that you could build pure lua libraries which might 'hide' the internal matrix stuff and let people work with just angles / predefined functionality (e.g. steering rack) etc.

That said I do plan to add special (joint) info to groups which would expose e.g. the rotation vector for a gear/minfig arm to the scripting side so you don't have to know the exact placement of stuff to rotate a minifig arm. The additional group info would also allow for interaction with those 'joints', the script could then handle realtime dependency calculations.


Thanks for the input
SubjectAuthorViewsPosted
Thoughts on animation scripting language Roland Melkert403February 04, 2014 02:26PM
Re: Thoughts on animation scripting language Orion Pobursky141February 04, 2014 03:40PM
Re: Thoughts on animation scripting language Philippe Hurbain131February 05, 2014 12:35AM
Re: Thoughts on animation scripting language Roland Melkert131February 05, 2014 10:13AM
Re: Thoughts on animation scripting language Philippe Hurbain109February 05, 2014 11:12AM
Re: Thoughts on animation scripting language Roland Melkert111February 05, 2014 12:07PM
Re: Thoughts on animation scripting language Orion Pobursky133February 05, 2014 03:25PM
Re: Thoughts on animation scripting language Roland Melkert111February 05, 2014 05:34PM
Re: Thoughts on animation scripting language Orion Pobursky110February 05, 2014 06:10PM
Re: Thoughts on animation scripting language Ben Supnik133February 05, 2014 06:15PM
Re: Thoughts on animation scripting language Roland Melkert115February 06, 2014 10:38AM
Re: Thoughts on animation scripting language Ben Supnik141February 06, 2014 05:21PM
Re: Thoughts on animation scripting language Roland Melkert141February 10, 2014 04:48PM
Re: Thoughts on animation scripting language Stephen99February 11, 2014 08:33AM
Re: Thoughts on animation scripting language Roland Melkert112February 11, 2014 12:58PM
Re: Thoughts on animation scripting language Stephen109February 11, 2014 04:54PM
Re: Thoughts on animation scripting language Roland Melkert107February 12, 2014 09:27AM
Re: Thoughts on animation scripting language Tore Eriksson121February 17, 2014 01:02PM
Re: Thoughts on animation scripting language Roland Melkert112February 17, 2014 03:36PM
Re: Thoughts on animation scripting language Tore Eriksson118February 19, 2014 11:21AM
Re: Thoughts on animation scripting language Ignacio Fernandez Galvan108February 19, 2014 11:55AM
Re: Thoughts on animation scripting language Roland Melkert119February 19, 2014 01:42PM
Re: Thoughts on animation scripting language Sergio Reano121February 20, 2014 06:57AM
Re: Thoughts on animation scripting language Roland Melkert102February 20, 2014 01:05PM
Re: Thoughts on animation scripting language Roland Melkert116March 08, 2014 10:27AM
Re: Thoughts on animation scripting language Ignacio Fernandez Galvan122March 09, 2014 12:03AM
Re: Thoughts on animation scripting language Roland Melkert177March 09, 2014 01:33PM
Re: Thoughts on animation scripting language Michael Horvath77May 31, 2014 08:06PM
Re: Thoughts on animation scripting language Roland Melkert98June 01, 2014 12:48PM
Some progress (was re: Thoughts on ani...) Roland Melkert61July 06, 2014 07:24PM
Re: Some progress (was re: Thoughts on ani...) Michael Horvath56July 08, 2014 08:27AM
Re: Some progress (was re: Thoughts on ani...) Roland Melkert54July 08, 2014 12:45PM
Relative movement framework (was re: Thoughts on ani...) Roland Melkert46July 19, 2014 11:54AM
Preview of LDCad 1.4 animation scripting api (was re: Thoughts on ani...) Roland Melkert43September 17, 2014 03:55PM
Re: Preview of LDCad 1.4 animation scripting api (was re: Thoughts on ani...) Michael Heidemann29September 20, 2014 06:06AM
Re: Preview of LDCad 1.4 animation scripting api (was re: Thoughts on ani...) Roland Melkert29September 20, 2014 11:31AM
Re: Preview of LDCad 1.4 animation scripting api (was re: Thoughts on ani...) Michael Heidemann23September 20, 2014 02:27PM



Sorry, only registered users may post in this forum.

Click here to login