🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #522

Re: Realtime Refraction in photoshop?

#522
From: christoph_pfaffenbichler
Date: Tue, 06 Jan 2009 12:47
8 lines
1831 bytes
I�m not sure if the Scripting-forum is really the best place for the question.
Could You link to an example of what You mean exactly?

Anyway if one makes the whole of the background (however many layers that are) into a Smart Object one can create a Displacement Map for use with Filter � Distort � Displace and apply that to either the original SO or a copy thereof (possibly masked or Clipping Masked to a foreground object) and on editing the SO the displacement will be applied to the result.
The thing to keep in mind is that Displacement Maps can work with two channels to affect the horizontal and vertical offset separately and that black and white in a channel mean positive and negative offset.
Which means that is possibly for example to create an approximation of a lens-effect by creating an rgb-file of a circle with a 50%-grey center and 12-, 3-, 6-, 9-o�clock-points (so to speak) measuring at 128/255/128, 0/128/128, 128/0/128, 255/128/128.
Reflections and shadows could be achieved with Layer Styles or Adjustment Layers �
All in all the method is not that easy, but it might come close to what I think You had in Mind.
Technical Details
Message-ID: <59b76df1.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b76df1.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,32bee6814f322e20
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: christoph_pfaffenbichler@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Realtime Refraction in photoshop?
Message-ID: <59b76df1.0@webcrossing.la2eafNXanI>
Date: Tue, 6 Jan 2009 04:47:18 -0800
References: <59b76df1.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit