Page 1 of 1

[Submission] se_RollerCaster

Posted: Tue Dec 25, 2018 8:42 am
by SirEdric
How many times did you want to import a PDF into Fusion?
At least me wanted that often enough that I finally came up with a Comp Script to do so.
Don't expect micacles though...:-)
This Script does require a proper installation of ImageMagick and Ghostscript to convert the PDF to PNG(s).
Yes. Plural. Multipage PDFs will become a sequence of PNGs.
Dialog.png
Apart from selecting the appropriate resolution and filters I found this a bit boring though,
so I started to build a basic Credit Roller (hence "Roller Caster"...:-)) on this.

Multipage PDFs will be made into sequential PNGs,
these will be attached to ImagePlanes
and those ImagePlanes will be nicely arranged underneath one other to form a looooong credit roll.
Oh. You'll get an animated Camera as well...:-)
flow.png
The advantage I see is, that the credit roll could be layed out and edited in whatever app one prefers
(Word, OpenOffice, InDesign, Illustrator,...), exported as PDF and brought into Fusion right away,
with all the design goodies a credit roll designer might come up with.
A very basic PDF is attached, I also tested this with a 40-page PDF as well. Works.
view.png

Get ImageMagick and Ghostscript from here:
https://www.imagemagick.org/script/download.php
https://www.ghostscript.com/download.html

Atom Text:

Code: Select all

Atom {
	Name = "se_RollerCaster",
	Category = "Scripts/Comp",
	Author = "Eric 'SirEdric' Westphal",
	Version = 0.75,
	Date = {2018, 25, 12},
	Description = [[<h3 align="center"><sup>&#91;se&#93;</sup>RollerCaster</h3><p align="center"><strong>Convert PDF to PNG and import to Fusion.</strong><br>Multi page PDFs will be made into a sequence of PNGs,
these will then be attached to individual ImagePlanes
and those ImagePlanes will be nicely arranged underneath one other to form a looooong credit roll.
You'll get an animated Camera as well...:-)<br>
The advantage is, that the credit roll could be layed out and edited in whatever app one prefers
(Word, OpenOffice, InDesign, Illustrator,...), exported as PDF and brought into Fusion right away,
with all the design goodies a credit roll designer might come up with.<br><br>

<strong>This Script does require a proper installation of ImageMagick and Ghostscript to convert the PDF to PNG(s).</strong><br><br>


<a href="https://www.imagemagick.org/script/download.php">Get ImageMagick</a><br>
<a href="https://www.ghostscript.com/download.html">Get GhostScript</a>
]],
	Donation = {
		URL = [[https://www.paypal.me/SirEdric]],
		Amount = "€5.00",
	},

	Deploy = {
		"Scripts/Comp/SirEdric/se_RollerCaster.lua",
	},
	Dependencies = {
			"<a href="https://www.ghostscript.com/download.html">Get GhostScript</a>",
			"<a href="https://www.imagemagick.org/script/download.php">Get ImageMagick</a><br>",
	},
}

Re: [Submission] se_RollerCaster

Posted: Tue Dec 25, 2018 3:42 pm
by SecondMan
Oooh!

Reactor Christmas presents! :)

:cheer:

I'll see if I can get this in there before the end of the year... ;)

Re: [Submission] se_RollerCaster

Posted: Tue Dec 25, 2018 5:11 pm
by SirEdric
No wuckers, mate!

Re: [Submission] se_RollerCaster

Posted: Thu Dec 27, 2018 9:15 pm
by SecondMan
Just took a quick look at your Atom file here.

As a pro tip - best practice is to run any Atom file through Atomizer to spot any problems.

Specifically, Your Atom file won't open in Atomizer and I bet the reason is your dependencies table.

Dependencies in Atoms are not for external links to stuff you may need. That should go in the description. In Reactor, the dependencies table is used to auto install other Atoms already available in Reactor as a prerequisite for your Atom:

viewtopic.php?f=33&t=1799#anchor-adddependency

Cheerio! :)

Re: [Submission] se_RollerCaster

Posted: Sun Dec 30, 2018 1:45 am
by SirEdric
Ah...okay...thanks for the headsup!
Second try...:-)

Re: [Submission] se_RollerCaster

Posted: Sun Dec 30, 2018 2:01 pm
by SirEdric
As a side note...I actually *created* the original atom in Atomizer including the (obviously wrong) dependencies and it saved the atom without any issues...hint-hint, nudge-nudge, say no mooore!

Re: [Submission] se_RollerCaster

Posted: Sun Dec 30, 2018 11:04 pm
by SecondMan
That's great feedback, thanks!

Always takes someone abusing the tools to come up with the nasties... :)

Speaking of nasties, here's another one I should have thought of earlier:

The Reactor description window can render HTML "a href" links but the links are not clickable, which is very confusing, not to mention terribly frustrating for the relentlessly clicking end user...

Apparently this is a QT window manager limitation that is passed down to Fusion's UI Manager and unlikely to change. It's a known issue but we have yet to figure out something elegant around that for Reactor. Feel free to offer ideas.

Re: [Submission] se_RollerCaster

Posted: Mon Dec 31, 2018 3:49 am
by SirEdric
Always welcome...:-)

Hmmm...what would be the trick to actually *make* those links clickable?

Re: [Submission] se_RollerCaster

Posted: Wed Jan 02, 2019 7:30 pm
by SecondMan
Right now there really isn't one. For your submission I'd put the links in plain text for people to C/P...

Re: [Submission] se_RollerCaster  [SUBMITTED]

Posted: Wed Feb 06, 2019 7:25 pm
by SecondMan
And with apologies for the great delay - this is now submitted :)

Re: [Submission] se_RollerCaster

Posted: Wed Feb 06, 2019 9:07 pm
by SirEdric
Ha! Almost forgot about it myself...:-)