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 '10 at 12:22 PM

M3D gravatar image

M3D
12 1 1 3

Edited question title for clarity.

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

4 answers: 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 '10 at 01:46 PM

duck gravatar image

duck ♦♦
41k 92 148 415

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

alt text

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

more ▼

answered Oct 02 '12 at 11:13 PM

rok_ed@yahoo.com gravatar image

rok_ed@yahoo.com
1 1 2 4

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

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.

more ▼

answered Nov 30 '10 at 11:05 AM

Zac gravatar image

Zac
1

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

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.

more ▼

answered Nov 30 '10 at 11:25 AM

Volatile gravatar image

Volatile
17 1 2

(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:

x3015
x683
x261
x152

asked: Jan 15 '10 at 12:22 PM

Seen: 11487 times

Last Updated: Oct 02 '12 at 11:13 PM