Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug): Transform node does not take image center into account #900

Open
6 of 10 tasks
monocrmd opened this issue Jul 3, 2023 · 0 comments
Open
6 of 10 tasks

(Bug): Transform node does not take image center into account #900

monocrmd opened this issue Jul 3, 2023 · 0 comments
Labels
type:bug Something isn't working

Comments

@monocrmd
Copy link

monocrmd commented Jul 3, 2023

Make sure to follow our issue report guidelines

  • I'm using the latest version of Natron (not required but recommended)
  • I've restarted Natron and the issue persists
  • I've run Natron via the command line and the issue persists
  • I've followed the contributing guidelines to the best of my understanding
  • My issue is not on the issue tracker or in a pull request already (go search for it and dig around a little bit!)
  • This bug is reproducible

Natron version

2.5

Operating system

Windows 11

System specs

RAM: 128gb
Intel 13700
Zotac 4090

Did you install Natron using the official installer?

  • Yes, I used the official installer
  • No, I installed from a binary archive
  • No, I compiled Natron from sources
  • No, I installed Natron via another method

Custom installation path

No response

What were you trying to do?

I tried to take an image from a read node and center it to the image via a transform node. In my case, HD Format 1920px, so I put in 960px in x.

What did you expect to happen? What happened instead?

The transform node puts the image off center by the half value of the images width. If I reset the center on the transform node and minus that value from the translate value, the image appears to be at the right position.

I think the transform node does not take the center of the image into account and uses the x0y0 origin of the image instead.

Step-by-step reproduction instructions

  1. load image via read node
  2. add a transform to half the size of your canvas size
  3. the image is off
  4. press reset center if your transform is not at the middle already
  5. minus that value with the translate x value
  6. the image is at the right location
    image

Additional details

No response

@monocrmd monocrmd added the type:bug Something isn't working label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant