Question. Centering image in Nuke?
Hey guys might be this question is very basic but please help me. I want that my image should come in the center when I merge other images on some constant node. for egImage1 size w/h 1500px and merging on constant node with w/h 2000px now i want that image1 should be on center of constant. The way I do is always to calculate manually. Is there any other way with which nuke calculates and checks the size of the constant and my file and makes my image1 in the center?? Any expression or some other node?? I really have don’t much knowledge of expression. Please guide me. Thanks in advance
이 사람은 이미지 규격을 손으로 계산해서 입력해왔고, 더 쉽게 이미지를 센터에 맞추는 방법을 물어봤다.
이미지에 transform 노드를 달때 센터가 중심에 잡히지 않을 수 있다. 트랜스폼을 조정하면 설정된 센터에 맞춰 바뀐다.
답글.
Easier than writing expressions. Add a “reformat” node to the 1500px image. In the “output format” you should pick the resolution of the 2000px image (which will be near the bottom of the list). Then set the “resize type” to “none”.
Now when you merge them it will be centered.
이미지에 reformat 노드를 달고 아웃풋 포맷을 원하는 규격으로 설정. 리사이즈 타입은 none.
오리사진 원본의 이미지 크기가 1345 - 992 이고
산출 포맷이 2048-1556, 리사이즈 타입은 중앙이지만 none 이니 대지 위에 오리 그림을 올려놓은 결과물이다.
아래에 transform 노드를 달면, 중심이 이미지에 맞춰지기 때문에 엉뚱한 방향으로 돌아가지 않는다.
이미지를 아래로 내리게 되면? ; translate y: -300
중심과 함께 이미지가 아래로 내려감. skew x 오른쪽으로 틀어도 이미지 중심에 맞춰서 찌부.
이미지를 대지위에 맞추기 위해 transform으로 값을 조정하지 않는다. 해도 되지만 굳이.
reformat에서 resize 타입을 바꿔주면 된다. 배경화면 이미지 맞추는 개념이랑 같다.
보통 이미지에 왜곡이 없어야 하므로 fit 이 맞아 보이는데,
작업 시에 보면 대게 none으로 되어 있다. Reformat 노드 상단에 type을 보면
to format은 아래 output format 에 규격을 맞추겠다는 것.
to box로 하면 output format이 사라지고 width/height가 나온다.
scale으로 바꾸면, 이미지 위에 641,428 픽셀로 바뀌어 불린다.
원본 이미지 스케일이 1345 - 992 이더라도, 이미지를 읽어올 때 format도 있다.
그 크기를 기준으로 스케일을 조정한다.
정리하면. 누크에서 이미지 크기를 불러올 때 네가지 크기가 있다는 걸 이해해야 한다.
첫번째는 각기 다른 이미지를 불러들여 최종 산출하고자 하는 이미지 크기인 root format이 있고.
두번째는 이미지의 오리지널 사이즈가 있고.
세번째는 이미지를 읽어올 때의 Format이 있다.
네번째는 테스트 랜더를 가볍게 하기 위해 최종산출물보다 작은 규격을 사용하는 proxy format이 있다. 아웃풋 50%크기.
리포맷 노드는 이렇게 읽어온 이미지의 크기를 산출하고자 하는 이미지 크기로 맞춰주고, 센터를 이미지 중앙에 맞춰주는 기능을 한다.
아웃풋 포맷 / control p ; 프록시 모드
프록시 모드값으로 바뀜.
'sw > nuke' 카테고리의 다른 글
nk006_ mastering nuke vol 1-1 (0) | 2022.06.30 |
---|---|
nk005_Introduction to Nuke for After Effects Artists (0) | 2022.06.29 |
nuke004_ An Introduction to Nuke | Learning the Basics (1) | 2022.06.29 |
nuke003_ hotkeys 02 (0) | 2022.06.28 |
nuke002_ hotkeys 01 (1) | 2022.06.28 |