Search found 222 matches

by Fazek
Thu Jun 22, 2006 8:25 am
Forum: General Moho Discussion
Topic: Moho 5.4 on linux problem
Replies: 4
Views: 1528

The Pango (internationalized text renderer) is a subsystem of the Gnome desktop environment. Perhaps Moho's gtk widgets are using it. Perhaps you have only KDE on your computer. Try to install Gnome.
by Fazek
Thu Jun 22, 2006 8:03 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138132

Not again! The same mistake... I must write a program to update the index.html. I made a new version too, the old one's caching was wrong. As I see it is comfortable to set the layerscript to the source layer before duplicating it, because the duplicating copies the layerscript settings as well. The...
by Fazek
Wed Jun 21, 2006 10:58 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138132

Instancing vector layers is an old feature request. Now I found a solution with a layerscript. It is a bit uncomfortable because you must set it on both the source and on all of the copy layers. It is instancing only the actual positions of the mesh points. The bone transformations are applied, but ...
by Fazek
Wed Jun 21, 2006 10:52 am
Forum: Scripting
Topic: full lua API access!
Replies: 14
Views: 7843

Maybe I was not clear enough.. _VERSION is not an environment variable, but a simple Lua global variable.
by Fazek
Wed Jun 21, 2006 7:27 am
Forum: Scripting
Topic: full lua API access!
Replies: 14
Views: 7843

Hello,

Moho still using Lua 5.0.2, but I hope it will upgrade to 5.1 because it has better compatibility between the different operating systems. You can read the _VERSION global variable to ask the actual version of Lua.
by Fazek
Tue Jun 20, 2006 11:45 am
Forum: Scripting
Topic: full lua API access!
Replies: 14
Views: 7843

Sorry to answer this old topic, but now I am playing with Lua to extend it with some C functions in a library, so I know what is the problem. Lua can receive return values from a C function only if it puts the values to the special stack of Lua. So it won't work with normal functions of normal dlls,...
by Fazek
Tue Jun 20, 2006 8:18 am
Forum: Moho 5
Topic: Paint Bucket Tool
Replies: 30
Views: 74750

Thank you Ulrik. Now I understand more. But when I select or change a Style on the upper menu, the Applied styles: changes to <None> and becomes disabled (gray) and often I paint with the settings was on the upper part BEFORE the selection. It would be better to paint with the actually selected styl...
by Fazek
Tue Jun 20, 2006 7:22 am
Forum: Moho 5
Topic: Paint Bucket Tool
Replies: 30
Views: 74750

I think the Paintbucket would be very useful if Moho gets a tool to vectorise scanned drawings. I hope it becomes reality soon. There are animators using the traditional way with paper and pencil. Our studio also needs this feature. I could make this program - I already made similar things -, but no...
by Fazek
Mon Jun 19, 2006 11:44 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138132

I added a version of the new Paint Bucket tool to my toolset. It closes the missing open curves. Its algorythm is very simple, but often fills when the original LM version fails (specially if loops are there on the outlines).
by Fazek
Mon Jun 19, 2006 7:42 am
Forum: Moho 5
Topic: Paint Bucket Tool
Replies: 30
Views: 74750

I am a programmer, so I see how Paintbucket could be better without large programming investments. First of all, the selection of the shape is really a selection of a group of points. It works only with regular outlines. If you draw an outline with loops, like the shape of number eight, it won't wor...
by Fazek
Thu Jun 15, 2006 9:49 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138132

Well, I checked the MPlayer Windows version and there are several problems so I think it is not possible to use this under Windows yet. 1. The precompiled MPlayer version for Windows (MPF) is highly truncated so it seems no slave mode and no -audiofile option etc. Maybe other versions are better? 2....
by Fazek
Thu Jun 15, 2006 8:48 am
Forum: Scripting
Topic: PadSound (*fixed MS Sound Recorder bug problem*)
Replies: 35
Views: 25137

An addition: The OS environment variable is available only under Win2000/XP. So it is better to check the WINDIR variable, what is exists since Win95...
by Fazek
Wed Jun 14, 2006 12:50 pm
Forum: Scripting
Topic: Scripting Documentation
Replies: 14
Views: 60369

I just tried the new version (the new Paint Bucket looks nice). My question: are there any changes (new functions etc.) in the scripting interface? Can we get an updated scripting documentation? As I see there is a new function skel:CountBoneChildren(), and a view:FloodSelect(). The CountBoneChildre...
by Fazek
Wed Jun 14, 2006 12:20 pm
Forum: Feature Request Discussions
Topic: Hybrid Bones - or something like that ...
Replies: 5
Views: 2873

I am afraid converting bones into layer movement is working only if all of the layer's points are modified only by one single bone. Usually a skeleton moves the points with a weighted combination of bones and that means every point has its own transformation matrix.
by Fazek
Wed Jun 14, 2006 7:02 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138132

I uploaded the newest version. The os.execute() style invoking of MPlayer is in it, and working fine under Linux. It is a bit tricky because you must create a fifo file with the mknod filename p -- ADDED: instead you can use (works both on Linux and OS X): mkfifo filename command and you must specif...