x


How can I show split screen or multiple camera views at the same time?

hi, I have created a room with furniture, I walked inside the room (cam 1 first person), and view the model from the top in another window with another cam (cam 2 ortographic or 3\4). is possible to have two windows in a single window, two cam view in a single window? tnx

more ▼

asked Jan 15, 2010 at 12:22 PM

M3D gravatar image

M3D
12 1 2 4

Edited question title for clarity.

Jan 15, 2010 at 02:01 PM duck ♦♦
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Yes it is possible. Just use the "Normalized View Port Rect" setting of each camera, to set each camera to fill the portion of the screen that you want.

Simply create both cameras, and then - for example - a side-by-side view (split screen vertical) could be achieved by setting:

Left Camera - Normalized View Port Rect:

  • X : 0
  • Y : 0
  • Width : 0.5
  • Height : 1

Right Camera - Normalized View Port Rect:

  • X : 0.5
  • Y : 0
  • Width 0.5
  • Height 1

And a split screen horizontal view (one view on top of another) could be achieved with these settings:

Top Camera - Normalized View Port Rect:

  • X : 0
  • Y : 0.5
  • Width : 1
  • Height : 0.5

Bottom Camera - Normalized View Port Rect:

  • X : 0
  • Y : 0
  • Width 1
  • Height 0.5
more ▼

answered Jan 15, 2010 at 01:46 PM

duck gravatar image

duck ♦♦
46.8k 128 188 453

But why is the camera cannot be view when I start to play it? Only FPS camera view can be seen. The 2nd camera is not shown.

Nov 30, 2010 at 11:05 AM Zac

hi, you have a option to change the " depth " in the inspector, the higher the value will be drawn over the original view. eg, main cam depth = 1 , cam 2 depth = 2. Now both cameras should work.

Nov 30, 2010 at 11:25 AM Volatile

alt text

as you see here : split camera , you need 2 cameras , and you modify values of the normalized view port

Oct 02, 2012 at 11:13 PM rok_ed@yahoo.com
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Topics:

x4643
x1147
x415
x203

asked: Jan 15, 2010 at 12:22 PM

Seen: 19293 times

Last Updated: Oct 02, 2012 at 11:13 PM