Scaling up a 3D stroke
I've got a LOT of comps each containing a single solid with 3D stroke and a camera.
I'd like to try up-rezing the comps to about 4 times their current resolution. Pre-composing and scaling creates predictably soft results. Pre-composing, scaling and using continuous transforms doesn't help. Using the Detail Preserving Upscale plugin doesn't look any better than a conventional scale.
SO, I'm trying to rebuild the comps. My thought process is this:
1) Change the dimensions of the comp. I'm doing this through scripting rather than the AE front end so that it doesn't 'helpfully' recentre everything.
2) Update the solid to match the new comp dimensions.
3)Since masks and effect properties are stored internally relative to the dimension of the solid, the mask shape and spatial effect parameters have all been multiplied by 4. I use a script to scale them back.
Now every parameter (effect settings, camera position, mask co-ordinates) are the same in my new and old comps but I'm not getting anything even visually close to the original comp.
Has anyone else tried to achieve something similar?
Sorry, but you have to re-do those 3D strokes. Like EVERY effect in AE, it's bitmapped, and when you scale it up, you lose resolution.
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA
I agree that the end result of running the effect is a bitmap, but 3D Stroke is parametrically controlled, so I'm looking for a way to change the parameters to give me the same image at a higher res.
I pushed on with my original thinking and I think I've got it cracked...
Should anyone need to do this or something similar then the code below should do it (WARNING - SCRAPPY CODE WITH NO ERROR CHECKING! - SAVE YOUR PROJECT FIRST!). Just run this from the ExtendScript Toolkit.