Bone morph dials script

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

here's a simple 1 point animation :P
http://www.mediafire.com/?a20r0c1tw1txe7a
doesn't render here!

Let us know if it renders.
:)
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Try and render it now.



http://www.sendspace.com/file/qzntla

Stephen
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

nah it crashed... did it render at your end?
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

funksmaname wrote:nah it crashed... did it render at your end?
The 1st time I hit run I got an error but it still rendered.

edit.

now I am getting this and only way I can render is if I change the name.
Last edited by sbtamu on Mon Sep 06, 2010 11:01 pm, edited 1 time in total.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

I think that error is becuase the two layers aren't in a group folder - try putting them inside a group and see if that stops the errors... interesting it renders though... maybe i'll try removing fazeks tools and see if that helps

-------

update:
Removing the other tool scripts didn't seem to help at all... I wonder what is magic about your install that lets you export? :s
It crashes even if baked and interpolation is ticked off...
if you bake then remove the embedded scripts it works (as you'd expect)
:(
User avatar
Onionskin
Posts: 253
Joined: Wed Mar 04, 2009 2:01 pm

Post by Onionskin »

won't work on win7 with xp compability also.
:(
User avatar
Onionskin
Posts: 253
Joined: Wed Mar 04, 2009 2:01 pm

Post by Onionskin »

when I render preview, not ctrl+R for one frame, I mean with F5 key for whole animation, it works, it render with script. (W7, ASP7)
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

that's true! it DOES work when you press F5 - only it doesn't save the file and renders considerably smaller than actual size :S

Why would it crash on export?? this is most deffinately a bug :(

---------

I just got a message from a promenant member, who i guess wishes to remain annonymous or he would have posted here, who said the only thing to change in AS7 rendering is the multicore support - Stephen are you using a single core? cos i'm using quad core.

I set the affinity of AS7 to only 1 core and although it still crashed i managed to see the LUA error which says:

Code: Select all

error in function '.mul'.
    argument #2 is 'function'; 'number' expected.
dunno if this helps anyone recognise the issue??

The multicore issue seems to make sense, as F5 preview seems to just use a single thread...
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

funksmaname wrote:that's true! it DOES work when you press F5 - only it doesn't save the file and renders considerably smaller than actual size :S

Why would it crash on export?? this is most deffinately a bug :(

---------

I just got a message from a promenant member, who i guess wishes to remain annonymous or he would have posted here, who said the only thing to change in AS7 rendering is the multicore support - Stephen are you using a single core? cos i'm using quad core.

I set the affinity of AS7 to only 1 core and although it still crashed i managed to see the LUA error which says:

Code: Select all

error in function '.mul'.
    argument #2 is 'function'; 'number' expected.
dunno if this helps anyone recognise the issue??

The multicore issue seems to make sense, as F5 preview seems to just use a single thread...
I have a single core processor.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
DarthFurby
Posts: 510
Joined: Sat Jul 29, 2006 1:34 pm
Location: New York City
Contact:

Post by DarthFurby »

I'm able to render fine in swf format using AS 7(Vista Home Premium, Dual Core.) But the other codecs crash(avi, mov). No other scripts installed.
User avatar
madrobot
Posts: 667
Joined: Mon Apr 07, 2008 3:07 pm

Post by madrobot »

Chiming in to say WOW.

I hadn't time nor inclination to look into this too much until now (have AS7 at work and home now) and watching Funksmaname's youtube vids last night the possibilities are pretty exciting. I like how customisable it is, and how you get a more tactile interface with actions.

So I wanted to thank Rudiger for the awesome work, and Funksmaname for the youtubage. Good work guys.
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

np madrobot :)

Furby - swf export appears to just use a single core for export so this would explain it working on a dual core machine....

btw, it was synthsin75 who contacted me with the tip, and he said also that swf export doesn't use layer scripts (hense when I tried to export my unbaked animation there was no movement, despite the export working)

bummer :(
Rudiger
Posts: 786
Joined: Sun Dec 18, 2005 2:25 am

Post by Rudiger »

I tried stripping down the embedded script to the bare minimum and still get a crash. What I found was quite interesting.

This code caused a crash:

Code: Select all

bonePos[name] =  bone.fAnimPos:GetValue(frame)
But this code didn't:

Code: Select all

local bonePos0 = bone.fAnimPos:GetValue(frame)
bonePos[name] = bonePos0   
It seems like the Lua interpreter is somehow not able to work correctly while AS is rendering. Anyway, I submitted a bug report over at the Smith Micro website, so I guess we'll see what happens.
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

Nice one Rudiger :)
DarthFurby
Posts: 510
Joined: Sat Jul 29, 2006 1:34 pm
Location: New York City
Contact:

Post by DarthFurby »

Great Rudiger hope they can fix it in time for the next update.

Also made a short video demo of your script for another forum:

http://www.youtube.com/watch?v=dJQSNu6vomA
Post Reply