Search found 222 matches

by Fazek
Wed Mar 14, 2007 12:40 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

I don't want to modify my tool because of this, but you can modify row 148 in the fa_magnet.lua file:

from:

Code: Select all

if (cveID >= 0) then
to:

Code: Select all

if (cveID >= 0 and not mouseEvent.ctrlKey) then
With the ctrl button you can disable the point creation feature.
by Fazek
Wed Dec 20, 2006 9:02 am
Forum: Scripting
Topic: How do I read the interpolation mode of an anim channel?
Replies: 2
Views: 2181

Perthaps you can guess some of the interpolation modes if you check the channel values between the keys...
by Fazek
Fri Dec 08, 2006 2:23 pm
Forum: Feature Request Discussions
Topic: NTSC/PAL Interlacing Renders
Replies: 12
Views: 6324

In my works, I never used interlacing for the 2d animations. I think it is not required. But for example on the end credits of a film, when the text scrolls through the screen, I must use it always. Rendering in double framerate and full resolution has an advantage: in the basic way of interlacing, ...
by Fazek
Fri Dec 08, 2006 11:57 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

I made a very small bugfix in the script_tools. Really I tried to add an option to be able to modify the point positions of frame 0 from any frame on the timeline. This would be very useful if you are working with big camera movements. Maybe not tried hard enough, but I failed. Some operations are s...
by Fazek
Thu Dec 07, 2006 8:08 am
Forum: Scripting
Topic: How curves are calculated in Moho - a sample code
Replies: 13
Views: 10618

_G is the Lua table of the global variables. That means the name "variable" and "_G.variable" means the same (because of this, _G._G is _G). To parse the variables in a table you can use a cycle like this: for name, value in table do if (type(value) == "function") then .... end end For more examples...
by Fazek
Wed Dec 06, 2006 8:39 am
Forum: Scripting
Topic: How curves are calculated in Moho - a sample code
Replies: 13
Views: 10618

An idea: if you want to view something on the editor window, you can override the DrawMe() functions of EVERY tools. You just parse through the _G global table, and find function type DrawMe() table elements. You can surely recognise a valid tool table if you look for other function names too. Whene...
by Fazek
Mon Dec 04, 2006 3:47 pm
Forum: Scripting
Topic: How curves are calculated in Moho - a sample code
Replies: 13
Views: 10618

Hello Ramon, I think you cannot draw directly from the LayerScript. Maybe AS calls it not only when drawing to the editor window, but when rendering, creating SWF file etc. So sometimes simply there is no view or view:Graphics() at all. You should try the following instead: Create a vector layer, fo...
by Fazek
Wed Nov 22, 2006 12:59 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

Sorry Rasheed, I'm too busy these months so I absolutely can't work on these scripts. What you ask is possible but maybe difficult because the different layer types has different animated channels. Some animated channels (for example the curvature value of curve points) are hidden so it requires a l...
by Fazek
Thu Oct 19, 2006 7:04 am
Forum: Papagayo
Topic: Announcement: PapagayoMOD v1.3.5 (XSheet, Image export, etc)
Replies: 104
Views: 109499

Is it possible in py-thon, if you receive a window close request, to remove the maximized or iconized state right before you close the window? Then you can save the normal size and position....
by Fazek
Mon Oct 16, 2006 8:26 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

Thank you Selgin, I corrected the bug. Now there is an option to change line width only.
by Fazek
Fri Oct 13, 2006 7:57 am
Forum: Feature Request Discussions
Topic: line tool
Replies: 30
Views: 15225

Yes, the pen pressure is a good idea. About the following of curves. It is not easy at all. Maybe you know about my experiments with the points and curvature. These curves are good for animation, but it's hard to follow a path precisely. The freehand tool can add any number of new points anywhere to...
by Fazek
Wed Oct 11, 2006 8:56 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

Now I added the usual group menu. I also updated the group menu part in all of the other tools so please, if upgrade, replace these and even the utility/fa_sharedutils.lua file. ADDED - Replace Line tool: and I added a freehand tool style line width handling, and an individual point selection/transl...
by Fazek
Mon Oct 09, 2006 2:46 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 121304

elbramtsol wrote:Suggestion for the edited version of Scale points:
When I want to rotate the object without scaling it, I would press the "alt key", click in the center and then move the mouse.
It can do this now.

I've corrected some bugs in the Replace Line tool, so please upgrade it.
by Fazek
Mon Oct 09, 2006 10:42 am
Forum: Scripting
Topic: 3D tools?
Replies: 1
Views: 1916

3D tools?

By the scriptwriting manual, perhaps it is possible to write Lua tools to create and manipulate 3D objects, inside of Moho/AS. Is it really possible? Is there any example for this kind of scripts? I would like to try to write something, but, I am sure, it requires special administration, like creati...
by Fazek
Mon Oct 09, 2006 10:33 am
Forum: Feature Request Discussions
Topic: Other 3d format import please
Replies: 10
Views: 3884

I don't use 3D at all and there are a very few inexpensive solutions to use 3D under Linux. I prefer the Pov renderer and KPovModeler over it, but Pov is very good even with a simple text editor. Unfortunately, KPovModeler (and all other Pov frontends I know) doesn't support animation at all. Pov's ...