Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Zoom in without moving camera

I want zoom in and zoom out functionality without moving the camera. If possible I also don't want to put extra camera. How do i do it ?

My original view

alt text

Split camera view in parts

alt text

Required Output

alt text

Product Version: UE 4.21
more ▼

asked Jan 12 '19 at 01:19 PM in Rendering

avatar image

517 18 34 51

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

The most obvious solution would be calculating the center location of those green cells, turning the camera toward one ("look at") and zoom in using the Field of view property of the camera.
However that would not result in exactly the look you show in the 3rd image because since that's a cutout from the original picture and thus it's perspective comes there too. The vanishing point is outside the picture which is a tricky effect to implement in realtime afaik, would probably need the modification of the render pipeline.

more ▼

answered Jan 12 '19 at 02:14 PM

avatar image

1.5k 79 92 141

avatar image L34D3R Feb 18 '19 at 05:38 AM

Thanks for the answer. @ZoltanE

(comments are locked)
10|2000 characters needed characters left

Hello, You can use a post processing effect which change the position and the scale of your UV coords.

Personnaly, I recommand you to use another camera in order to keep a good picture quality (nevermind, it depends of your needs).

For your example with my material, you have to use MinX = 0, MinY = 1/3, MaxX = 1/3, MaxY = 2/3.

alt text

more ▼

answered Jan 18 '19 at 09:14 PM

avatar image

101 1 3 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question