YOUR ACCOUNT

Login or Register to post new topics or replies
Zone12
Zone12
Posts: 6
Filters: 14
I know there is already a post on polar distortion, which I searched for after working on a landscape texture. I would love to be able to distort this texture so it can be perfectly mapped to a sphere. The best way to do this is a colour based distortion. Basically it takes two grayscale images one for vertical and one for horizontal distortion, and then applies those to the image, with the orogin of each pixel governed by the shade of grey in the distortion map.

In this example, the right of the image is 25% grey, so the pixel would be taken from 25% of the width of the image to the left.
image:

horizontal distortion map:

result:


I think that this would be a great addition to filterforge.
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Zone12,

I believe you can do this with the Offset component, by plugging a gradient/image into its Offset H input -- except the gradient would have to look grey (which is 0 offset) on the left side and slightly whiter-than-grey (which will drag the image to the right) on the right side.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Were you talking about something like this..


test.ffxml
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Heres the workflow

Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Good illustration, CFandM.
That's basically what I was talking about -- however if the image was not symmetrical, I think that left side would be a reflection of the right side (rather than just be the leftside without any offset change) -- because it's black instead of gray. (You seem to get a mirror wrap around effect if you offset far enough...)
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

21 unregistered users.