Synfig Project Forum

Forums for Synfig Project
It is currently Wed May 22, 2013 4:46 pm

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: brushes
PostPosted: Fri Mar 07, 2008 2:56 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
As I had to dig it back out of the logs... Here's the example of how to put images along a bline

Image
http://dooglus.rincevent.net/random/star-brush.sifz

Image

Needs svn 1694 or newer (i.e. 0.61.08 )

Image

Image
http://dooglus.rincevent.net/random/centipede-2.sifz


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Wed Jul 25, 2012 5:21 pm 
Offline
User avatar

Joined: Fri Jul 20, 2012 4:32 pm
Posts: 47
That's exactly what I need to learn now for my project, but I can't open your files. How can I do that?


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Thu Jul 26, 2012 1:30 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
You should be able to download them and open them in Synfig. What step is failing?

Chris


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Thu Jul 26, 2012 8:29 am 
Offline
User avatar

Joined: Fri Jul 20, 2012 4:32 pm
Posts: 47
Yes... I try to download and open, but Synfig gives me this message:

"Unable to load "C:\...\star-brush.sifz":

* C\...\star-brush.sifz:<blinecalcvertex>:293: error:
<blinecalcvertex> is missing link 3 (homogeneous)
* C:\...\star-brush.sifz:<blinecalctangent>:321: error:
<blinecalctangent> is missing link 6 (homogeneous)"

Similar thing for the file centipede-2.sifz... :|


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Thu Jul 26, 2012 1:56 pm 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
I've just tried centipede-2.sifz and it doesn't open for me either.

The error output is attached.

Synfig Studio 0.63.05 Fedora 17 GNOME 3.4.2 64 Bit - (RPM downloaded from synfig.org)


Attachments:
File comment: Error log for opening centipede-2.sifz
centipede-2.txt [1.8 KiB]
Downloaded 45 times

_________________
http://kecskebak.blogspot.com
Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Fri Jul 27, 2012 6:14 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4127
Location: Spain
Looks like I didn't write properly the procedures to load old files when added the homogeneous option in the new version for Link to BLine value node. :oops:
Please open a bug report for that and I'll (or someone else) would fix it as soon as possible).
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Fri Jul 27, 2012 12:21 pm 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
I've opened a bug report in SourceForge: ID: 3550052

_________________
http://kecskebak.blogspot.com


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Sat Jul 28, 2012 11:28 am 
Offline
User avatar

Joined: Fri Jul 20, 2012 4:32 pm
Posts: 47
Swell! I found out that Synfig manual has some "Following a BLine" instructions as well. I tried to rely on these ones for my animation test.
I drawn an elliptic BLine and made an improbable satellite follow it.

Image

I premise I know that, talking about lights, physics, astronomy, this animation doesn't make any sense. I was just interested in testing the "following a BLine" method in a rather complex animation.

Here it is the result. http://www.youtube.com/watch?v=5e8vgT6VBgk&feature=youtu.be


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Sun Jul 29, 2012 3:01 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
"That's no moon!" No, wait, it is...


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Sun Jan 06, 2013 1:20 pm 
Offline
User avatar

Joined: Sun Aug 16, 2009 12:09 pm
Posts: 213
Location: Belgium
Hello.

Inspired by Genete's remark I'd like to use this technique to make a snake tail: I link the size of the scale to the width of the BLine, but the the space between each scale is linear... is there any way to make the smaller scales closer one to another than the big ones (eg: perspective effect emulated by making the position on BLine varie according to line width) ?

smaller scales look too distant from each other.
Attachment:
File comment: smaller scales look too distant from each other.
steps repeat along.png
steps repeat along.png [ 70.34 KiB | Viewed 713 times ]


I guess some Logarithmic scale could do... but cannot figure a formula that does this neatly, any suggestion is welcome.
Berteh.


Attachments:
File comment: source to play along. reuse if you wish.
wadget.sifz [3.23 KiB]
Downloaded 17 times

_________________
- discovering, learning about and liking Synfig, open source animation software -
| feel free to browse my Synfig archive | running v0.63.05 on Ubuntu Quantal |


Last edited by berteh on Sun Jan 06, 2013 10:43 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Sun Jan 06, 2013 2:29 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4127
Location: Spain
Please ping me later for this. I don't have Synfig Studio at hand now!

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Mon Jan 07, 2013 6:44 am 
Offline
User avatar

Joined: Sun Aug 16, 2009 12:09 pm
Posts: 213
Location: Belgium
berteh wrote:
smaller scales look too distant from each other.


I did some more testing and it turns out unsetting the "homogeneous" attribute has already a good impact on solving my problem (see below).

I'd like to go even further (ie. have a BLine length computation scheme that artificially "exaggerates" the length of narrow sections and reduces that of wider sections), and will try to find some. Any input is welcome. Do you believe it'd be useful to you too?
B.


Attachments:
wadget.sifz [3.23 KiB]
Downloaded 16 times
File comment: homogeneous unset - much better, but still not "perspective-like".
amount - homogeneous.jpg
amount - homogeneous.jpg [ 103.93 KiB | Viewed 698 times ]
File comment: homogeneous set: small scales are too distant from each other
amount - homogeneous.jpg
amount - homogeneous.jpg [ 103.93 KiB | Viewed 700 times ]

_________________
- discovering, learning about and liking Synfig, open source animation software -
| feel free to browse my Synfig archive | running v0.63.05 on Ubuntu Quantal |
Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Mon Jan 07, 2013 7:16 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4127
Location: Spain
Using Link to BLine feature for that is tricky. Once you get the desired shape with the right formulation for the initial shape of the BLine, it will be ruined once you start to animate it, because it would be extremely difficult to keep the overall length of the BLine (in case of it is homogeneous) or the individual length of each Bezier (in case you use non homogeneous).

I did a quick test with other approaching ad started to work very well:

1) Create your circle item (the one that will be repeated)
2) Make a cycle animation with it (from left to right and back) Repeat the cycle before and after to get continuity of the velocity on the movement for the start and end positions.
3) Encapsulate and export the canvas. That's your library object.
4) By using the duplicate layer or directly duplicating it, repeat the object scaling and translating it properly.
5) When you're happy with the separations in vertical then modify the Offset time for the duplicated to move shifted from the previous. The offset time can't be linear either or you'll end with the same problem.

I discovered a bug that consists on that the duplicate layer produce bad tile render for exported canvases and that made me stop the test. But I think it is a better approaching because you can control the movement in one place only (the own canvas of the exported circle)

I hope this helps you.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Mon Jan 07, 2013 8:23 am 
Offline
User avatar

Joined: Sun Aug 16, 2009 12:09 pm
Posts: 213
Location: Belgium
Thanks Genete for your proposal. I'll try it.

Meanwhile I found what might be a bug to me: the width of BLine seems to not be interpreted satisfactorily when using advanced outline, see attached screenshot and file, the size of the red circles should vary as do the yellow ones. Zoom of yellow is linked to (simple) outline width, while zoom of red is linked to WidthPoint List (advanced) outline.

or is it not the intended behavior of advanced outlines? if bug I can post it to new bug racker system... or try at least.

Thanks again for your nice work!
B.


Attachments:
wadget-fixing width.sifz [2.62 KiB]
Downloaded 16 times
File comment: width of BLine is not interpreted satisfactorily when using advanced outline
width not working on WidthPointsList.jpg
width not working on WidthPointsList.jpg [ 116.61 KiB | Viewed 691 times ]

_________________
- discovering, learning about and liking Synfig, open source animation software -
| feel free to browse my Synfig archive | running v0.63.05 on Ubuntu Quantal |
Top
 Profile  
 
 Post subject: Re: brushes
PostPosted: Mon Jan 07, 2013 12:14 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4127
Location: Spain
In your example file, zoom parameter of "ring on advanced" paste canvas is not converted or linked to anything like the zoom parameter of the "ring on simple" paste canvas is.

And no, there is not a "Link to WPList" feature coded. If you do a Link to BLine feature for a width parameter you will use the widths of the BLinepoints (that are not used in an advanced outline to perform the outline width).

It is a missing feature indeed.

What you can write to the issue tracker is to request a "Link to WPList" convert type for real values. (only for real because the WPList only returns a width based on a BLine position and its internal parameters).
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group