Skip to main content
VertexBee
Known Participant
September 9, 2010
Question

script request : the PS multi cloner

  • September 9, 2010
  • 1 reply
  • 1273 views

Ok, first I'll present you the problem:
Often in texturing work for video games, you have to make changes and edits to all the textures that are used for the final in-game model .
So right now to be able to use a clone-brush on all of your different textures at once, means you need to buy separate package, such as Maxon's BodyPaint3d.
CS3 has introduced a new palette for managing up to 5 different clone sources, but there is no convenient way to sync their starting point. Also Photoshop doesn't
allow you to record brush stokes and re-apply them,the only way to do that is to use macro recorder to capture your mouse movements.

So, here I present you the"PS multi Cloner" idea:
http://www.vertexbee.com/pics/PSmultiCloner01.jpg

1 Using one starting point for all clone sources:
Is it possible to sync the origin of the clone sources so when you use the clone stamp brush all the layers will align with each other perfectly.
Possible workflow will be to manually choose all your clone targets using the clone palette , choose a starting point for the first clone source(it is done by using Alt + click), and finally run a script which aligns the origin of the rest of the targets to the first one.

http://www.vertexbee.com/pics/PSmultiCloner02.jpg

2 Record and re-apply simple brush strokes:
Is it possible to record a simple brush stroke and replay it onto a different layer? Or is it possible to update several layers each with different clone source simultaneously?
http://www.vertexbee.com/pics/PSmultiCloner03.jpg

Such script will be of great help , guys, I hope you find the idea interesting and some of you can help with its realization.

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
September 9, 2010

VertexBee wrote:

Photoshop doesn't allow you to record brush stokes and re-apply them.

Is it possible to record a simple brush stroke and replay it onto a different layer? Or is it possible to update several layers each with different clone source simultaneously?

Up top you note that it is not possible to record brush strokes using Photoshop then at the bottom you ask if is it possible to record brush strokes.  When you know that it is not possible to record brush strokes.  I don't get it????

JJMack
VertexBee
VertexBeeAuthor
Known Participant
September 9, 2010

Oh, sorry about that, it was not clear enough.

What I was trying to ask is if it's possible to implement such feature via scripting.

PS misses such feature and I as an artist will really appreciate if someone with programing skills can do something about it. It would turn out as a really helpful tool... if it is possible of course.

Anyway, what you think about the first question regarding the control of the clone sources?

JJMack
Community Expert
Community Expert
September 9, 2010

Photoshop Scripting does not record anything.  There is a plug-in that ships with Photoshop named "ScriptListener". This plug-in can record any thing that can be recorded by Photoshop in Javascript and VSB script code.  Brush Strokes are not recordable.  The  code recorded by the ScriptListener  is step step step like actions every step is hard coded.  These steps use Photoshop's action manager.  There are many things that are not scriptable using Adobe provided scripting methods.  However it is possible using code generated with the ScriptListener to program functions that can not be done with Photoshop scripting methods by replacing some hard coded parameters in the action manager script steps with variables and use Photoshop's action manager.

Still Brush Strokes can not be recorded or automated using anything Adobe has released. You first question seemed to want to run a script to automate brush strokes to all layers which is not possible for brush strokes can not be automated.

JJMack