Web Games Programming Creating Split-View Cameras and Camera Overlays.

Slides:



Advertisements
Similar presentations
Creating posters and flyers Lesson -IV. Editing pictures inside Office Office 2007 has tools to edit photos and pictures in the document. Office 2007.
Advertisements

Introducing Macromedia FreeHand MX
Week 10 Creating Positioned Layouts
UFCFSU-30-13D Technologies for the Web Creating and Updating a Graphical Heads-Up Display (HUD)
Computer Information Technology – Section 4-3 Some text and examples used with permission from:
Text, Masks, and Live Effects – Lesson 41 Text, Masks, and Live Effects Lesson 4.
Greeting Card Math Christmas Card Box Look at your teacher’s box and estimate the number of M&M’s in the box.
Notes Ch. 12—Creating Tables Web Page Design. Why Use Tables? Tables are used to create a variety of items such as calendars, charts, and spreadsheets.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Example This Tutorial takes 1 image and animates its entrance in 4 dynamic ways. S ometimes all it takes is a little “thinking outside.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
UFCFS D Technologies for the Web Unity 3D: Review of Topics and Related Concepts.
Computer Information Technology – Section 4-1 Some text and examples used with permission from:
UFCFS D Technologies for the Web Unity Interface Features.
Copyright Ó Oracle Corporation, All rights reserved Working with Other Canvases.
UFCEK-20-3Web Games Programming Unity 3D: Review of Topics Publishing for the Web.
Presented By: Weidong WU, Ph.D. Date: Part I Creating a drawing format for the paper size A (11 x 8.5) 1. Start Pro/E wildfire. 2. File  set.
Microsoft ® Excel 2010 Core Skills Lesson 5 Viewing and Printing Workbooks Courseware #: 3243 Microsoft ® Office Excel 2010.
Coordinate Systems Lecture 1 Fri, Sep 2, The Coordinate Systems The points we create are transformed through a series of coordinate systems before.
Microsoft Office 2008 for Mac – Illustrated Unit B: Getting Started with Mac OS X Leopard.
UFCFX5-15-3Mobile Device Development Unity 3D Development for Android Unity Mobile Assets.
Object Oriented Programming Lecture 3: Things OO.
Word & Windows Terminology Review. 1. Provides one-click access to common commands you use frequently. In the Business Lab some of the commands you will.
AutoDidge Digitizing scanned well log images. Autodidge AUTODIDGE is a program that allows you to digitize scanned well log images to capture curve data.
UFCEKU-20-3Web Games Programming Creating and Updating a Graphical Heads-Up Display (HUD)
CSS.
Three Dimensional Viewing
Tips for Inserting Graphs or Images Tips for Title/Columns Colors
3D Technologies for the Web
Lesson 5: Viewing and Printing Workbooks
>> Navigation and Layouts in CSS
Tips for Inserting Graphs or Images Tips for Title/Columns Colors
Navigating in 3D MAX V part 1.
Formatting Worksheets
This Tutorial takes 1 image and animates its entrance in 4 dynamic ways. Sometimes all it takes is a little “thinking outside the box” to really get.
Formatting Worksheets
Formatting Worksheets
Basic Graphics Drawing Shapes 1.
Tips for inserting graphs or images
Class 1: First Program.
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Replace with logo Replace with logo
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tutorial 6 Creating Dynamic Pages
Mindless Thinking Games
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Multiplication Grids.
Drawing Walls for a Room
2D Graphics Lecture 4 Fri, Aug 31, 2007.
Adjusting the Tab size.
Positioning.
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Using Word to Write the Story of Your Life
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Adjusting the Tab size.
Key Applications Module Lesson 14 — Working with Tables
The Wife as God Would Have Her to Be
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Welcome To Microsoft Word 2016
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Poster Title Authors’ Names Institution/Organization/Company
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Tips for inserting graphs or images Tips for Title/Headers Bar Color
Presentation transcript:

Web Games Programming Creating Split-View Cameras and Camera Overlays

Agenda Unity Coordinate System for Camera View Positioning Creating Split-View Interface Cameras Creating and Positioning Overlay Camera Viewpoints in the Interface

Split - Viewport Camera Layouts

Unity Camera Viewport Settings Cameras have a default viewport size and position The default height (y) of a camera’s viewport is 1, but can be adjusted accordingly in the Inspector Windowed for the selected camera e.g. y = 0.5 will fill half of the vertical display view Similarly, the default width (x) of a camera’s viewport 1 but can also be adjusted, x=0.5 will fill half of the horizontal display view The camera’s viewport position is for the bottom left corner of the viewport to be at 0,0 , this cans also be changed via the Inspector Window settings for the selected camera. Multi-camera views need to be created with additional cameras other than the Main camera

Camera Screen Coordinates Default Settings Viewport Height (0..1) x 0, y 0 Width (0..1)

Vertical Split-Screen Height (0.5) Viewport x 0, y 0 Width (1)

Horizontal Split-Screen Viewport Height (1) x 0, y 0 Width (0.5)

Quarter Screen Left Top Viewport Height (0.5) x 0, y 0.5 Width (0.5)

Quarter Screen Right Top Viewport Height (0.5) x = 0.5, y = 0.5 Width (0.5)

Quarter Screen Right Bottom Height (0.5) Viewport x = 0.5, y = 0 Width (0.5)

Quarter Screen Left Bottom Height (0.5) Viewport x = 0, y = 0 Width (0.5)

Adjust Settings in the Inspector Window

Summary: Split Viewpoint Cameras The default camera settings are height = 1, width = 1. position of viewport lower left corner at x=0, y=0 Settings for the selected camera can be adjusted in the Inspector Window Create and position a custom camera for each required viewport and with a name that suggests its purpose Use the width and height settings together with the position settings for the bottom left corner of the camera viewport in the main window display view.

Creating Camera Overlays

Setting Camera Overlays Cameras have a default viewing ‘depth order’ in the scene The default depth order value for a new camera is 0 This can be adjusted for the selected camera in the Inspector Window Cameras with a higher value depth order will be shown above cameras with a lower value depth order Cameras can also be sized and positioned overlaying an existing camera via the camera’s x , y, height and width as for split-view scenarios Camera overlays need to be created with additional cameras other than the Main camera

Camera Depth Order result cameraOne depth order = 0 cameraTwo depth order = 1

Adjust Depth - in the Inspector Window

Overlay and Scaling Scaled camera window overlay on main camera could be used as a follow overhead camera to aid character navigation in the world

Summary: Camera Overlays The default camera depth order value is 0 Depth order value can be adjusted in the Inspector Window for the selected camera Once overlay is established, camera can be sized and positioned using selected camera’s height, width, and x, y settings in the Inspector Window as for split-screen layout Small overlay camera useful as a character navigation aid in large 3d Worlds