Basic Terrain Set Up in World Machine:

Similar documents
NOTICE. The information contained in this document is subject to change without notice.

Dektak Step by Step Instructions:

Essential EndNote X7.

WAVES H-EQ HYBRID EQUALIZER USER GUIDE

7thSense Design Delta Media Server

FS3. Quick Start Guide. Overview. FS3 Control

Applying effects including adjusting volume and fade in and out

spiff manual version 1.0 oeksound spiff adaptive transient processor User Manual

E X P E R I M E N T 1

Introduction to EndNote

WAVES Cobalt Saphira. User Guide

After Effects Compositing Basics

MUSC 1331 Lab 1 (Sunday Class) Basic Operations and Editing in Performer. Quantization in Performer

Processing data with Mestrelab Mnova

INTRODUCTION SELECTIONS. STRAIGHT vs PREMULTIPLIED Alpha Channels

NOTICE: This document is for use only at UNSW. No copies can be made of this document without the permission of the authors.

Using EndNote X6 to Manage Bibliographies

ZYLIA Studio PRO reference manual v1.0.0

A BEGINNER'S GUIDE TO ENDNOTE ONLINE

The BAT WAVE ANALYZER project

Linkage 3.6. User s Guide

Background. About automation subtracks

Introduction to GRIP. The GRIP user interface consists of 4 parts:

MAutoPitch. Presets button. Left arrow button. Right arrow button. Randomize button. Save button. Panic button. Settings button

Ultra 4K Tool Box. Version Release Note

Getting Started After Effects Files More Information. Global Modifications. Network IDs. Strand Opens. Bumpers. Promo End Pages.

The Complete Guide to Music Technology using Cubase Sample Chapter

Using EndNote X4 to Manage Bibliographies

Import and quantification of a micro titer plate image

Printing From Applications: QuarkXPress 8

Introduction to EndNote Desktop

Camtasia for Mac. Create Your First Video Guide. Release 1.1. February TechSmith Corporation. All rights reserved.

CLA MixHub. User Guide

Table of content. Table of content Introduction Concepts Hardware setup...4

EndNote X7: the basics (downloadable desktop version)

1) Open EndNote. When asked, choose an existing library or Create a New Library.

How To Remove Page Number From First Two Pages In Word 2007

OBS Studio Installation / Settings

The Customizable Robot Face Module

HOW TO MAKE A TABLE OF CONTENTS

Classroom Setup... 2 PC... 2 Document Camera... 3 DVD... 4 Auxiliary... 5

colors AN INTRODUCTION TO USING COLORS FOR UNITY v1.1

Overview. Project Shutdown Schedule

FreeStyler Fixture Creator 4.9. Tutorial for American DJ Mega Bar LED. or similar LED Bars or multiple RGB element LED fixtures

Written Tutorial and copyright 2016 by Open for free distribution as long as author acknowledgment remains.

OVERVIEW. 1. Getting Started Pg Creating a New GarageBand Song Pg Apple Loops Pg Editing Audio Pg. 7

F7000NV ROBOT VISION OPERATING MANUAL

Reason Overview3. Reason Overview

Submitting, checking and correcting your manuscript

Kindle Add-In for Microsoft Word User Guide

EndNote Tutorial Handout Table of Contents

What's new in EndNote Version 6?

Quick Reference Manual

Using EndNote X7 to Manage Bibliographies on a Mac!

Analyzing and Saving a Signal

GarageBand Tutorial

Basic Pattern Recognition with NI Vision

PYROPTIX TM IMAGE PROCESSING SOFTWARE

CE 9.1 Cisco TelePresence User Guide Systems Using Touch10

Configuring the Stack ST8961 VS Module when used in conjunction with a Stack ST81xx series display.

Tutorial 3 Normalize step-cycles, average waveform amplitude and the Layout program

CE 9.0 Cisco TelePresence User Guide Systems Using Touch10

FS1-X. Quick Start Guide. Overview. Frame Rate Conversion Option. Two Video Processors. Two Operating Modes

Music Programming. Copyright 2013 by David Campos

2. Document setup: The full physical page size including all margins will be 148mm x 210mm The five sets of margins

DW Drum Enhancer. User Manual Version 1.

Supplement to the Operating Instructions. PRemote V 1.2.x. Dallmeier electronic GmbH. DK GB / Rev /

EndNote X7 Getting Started. (adapted with permission from Thompson 2006)

HyperMedia Software User Manual

rekordbox TM LIGHTING mode Operation Guide

Defining and Labeling Circuits and Electrical Phasing in PLS-CADD

Desktop. Basic use of EndNote. Important start info 3 tips p. 1. Entering references manually p. 3

GY-HM200SP USERS GUIDE

Delivering the Curriculum Through Creativity

Ready. Set. Go make your show. Your guide to creating your first video program with

Using EndNote X7 for Windows to Manage Bibliographies A Guide to EndNote for Windows by Information Services Staff of UTS Library

invr User s Guide Rev 1.4 (Aug. 2004)

EndNote X7: the basics (downloadable desktop version)

Thieme Dissector Manual

VideoClock. Quick Start

Getting started with EndNote online

EndNote XV (fifteen): the basics (downloadable desktop version)

Guide to EndNote X8. Windows-version

LedSet User s Manual V Official website: 1 /

rekordbox TM LIGHTING mode Operation Guide

Statement SmartLCT User s Manual Welcome to use the product from Xi an NovaStar Tech Co., Ltd. (hereinafter referred to as NovaStar ). It is our great

Chapter 4 Working with Bands

UTS: Library Using EndNote X8 for Windows. A guide to EndNote X8 for Windows by Information Services Staff

Formatting Dissertations or Theses for UMass Amherst with MacWord 2008

EndNote X6: the basics (downloadable desktop version)

McIDAS-V Tutorial Using HYDRA to Interrogate Hyperspectral Data updated September 2015 (software version 1.5)

VSP 198CVS Quick Start

SmartScore Quick Tour

Tutor Led Manual v1.7. Table of Contents PREFACE I.T. Skills Required Before Attempting this Course... 1 Copyright... 2 GETTING STARTED...

Setting Up the Warp System File: Warp Theater Set-up.doc 25 MAY 04

INTERLACE CHARACTER EDITOR (ICE) Programmed by Bobby Clark. Version 1.0 for the ABBUC Software Contest 2011

Analysis of AP/axon classes and PSP on the basis of AP amplitude

CE 9.2 Cisco TelePresence User Guide Systems Using Touch10

USING ENDNOTE ON A MAC (with APA examples) Version 1

The Administrator s Guide to using EndNote online

Transcription:

Basic Terrain Set Up in World Machine:! World Machine can be quickly become complex for the new user, there are many devices to learn and their actions are not always apparent. However you can do a lot with a simple set up, ignoring the other elements for now. This tutorial tries to establish a basic set up that allows you to export a terrain Heightmap and texture Splatmap for use in a game engine such as Unity3D. In the case of Unity3D you will need these scripts to import a Splatmap. Be aware this is meant merely as a supplement to the World Machine manual, addressing what we have done in class. Please look at the manual for a proper understanding! The World Machine User Interface is quite idiosyncratic so you will have to go the trouble of exploring the UI by playing around yourself and also reading up on it. There is very little option to Undo for example and you will have to develop your workflow around this fact, saving regularly for example, or at least saving before trying something radical with a setup you are already happy with. The Device Reference on the World Machine website is where youʼll find detailed information about each device. Spend the time to at least read over the the devices we are covering in this tutorial. Of course the best way to learn what they do is to play with them. We are looking at using Advanced Perlin devices as a basis for our terrain. Note that you can also use a File Input device from Device > Generator > File Input in the menu bar to load your own greyscale image. Perhaps you roughly sculpted what you want in Unity3D for example and want to apply some noise and erosion to it. you would export that as a Heightmap from Unity3D, convert it from a.raw to a.tif and then import that into World Machine with the File Input device. Again, the Device Reference will explain this in detail. If you are working towards quite a flat terrain where the environmental assets are the main focus, not really the terrain, then I recommend at least using World Machine to create a subtle noise on the ground rather than keeping it purely flat. Play with the Elevation Center and Steepness parameters inside the Advanced Perlin to get a nice low level noise. 1

! When you first open World Machine you will see the Device Workflow screen. This is where you organise your devices which control the noise that will generate your terrain. To help you make a start there are 3 commonly used devices setup by default, an Advanced Perlin, a Terrace and a Height Output device. Access different views by clicking the icons to the right of the dice, or from the Views menu. You will mainly use the Device View and the 3D View. The colored boxes around the devices are simply there to help you organise this screen. When you move the colored boxes any device inside will be also moved. You can just ignore them if you like. Right clicking on a device brings up some useful options such as: Disconnect device Disable device Bypass device Delete device You can scale the device layout with your mouse scroll wheel, pan with right click while moving the mouse and select a group of devices by drawing a marquee with left mouse button. Usually you will begin your chain of devices with an Advanced Perlin, connect that to a series of other devices that add to and manipulate the noise it generates, and then end the chain with a Height Output device which allows you to export your Heightmap. Here we will add some other devices also. I wonʼt go into detail as to how you should setup the noise in your Advanced Perlin devices, but consider setting up one with small scale features and the other with large scale features and experiment with how they blend. More on that further down. 2

First letʼs delete theterrace device and replace it with an Erosion device. If you want to add and experiment with other devices go ahead, but at least add this Erosion. From the menu: Device > Natural Filters > Erosion. To connect devices click on the small grey(sometimes brown) squares on the left and right sides of the device. These squares are the inputs and outputs of the device. Note what information is given s you hover over them. As you click the input/output a line will appear that sticks to your cursor. Drag the line to the input/output of the device you want to connect to. Sometimes the line will make you angry! Just right click and it should go away.. If a new device can be connected between 2 existing devices, a red dot appears as you hover over the midpoint with your cursor while dragging the device. 3

As a rule, when connecting new devices to existing devices, it is good practice to click from the new device and not the other way around. This is because if you already have several connections on an existing device you will lose those connections and have to make them again. Also you will notice that as you activate an input/output, only the input/outputs on other devices that can accept the connection will be shown, the irrelevant ones will disappear. Taking notice of this will help when you are unsure where to make the connection. Now that we have an Erosion device connected, letʼs add a 2nd Advanced Perlin device and a Combiner: Device > Generators > Advanced Perlin Device > Combiners > Combiner Double click the Combiner device and youʼll see it is set to Average, which gives an even blend of the 2 Advanced Perlin devices. Letʼs leave it like that for now. Hopefully you have access to the extra devices called macros which can be found in Devices > Macro from Library. If you donʼt have any macros and your library is empty, download and install the free version of World Machine and they should be available. 4

Select Basic Coverage and click load, then click anywhere on the Device View. This device will help enable us to create a Splatmap which Iʼll explain further later on. The Basic Coverage device has 2 inputs on the left, the Terrain Input and the Erosion Input. Connect the Terrain Input to the Primary Output of the Erosion device. Do not use the Erosion Input as we will use the Alpha Input of the Bitmap Output instead. Got that? Here you are feeding the Heightmap from the Advanced Perlin, through the Erosion, and into the Basic Coverage device. This device will help us to assign ground textures to height and slope parameters of our terrain according to settings you can control by double clicking the device and opening it up: By default the Basic Coverage device will be set up with earth colors relating roughly to what is expected to happen at the slopes and heights these colors are assigned to. We can change these colors to whatever we want, and we want to use primary Red, Green and Blue. Notice you can pick a primary Red from the color picker: Red 255, Green 0, Blue 0. Weʼll leave erosion as Black. 5

For now play around with the Height Cutoff and Slope Cutoff and note the changes you see in the live preview window at the top of the left sidebar. To finish our device setup we need a Bitmap Output and an Overlay View. Menu bar: Devices > Outputs. Rather than further confuse you with words take a close look at the image to the right here and see how Iʼve made the connections. There are a few things you will notice. Firstly some of the connection lines are blue, these connections carry RGB image information rather than Heightmap information. You will also see that 4 devices are plugged into the Erosion device Heightmap output. Finally youʼll see that weʼve made our first connection using the secondary brown input/ outputs. Remember that we set up 3 RGB colors in the Basic Coverage device. When we connect the Alpha Input to one of the 3 brown output squares on the Erosion device, we are assigning some heightmap information to the alpha channel of our Splatmap. So now we are making use of all 4 channels. If in doubt as to which Erosion output to use, go with the Flow. Flow isolates the channels created by water-mimicking algorithms acting on the terrain over time and generally looks good. The Overlay View allows us to see the Heightmap in the 3D View in World Machine with the results of the Basic Coverage macro applied. It needs 2 inputs, first the Heightmap, which should come from the Erosion Output, and it also needs to connect to the output of the Basic Coverage macro. 6

The Bitmap Output allows us to export the final Image. When your set up is done, double click the Bitmap Output and give your image a name and a location for saving via ʻSpecify Output Fileʼ. Use the.tiff file format. Finally, hit ʻWrite Output to Disk!ʼ. When you try to ʻWrite Output to Diskʼ there will be a prompt: The World Must be Built Before You Can Export Your Terrain. Click ʻYesʼ, wait while World Machine builds your terrain, hit Ok and you will see a message, File Written Successfully. It is finally done. You now have a Splatmap with 4 texture layers that you can import into Unity3D. Open the file up in Photoshop and take a look in the Channels view. To create your Heightmap double click the Height Output, choose a file format, I recommend Tiffs. Use Set to give your Heightmap and name and location, and then click Write Output to Disk!. You may need to wait for World Machine to build your landscape again, click Ok and you should see a message telling you File name.tif Written Successfully. Game engines require Heightmaps to be in.raw format. This can be tricky as there are several ways to import and export.raw files, and this includes differences between mac and Pc. From my experience though, after loading your.tif into Photoshop and exporting it as Photoshop.RAW with default settings, and then importing it into Unity3D with default settings, you shouldnʼt have any trouble. If your heightmap in the game editor is very spikey, the format is not correct and you need to try different settings. Good luck with that.. 7

So this is what I recommend as a minimum setup before you embark on creating your terrain. The 2 Advanced Perlin devices give you broad control over the overall form of the terrain, both high frequency and low frequency characteristics, while the Erosion adds a high degree of naturalism and sophistication. The Basic Coverage allows us to export an image whose various color channels we can use to control where exactly ground textures are added to our terrain in Unity3D or any game engine that can import what we call Splatmaps. Splatmaps: When we look an RGB image in photoshop we see it is made up of Red, Green and Blue channels and possibly an Alpha channel. Below Iʼve tried to illustrate what is happening when we import a Splatmap into a game engine such as Unity3D. What we are doing is using each of these color channels to control where a ground texture is added to the terrain. White means the texture will be visible on the terrian. 8

Using World Machine we can store information that locates for example only the steep angles of a terrain. You might want to apply a rock texture to these steep areas. If that information is stored in your red channel, which is read first in Unity3D (then green, then blue), then ensure your rock texture is the first texture you add when setting up your ground textures. If the Green channel represents your grass layer then introduce a grass ground texture next in Unity3D. Unity3D A final note about Splatmaps and Unity3D. The terrain scripts you need to setup the import process actually donʼt allow use of the Alpha Channel (!). If you have an alpha channel keep it black, otherwise just donʼt use it. Iʼve included creating the Alpha layer here because I think itʼs good practice. Other game engines may be able to use it, and you can always create it in World Machine and then take it out to use as a separate Overlaymap. However.. You can import additional Splatmap layers as an Overlaymap using the terrain scripts. And you can add as many of these as you like, but you just have to understand that you canʼt Undo these actions, only Redo them. So play around with your Splatmaps and Overlay maps until you think you have what you want, then start from scratch and apply them again, always naming them so you can maintain an organised understanding of what you are doing. Unity3D When using the Overlay map option you have the option to Change Terrain. So the active area of the Overlaymap, the white areas, adjust the Heightmap as it is applied. So if you have an Overlaymap for snow coverage for example you can add say.5 in Change Terrain and the Heightmap will raise slightly where your snow texture is applied. You can also use a negative value, good for paths. 9

Unity3D A few things to remember re Splatmaps: Check this Is Readable check box in the Inspector panel in Unity3d for the Splatmap, otherwise the terrain script wonʼt accept it. Hit Apply after youʼve checked the box. World Machine will export your Splatmap and Heightmap as ʻTo the Power of 2ʼ resolution plus 1. So 512 becomes 513 and so on. This is good for your heightmap, but not your Splatmap. So resize your Splatmaps in Photoshop back down to 512, or 1024 or whatever size you are aiming for. 10