Creating Spherical Worlds

Kate Compton, James Grieve, Ed Goldman, Ocean Quigley, Christian Stratton, Eric Todd, Andrew Willmott Maxis, Electronic Arts

Background • Spore based on “powers of 10” – Cell life (2D world) – Planet: creatures, tribes, civilisations – Solar System – Interstellar – Galaxy

• Want seamless transitions planets need to be spherical

Planet Constraints • Need to have lots (millions? billions?) – many more than we can manually author

• Need to be playable • Must look good • Need to be fast to generate – We can’t store all these planets – Would like to transmit them at some point

• Need to support terraforming – Player modification of planet to support life

Areas of Interest • Parameterization – How do we store planet representation over surface? How do we store game data?

• Generating Heightfields – What are the operations? How can we make it fast?

• Texturing – Must be heightfield driven

• Authoring – Variety, art control

Parameterization • Possible approaches: – Longitude/latitude (pole cap) – Gnomic – Freeform 3D: Sparse Voxel – Charts • • • •

Regular: cubemap, diamond, duodecahedron ... On-the-fly (Voronoi-style) Orthographic projection Perspective projection

Parameterization Goals • Minimize distortion and discontinuities • Efficient (heightfield) storage • Fast mapping from (x,y,z) to (u,v) and back • Wrapping between charts • Rectangular area splatting • Efficient normal map generation

Parameterization: Cube Maps • Chose cube maps as the best compromise

Parameterization: Cube Maps • Chose cube maps as the best compromise • Faces are grids – Familiar from previous games

• Distortion at corners – But not too bad, much better than pole distortion

• Face wrapping is tractable – Pick right face mappings -> simple permutation rules

• Projective projection – Lines map to great circles on sphere: very useful!

Colour Map

Normal Map

Normal Map • Derived from height map – Large source of CPU time early on

• Standard DDF to find ‘flat’ normal map – Can then use Jacobian to warp to spherical form  

J(s, t, h) = 

h/w(1 − s2/w2) −sth/w3 s/w w=

'

−sth/w3

−sh/w3

 

h/w(1 − t2/w2) −th/w3  t/w 1/w

(s2 + t2 + 1)

Generating Height Fields • Brush system that operates on the sphere • Brushes are 2D textured rects Example brush footprint

Example brush footprint

Example brush footprint

• Several different brush operations – Conditionally raise or lower terrain

• Applied on GPU, after clipping brush footprint to faces

Controlling Terrain Brushes • Use our effects system, Swarm, to run brushes over the surface

• Controlled by: – Particle systems (spawning other particle systems) – Randomized parameter ranges, random walks – Terrain forces – Force/control operates in the tangent plane

Texturing • Derive Control Map from height field – Filter: water level, gradient, curvature – Combine according to tech artist formula

• Blends source textures to form base colour – Blends detail maps on the fly

• Planets have type, atmosphere, temperature – Control colour ramps, and atmosphere/fogging

Terraforming

Authoring • Concept Sketches

Authoring • Originally one mega effects script – random selection between various child effects

• Difficult to control – Hard to get art-directed

• Introduced a top layer with more control: terrain scripts • Each script produces a particular kind of planet

The Result

Authoring: Planet Editor

Demo

Questions?

Creating Spherical Worlds

Spore based on “powers of 10”. – Cell life (2D world). – Planet: creatures, tribes, civilisations. – Solar System. – Interstellar. – Galaxy. • Want seamless transitions.

2MB Sizes 1 Downloads 269 Views

Recommend Documents

Creating Spherical Worlds (sap 0251)
also had to consider the operations our system would need, such as heightfield storage, transforming from 3D locations to map co- ordinates and back, wrapping ...

Spherical sand separators
Feb 16, 2012 - various types of subsurface geological formations. Such for mations ... ?owing from the production well will be relatively clean to natural gas. During the ..... tor absorbs most of the energy of the exiting stream and becomes the ...

Biosensors and Bioelectronics Hollow spherical ...
et al., 2003; Marinakos et al., 1999) as hard templates followed by the removal of the .... (0.1–0.5 mM; a–e, respectively) in PBS (pH 7) at a rotating Pt disk electrode modified ..... Supplementary data associated with this article can be found,

Spherical cloaking with homogeneous isotropic ...
Apr 23, 2009 - 1Department of Electrical and Computer Engineering, National University of Singapore, ... 3Department of Electronic Science and Engineering, Nanjing University, Nanjing 210093, China .... Color online Geometries of the proposed spheric

Globally Optimized Spherical Point Arrangements - Springer Link
Pintér Consulting Services, Inc. (PCS) & Dalhousie University,. PCS: 129 ... of local optima to be some exponential function of the number of points: see, e.g., the.

skf spherical roller bearings pdf
File: Skf spherical roller bearings pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. skf spherical roller bearings pdf.

Semantic Visualization for Spherical Representation
KDD'14, August 24–27, 2014, New York, NY, USA. Copyright is held by the ...... co re. Number of Topics Z. SSE. PLSV. SAM. LDA a. 20News b. Reuters8.

Biosensors and Bioelectronics Hollow spherical ...
performed at room temperature (25 ± 1 ◦C), unless and otherwise stated. 2.3. ..... mined by the commercially available glucose meter (EZ Smart blood glucose ... Supplementary data associated with this article can be found, in the online ...

pdf-1446\the-worlds-best-anatomical-charts-worlds-best ...
... apps below to open or edit this item. pdf-1446\the-worlds-best-anatomical-charts-worlds-bes ... ries-by-anatomical-chart-anatomical-chart-company.pdf.

pdf-022\bongology-n-the-art-of-creating-35-of-the-worlds ...
... apps below to open or edit this item. pdf-022\bongology-n-the-art-of-creating-35-of-the-world ... ngtastic-marijuana-ingestion-devices-by-chris-stone.pdf.

virtual game worlds
were the first author, a visual artist, a professional ... issues, as this data is useful both for developing ... ipants found the experience useful for visualizing their.

Density–potential pairs for spherical stellar ... - Wiley Online Library
Furthermore, to match galaxies with partially depleted cores, and better explore the supermassive black hole/galaxy connection, we have added a power-law core to this density profile and derived similar expressions for the potential and force of this

Bartnik, Einstein Equations in the Null Quasi-Spherical Gauge.PDF ...
parameters, and leading to simple expressions for the Einstein equations, to facilitate analysis. of the local ... canonical differential operators on S. 2 with the ...

Emission of spherical cesium-bearing particles from an early stage ...
Emission of spherical cesium-bearing particles from an early stage of the Fukushima nuclear accident.pdf. Emission of spherical cesium-bearing particles from ...