5.6 Layer Order swf render bug
Moderators: Víctor Paredes, Belgarath, slowtiger
5.6 Layer Order swf render bug
Can someone confirm this please.
I just used Animated Layer ordering to make a simple head turn. I have two shapes in the character that I use to hide lines when requierd. I tried rendering it out in SWF format and a couple of my shapes don't render correctly. In the render they have shifted to another area. Everything is fine when rendered as an avi. The problem is only with swf output.
http://www.wienertoonz.com/DKlayordturn.anme
http://www.wienertoonz.com/swfbug.swf
Cheers
D.K
I just used Animated Layer ordering to make a simple head turn. I have two shapes in the character that I use to hide lines when requierd. I tried rendering it out in SWF format and a couple of my shapes don't render correctly. In the render they have shifted to another area. Everything is fine when rendered as an avi. The problem is only with swf output.
http://www.wienertoonz.com/DKlayordturn.anme
http://www.wienertoonz.com/swfbug.swf
Cheers
D.K
Can you post more on this in the New Features thread (general discussion) - I have not been able to reproduce the rounded ends.DK wrote:Also I LOVE the new SKETCH option for lines in AS. Rounded line caps at lastYIPEE!!!
Cheers
D.K
(and the head turns problem was the very reason why animated layer ordering was requested in the first place ... I like it too).
Rhoel
Hi Rhoel.
1.Create a line around 8-10 linewidth is ideal.
2.Click on the Sketchy effect.
3. Set Radius to 8.

http://www.wienertoonz.com/linecaps.anme
Cheers
D.K
1.Create a line around 8-10 linewidth is ideal.
2.Click on the Sketchy effect.
3. Set Radius to 8.

http://www.wienertoonz.com/linecaps.anme
Cheers
D.K
DK,
that's the weirdest thing I've seen before. It seems like if your anme file has a ghost inside. I've isolated the body of the character, converted it to 5.5 version and load into my old linux version. It still rendering badly (it has a peak in the top of the head). I'm looking the inner parts of the anme file to see why seems that swf export is broken. The curios thing is that that layer is marked as swf output optimized
I'm working on it. Wish me luck
-G
that's the weirdest thing I've seen before. It seems like if your anme file has a ghost inside. I've isolated the body of the character, converted it to 5.5 version and load into my old linux version. It still rendering badly (it has a peak in the top of the head). I'm looking the inner parts of the anme file to see why seems that swf export is broken. The curios thing is that that layer is marked as swf output optimized

I'm working on it. Wish me luck

-G
Here are my findings:
It seems that the calculated swf beizer curves are not the same when export to swf than to raster format. Here is an example of the effect.
I've created a special case where it is shown with more evidence. It seems that a shape with an small amount of points produces not accurate shapes if the curvature is high
http://www.darthfurby.com/genete/Other/swf-test.zip
Here a screen capture of the swf animation.

The black one (behind) is the png output render. Current shape of the outline. Over that layer is one vector layer with an outline (in red) that is not animated so flash optimized. Compare by your self.
Nice render bug.
I think that I've seen this before in some of my initial tests but as far as I prefer raster output I didn't take care.
Solution add more points
Best,
-G
It seems that the calculated swf beizer curves are not the same when export to swf than to raster format. Here is an example of the effect.
I've created a special case where it is shown with more evidence. It seems that a shape with an small amount of points produces not accurate shapes if the curvature is high
http://www.darthfurby.com/genete/Other/swf-test.zip
Here a screen capture of the swf animation.

The black one (behind) is the png output render. Current shape of the outline. Over that layer is one vector layer with an outline (in red) that is not animated so flash optimized. Compare by your self.
Nice render bug.
I think that I've seen this before in some of my initial tests but as far as I prefer raster output I didn't take care.
Solution add more points

Best,
-G
Wow.....great work Genete. This is a terrible bug! I cannot fix the problem. I seperated the masking shapes onto different layers and redrew them with straight lines and adding more points but the result was worse! It actually looks like the entire shape is moving away from it's original resting point.
D.K
D.K
Added more points and even joined the shape so there is only one shape. Still rendering swf badly.
http://www.wienertoonz.com/swfbug2.swf
http://www.wienertoonz.com/DKLayordturn2.anme
D.K
http://www.wienertoonz.com/swfbug2.swf
http://www.wienertoonz.com/DKLayordturn2.anme
D.K
DK, I think you can solve it if you add more points with some patience...
http://www.darthfurby.com/genete/Other/ ... fixed.anme
The eyes translation are not symmetrical but I guess you can solve it
It is too late and I feel so tired. Need to sleep...
Hope it helps you
-G
http://www.darthfurby.com/genete/Other/ ... fixed.anme
The eyes translation are not symmetrical but I guess you can solve it

It is too late and I feel so tired. Need to sleep...
Hope it helps you
-G
-
- Posts: 510
- Joined: Sat Jul 29, 2006 1:34 pm
- Location: New York City
- Contact:
DK, the mask layer is fine, it's the "Body" layer that's causing the problem; specifically the vector point at the top of the head. Just add a few more points around the head to relieve stress on the curve. Thanks for the detailed explanations Genete. I've never noticed this render bug before, but it's easy enough to work around.