Search found 8139 matches

by synthsin75
Fri Dec 15, 2023 4:52 pm
Forum: Bug Discussions
Topic: Particles issue
Replies: 5
Views: 4945

Re: Particles issue

Try disabling multi-threaded rendering in the export window.
by synthsin75
Fri Dec 15, 2023 12:51 am
Forum: General Moho Discussion
Topic: MOHO14 user manual
Replies: 39
Views: 60712

Re: MOHO14 user manual

slowtiger wrote: Thu Dec 14, 2023 9:01 pm I still rather prefer a PDF version.
+1
by synthsin75
Wed Dec 13, 2023 5:55 am
Forum: How Do I...?
Topic: Position Control bone Inverted transforms
Replies: 3
Views: 1969

Re: Position Control bone Inverted transforms

If you ended up rotating one of the parent bones to the eyes 180°, that would cause the inverted controls.
by synthsin75
Mon Dec 11, 2023 1:13 am
Forum: Bug Discussions
Topic: Import Moho Object malfunction
Replies: 2
Views: 2231

Re: Import Moho Object malfunction

Are you trying to import from an open file when this happens?
If so, it might be in the process of auto-saving at the time.
by synthsin75
Sun Dec 10, 2023 9:20 pm
Forum: Scripting
Topic: How to get Bone Angle on a frame when bone is controled by a Smart Bone?
Replies: 8
Views: 4833

Re: How to get Bone Angle on a frame when bone is controled by a Smart Bone?

Yeah, the API is largely only built to accommodate what the stock tools need, in kind of an ad hoc manner, rather than being more comprehensive.
by synthsin75
Sun Dec 10, 2023 11:53 am
Forum: Scripting
Topic: How to get Bone Angle on a frame when bone is controled by a Smart Bone?
Replies: 8
Views: 4833

Re: How to get Bone Angle on a frame when bone is controled by a Smart Bone?

Yeah, that's what I meant by "baking" too.

What are you using to calculate all the values? The smart bone angle?

If so, you might be able to jump into the action, get the relative rotation, and then calculate the controlled bone's angle at each frame yourself. Not sure.
by synthsin75
Sun Dec 10, 2023 3:28 am
Forum: Scripting
Topic: How to get Bone Angle on a frame when bone is controled by a Smart Bone?
Replies: 8
Views: 4833

Re: How to get Bone Angle on a frame when bone is controled by a Smart Bone?

If you're doing it not already, I seem to remember that baking keyframes from the end of the time range to the start is faster. Might be worth trying.
by synthsin75
Sat Dec 09, 2023 11:50 am
Forum: General Moho Discussion
Topic: Switch Selection concept for v13.5
Replies: 45
Views: 86612

Re: Switch Selection concept for v13.5

this (windows) example works (worked in Lua 5.2 - not tried in 5.4) without the intermediate file local sOut = io.popen( "dir /B " .. path .. "*.png", "r" ) local sData = sOut:read "*a" IOW the output of cmd>dir ... is delivered in the fcb:read ... call (and ...
by synthsin75
Sat Dec 09, 2023 11:48 am
Forum: Bug Discussions
Topic: Moho 14 - Issue with complicated masking on canvas. GPU disabling missing in this version?
Replies: 19
Views: 17431

Re: Moho 14 - Issue with complicated masking on canvas. GPU disabling missing in this version?

Since the display of masking was updated/improved, you may need to use some liquid shapes and/or references to get the render-accurate mask in the workspace.
by synthsin75
Sat Dec 09, 2023 11:45 am
Forum: General Moho Discussion
Topic: Switch Selection concept for v13.5
Replies: 45
Views: 86612

Re: Switch Selection concept for v13.5

SimplSam wrote: Sat Dec 09, 2023 11:22 am The other option would be to pass a filename to external app, which it populates, then read/delete the contents of that file after the call.
That's my current plan.
by synthsin75
Sat Dec 09, 2023 10:01 am
Forum: General Moho Discussion
Topic: Switch Selection concept for v13.5
Replies: 45
Views: 86612

Re: Switch Selection concept for v13.5

While it's easy enough to pass arguments from Moho Lua to external apps/scripts, it's not as easy to get data back. I think the only way is to write the data to a file, so Lua can read it. It can be done with: function capture(cmd) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a'))...
by synthsin75
Sat Dec 09, 2023 5:34 am
Forum: Scripting
Topic: Test if modeless dialog closed
Replies: 0
Views: 49788

Test if modeless dialog closed

Anyone have any good ideas on how know when a modeless dialog has been closed? EDIT: Never mind, I figured it out: function scriptDialog:OnOK() if (self.d == nil) then --dialog has been closed with X button end end EDIT2: This is not reliable. It only works until a GUI message or two is sent. :?
by synthsin75
Wed Dec 06, 2023 2:43 am
Forum: Scripting
Topic: Order of selection?
Replies: 3
Views: 1616

Re: Order of selection?

Thanks for your quick response. Damn, would've been nice if Moho could 'just' return the selected bones in order of selection. I cannot track selection of bones because the tool is just a run-immediately-on-click-tool and only used when the bone selection is already done by the user. Looks like I n...
by synthsin75
Wed Dec 06, 2023 1:36 am
Forum: Scripting
Topic: Order of selection?
Replies: 3
Views: 1616

Re: Order of selection?

You'd have to track these, like adding their IDs to a table, as they're selected. If your script is the one doing the selecting, that's pretty easy. If not, you'd need to devise a way to do it, like using the IsEnabled function of your script. You can track the last selected bone, and add it to the ...