AutoProbe, a ToolScript  [SUBMITTED]

Moderator: SecondMan

User avatar
Midgardsormr
Fusionator
Posts: 1487
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 8
Location: Los Angeles, CA, USA
Been thanked: 33 times
Contact:

AutoProbe, a ToolScript

#1

Post by Midgardsormr » Mon Aug 05, 2019 4:58 pm

AutoProbe creates a new Probe Modifier and connects all four channels of a ColorControl to it at once. If there is more than one ColorControl on the tool, a dialog will appear to ask which one you want to connect.

Change Log
v1.0: first public release

Atom file contents:

Code: Select all

Atom {
	Name = "AutoProbe",
	Category = "Scripts/Tool",
	Author = "Bryan Ray/MuseVFX",
	Version = 1,
	Date = {2019, 8, 5},
	Description = [[<p>A script that connects all of the channels of a ColorControl to a new Probe Modifier. If multiple ColorControls are present on a tool, a dialog will ask which one you want to connect.</p>
	]],
	Deploy = {
		"Scripts/Tool/AutoProbe.lua",
	},
}

Atom directory:
com.MuseVFX.AutoProbe.zip
You do not have the required permissions to view the files attached to this post.

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

Re: AutoProbe, a ToolScript

#2

Post by SirEdric » Mon Aug 05, 2019 9:35 pm

*Very* nice!

User avatar
SecondMan
Site Admin
Posts: 4095
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 13
Location: Vancouver, Canada
Been thanked: 28 times
Contact:

Re: AutoProbe, a ToolScript

#3

Post by SecondMan » Tue Aug 06, 2019 2:05 am

Works beautifully, thanks Bryan!

Submitted to Reactor! :cheer:

User avatar
Movalex
Sir Requestalot
Posts: 175
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 11 times
Contact:

Re: AutoProbe, a ToolScript

#4

Post by Movalex » Tue Aug 06, 2019 4:46 am

Is there a test comp or something to illustrate how it works?

User avatar
Midgardsormr
Fusionator
Posts: 1487
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 8
Location: Los Angeles, CA, USA
Been thanked: 33 times
Contact:

Re: AutoProbe, a ToolScript

#5

Post by Midgardsormr » Tue Aug 06, 2019 6:32 am

It's pretty simple; I'm not sure how a test comp would demonstrate anything. Normally when connecting a Probe you right-click a ColorControl and Modify With > Probe. Then you have to do Connect To > Probe1... on three more controls to get it completely set up. That's eight clicks and is annoying.

The script is right-click node and Script > AutoProbe. It connects four channels at once to a new Probe.

Are you asking for an example of how the Probe itself is used? That would probably be worth a thread of its own, as there are many applications.

User avatar
Movalex
Sir Requestalot
Posts: 175
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 11 times
Contact:

Re: AutoProbe, a ToolScript

#6

Post by Movalex » Tue Aug 06, 2019 8:26 am

Ok, I got it. It is a tool script to use with Background or Light nodes, those that have Color Controls. Would be great to add a tool verification to it.
I have found this old tutorial that spills some light on Probe modifier:
But separate thread would be just awesome.

User avatar
Kristof
Fusionista
Posts: 682
Joined: Thu Aug 07, 2014 1:30 pm
Answers: 1
Been thanked: 4 times

Re: AutoProbe, a ToolScript

#7

Post by Kristof » Tue Aug 06, 2019 8:58 am

Oh yeah, setting up a probe modifier can be tedious. Great script, thanks!

User avatar
Midgardsormr
Fusionator
Posts: 1487
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 8
Location: Los Angeles, CA, USA
Been thanked: 33 times
Contact:

Re: AutoProbe, a ToolScript  [SUBMITTED]

#8

Post by Midgardsormr » Wed Feb 05, 2020 11:17 am

Update!

In v1.2, I've added some error handling and fixed that bug where the first control to be connected to a Probe is clamped.
com.MuseVFX.AutoProbe.zip
You do not have the required permissions to view the files attached to this post.

User avatar
SecondMan
Site Admin
Posts: 4095
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 13
Location: Vancouver, Canada
Been thanked: 28 times
Contact:

Re: AutoProbe, a ToolScript

#9

Post by SecondMan » Wed Feb 05, 2020 12:35 pm

And available in Reactor now! :cheer: