[Submission] se_RollerCaster  [SUBMITTED]

Moderator: SecondMan

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

[Submission] se_RollerCaster

#1

Post by SirEdric » Tue Dec 25, 2018 8:42 am

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>",
	},
}
You do not have the required permissions to view the files attached to this post.

User avatar
SecondMan
Site Admin
Posts: 3774
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Submission] se_RollerCaster

#2

Post by SecondMan » Tue Dec 25, 2018 3:42 pm

Oooh!

Reactor Christmas presents! :)

:cheer:

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

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Submission] se_RollerCaster

#3

Post by SirEdric » Tue Dec 25, 2018 5:11 pm

No wuckers, mate!

User avatar
SecondMan
Site Admin
Posts: 3774
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Submission] se_RollerCaster

#4

Post by SecondMan » Thu Dec 27, 2018 9:15 pm

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! :)

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Submission] se_RollerCaster

#5

Post by SirEdric » Sun Dec 30, 2018 1:45 am

Ah...okay...thanks for the headsup!
Second try...:-)
You do not have the required permissions to view the files attached to this post.

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Submission] se_RollerCaster

#6

Post by SirEdric » Sun Dec 30, 2018 2:01 pm

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!

User avatar
SecondMan
Site Admin
Posts: 3774
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Submission] se_RollerCaster

#7

Post by SecondMan » Sun Dec 30, 2018 11:04 pm

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.

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Submission] se_RollerCaster

#8

Post by SirEdric » Mon Dec 31, 2018 3:49 am

Always welcome...:-)

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

User avatar
SecondMan
Site Admin
Posts: 3774
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Submission] se_RollerCaster

#9

Post by SecondMan » Wed Jan 02, 2019 7:30 pm

Right now there really isn't one. For your submission I'd put the links in plain text for people to C/P...

User avatar
SecondMan
Site Admin
Posts: 3774
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Submission] se_RollerCaster  [SUBMITTED]

#10

Post by SecondMan » Wed Feb 06, 2019 7:25 pm

And with apologies for the great delay - this is now submitted :)

User avatar
SirEdric
Fusionator
Posts: 2056
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Submission] se_RollerCaster

#11

Post by SirEdric » Wed Feb 06, 2019 9:07 pm

Ha! Almost forgot about it myself...:-)