SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > General > General Topics
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-12-12, 01:49 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default PhotoShop Experts, help please?

I usually bug danlisa with PS questions but I saw he has not logged in for awhile and may not answer my PM anytime soon.

I need to place 30 bolts in an even pattern on a Deck Gun plate texture.
That's 12 degrees of rotation for each bolt.
The bolt is a brush for PS so that's the easy part.
(I'm big on easy!)

I have a script for old versions that used .esp scripts but that has changed with CS5

Is there an easier way aside from doing a butt load of layers by hand?
  Reply With Quote
Old 01-12-12, 02:13 PM   #2
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

You could try changing the brush spacing and angle (to 12 degrees) from the
brush settings (should be on the right hand side, near the color palette).

Dowly is offline   Reply With Quote
Old 01-12-12, 02:28 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default


I saw that setting once and forgot all about it.
I can kind of see what I'd need to do now.

Create a new brush from the one I have, moved off center the needed distance, then do the rotation 30 times.

That sound right?


DUH!!
I just noticed the spaceing setting.
  Reply With Quote
Old 01-12-12, 02:38 PM   #4
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

Alles klar then?
Dowly is offline   Reply With Quote
Old 01-12-12, 02:42 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Aye.
I think it will do the job after I fumble with it all for awhile.


I really need to learn to do some scripting with PS though.

Is there a record feature to help with something like that?
So I could record some of what I do to a script?
  Reply With Quote
Old 01-12-12, 02:45 PM   #6
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

Well, there is the "Actions" function (Window->Actions from the top) that allows
you to record your actions and then save it as a new action. (guess it's kinda like a script )

Actions function explained:
Dowly is offline   Reply With Quote
Old 01-12-12, 02:52 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Roger.
Just found that myself.
I'm thinking if I record the first rotation/offset I could adjust that to do the other gazillion.


Of course I will probably waste more time doing this then the texture would take by hand?
But I may need this in the future for other projects.
And of course others may like something like it if I can pull it off.


Thanks Mate!!
  Reply With Quote
Old 01-12-12, 02:53 PM   #8
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

You're welcome.
Dowly is offline   Reply With Quote
Old 01-12-12, 03:56 PM   #9
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I opened the .esp file in PS after a few small adjustments in NotePad.
It gave me a use-able layer with the perfect layout for the bolt spaceing.


I still have to place the bolts by hand at this point but it's WAY farther ahead then I got the last several days!


I can use Dowly's advise to do the placements now and it's not to bad.
  Reply With Quote
Old 01-12-12, 04:42 PM   #10
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Here's what I came up with that works for me so far.

Copy this script and save with the.esp extension......
-----------------------------------------
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 400 800
%%Creator: Gernot Hoffmann
%%Title: N Circle Segment
%%CreationDate: November 07/2008

/mm {2.834646 mul} def
/x 100 mm def
/s 100 mm def
x x translate
s s scale % 1 --> 100mm

0.25 mm s div setlinewidth
0 0 1 setrgbcolor

0 0 1 0 360 arc
stroke

1 0 0 setrgbcolor

/N 30 def % N segments
/da 360 N div def
/an 0 def
1 1 N
{pop
0 0 moveto
an cos an sin lineto
/an an da add def
} for
stroke

showpage

----------------------------

N 30 is the division so change that as you wish.

Open it with PS as the default 8.5 by 11 document.
Use the Magic wand to select the outter ring and scale that as needed.
Save as needed and use it as a template for placeing stuff.


I can whack out those 30 bolts real quick now!!
  Reply With Quote
Old 01-12-12, 04:47 PM   #11
Herr-Berbunch
Kaiser Bill's batman
 
Herr-Berbunch's Avatar
 
Join Date: May 2010
Location: AN72
Posts: 13,203
Downloads: 76
Uploads: 0
Default

I really need to learn more about using it other than just HDR toning (cheat!) and a bit of basic cutting/layers/colouring
__________________
Herr-Berbunch is offline   Reply With Quote
Old 01-13-12, 03:20 PM   #12
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

With Dowly's and danlisa's help?
I got it done without the postscript file.


Dan had me create a circle with the Marquee Tool,
right click that and select Make Work Path.
I used .5 as the setting.

Then I selected my Bolt brush and edited the values somewhat as Dowly pointed out.
I select PATHS in the right window and right clicked on Work Path,
then Stroke Path.


I had to fiddle with the size of the brush and the spaceing a few times but I finally got them set to produce 30 bolts around my circle path.

Brilliant Guys!! Thanks for the lessons.
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.