Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Multiple camera setup

Author
Message
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Oct 2003 21:02
Test program:


Main Functions:


The main createViewPort function is designed to create cameras & viewports for up to 4 cameras, with different styles for up to 3 people :

ONEPLAYER_FULLSCREEN - Creates a full width viewport for one player
ONEPLAYER_HALFSCREEN - Creates a half width and height viewport for one player, centered to the width of the screen.
ONEPLAYER_169RATIO - Creates a full width, but half height viewport for one player, centred to the screen. Emulates the 16:9 TV format.

TWOPLAYER_HORZSPLIT - Creates a two player horizontally split screen
TWOPLAYER_VERTSPLIT - Creates a two player vertically split screen

THREEPLAYER_HORZSPLIT - Creates a three player horizontally split screen
THREEPLAYER_VERTSPLIT - Creates a three player vertically split screen
THREEPLAYER_GROUP - Creates two sections : The top half is split in two horizontally, whilst the bottom half isn't


Avatar & Logo by Indi. Insert witty comment here...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Oct 2003 22:27
Do make sure that camera 0 points to a blank image otherwise you have also have that in the background.


Avatar & Logo by Indi. Insert witty comment here...

Login to post a reply

Server time is: 2024-11-23 23:57:30
Your offset time is: 2024-11-23 23:57:30