Jump to content

Moving Image Very Small Amount?


Go to solution Solved by _koh_,

Recommended Posts

I am working with an 8K texture and need to move sections of it VERY small amount and it seems like I can't get it to move in smaller incrementys. Is there a setting for this somewhere?

 

What I am doing is a paint for a video game on a truck I attached 2 phoytos one is of the template and the other is a picture of it in game. You can see the right rear corner stripes are off so I go back in and move that stripe but it always seems to move too far so I need to move it VERY small amount and can't.

Screenshot_1.png

Screenshot_2.png

Link to comment
Share on other sites

25 minutes ago, Rick Brewster said:

Use the arrow keys?

Even the arrow keys move it too far it seems. I usually have to load into the game numerous times to get stripes to line up in corners like that just looking for a smaller movement option. Thanks for the reply!

 

 

 

Link to comment
Share on other sites

  • Solution

Yeah, this method is gamma incorrect and single pixel patterns gonna look pretty bad.

Please use this CodeLab script instead.

 

#region UICode
DoubleSliderControl x = 0.0; // [-1,1] X
DoubleSliderControl y = 0.0; // [-1,1] Y
#endregion

protected override IDeviceImage OnCreateOutput(IDeviceContext DC) {
    return new AffineTransform2DEffect(DC, Environment.SourceImage, new(1,0, 0,1, (float)x,(float)y));
}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...