Flame Forum
Welcome to Autodesk’s Flame Family (Flame, Flare, Flame Assist, Lustre) Forums. Share your knowledge, ask questions, and explore popular Flame topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bad edge softening with Resize node (Bug or at minimum undesireable)

4 REPLIES 4
Reply
Message 1 of 5
ManChicken
394 Views, 4 Replies

Bad edge softening with Resize node (Bug or at minimum undesireable)

I've been using a few Resize nodes in BFX doing a bunch of splitscreen/tiling, since there seems to be no other simple Crop effect.  Anyway it's been handy as I can dial in exact pixel sizes for my windows, use the Position X/Y to frame the image within the window (using Center Crop mode), and then position it onscreen downstream with a 2D Transform or whatever.

 

Sometimes I want to animate the Resize, to shrink it from a split-screen down into a quarter-screen window for instance.  But when I go to animate the Resize, I get this extreme softening of the edge, destroying my rigid lines.

 

See attached pictures which include the values of both an un-animated Resize and an animated one, which you can see are the same for the frame (in fact the animated one was duplicated from the unanmiated one.)  I can provide the batch setup if neeed but it's pretty easy to duplicate.

Bob Maple | idolum
4 REPLIES 4
Message 2 of 5
Grant.Kay
in reply to: ManChicken

Hi Bob,

You might be better off in Action for the animations as it uses sub-pixel filtering.

Even though resize is great for quick racking shots etc, I have never been satisfied with it as animation tool as such.

Action should have the cropping you need. Either in the media list or you could the vertex/UV points of a surface to crop the image.

Hope this helps.

Regards
Grant

Grant Kay
Principal Learning Content Developer

---------------------------------------------------------------------------------
The Official Autodesk Flame Learning Channel
http://www.youtube.com/flamehowtos

The Official Autodesk Smoke Learning Channel
http://www.youtube.com/smokehowtos

Also available as podcasts on iTunes

Follow me on twitter @discreetuk for the latest training updates.
---------------------------------------------------------------------------------
Message 3 of 5
ManChicken
in reply to: Grant.Kay

Thanks.  Yeah, animating Resize is weird (besides the edge softness anomoly) because the Scale and Width/Height values are related and it seems like you have to keyframe both of them for it to work.  Action crop is kind of awkward to deal with too though, with the media list way not being keyframable (?) and the UV way making it hard to be precise, easily keep things perfectly straight or be able to numerically create crops of specific sizes.

 

But, in the end, it compelled me to write this Matchbox shader.

Bob Maple | idolum
Message 4 of 5
Anonymous
in reply to: ManChicken

Not sure I am hearing you, but you can animate crop. Autokey, F1-front view. Adjust Crop and go to next frame adjust Crop. Done. See animation pic attached. 

Message 5 of 5
ManChicken
in reply to: Anonymous

I guess my machine was having a bad day.  I did turn on Autokey and made some changes - it was even dropping keys in the timebar - but then when I'd scrub, none of the values actually changed.  It seems to be working now however.

 

But it still kind of sucks since the values in the media list are their own odd UI convention and don't give you the benefit of showing keyframes like normal numeric values, easily selecting them in the Animation editor, etc.  Plus they're not directly accessable from the timeline if you're trying to use it that way, making you bounce in and out of the full UI if you're just trying to do a couple of simple split screens on the timeline.  And it seems like the keyframes disappear in the timebar after you select other things in Action, only coming back if you pull up your BFX and reselect the Action node...

 

It has its place if you're already in Action doing other things, but having a quick, simple, straight edge crop is something I'm always amazed isn't built in to 2D Transform.

 

Bob Maple | idolum

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report