Visualizando partculas csmicas em um domo imersivo com a Blender - - PowerPoint PPT Presentation

visualizando part culas c smicas em
SMART_READER_LITE
LIVE PREVIEW

Visualizando partculas csmicas em um domo imersivo com a Blender - - PowerPoint PPT Presentation

Seminrios de Computao Grfica IMPA 2011 Rio de Janeiro, Brasil Visualizando partculas csmicas em um domo imersivo com a Blender Game Engine Dalai Felinto Rio de Janeiro, Brasil UBC University of British Columbia Blender


slide-1
SLIDE 1

Visualizando partículas cósmicas em um domo imersivo com a Blender Game Engine

Dalai Felinto – Rio de Janeiro, Brasil UBC – University of British Columbia

Seminários de Computação Gráfica IMPA 2011

Rio de Janeiro, Brasil

slide-2
SLIDE 2

Experience the Universe Cosmic Sensation

Dalai Felinto – Rio de Janeiro, Brazil Mike Pan – Vancouver, Canada Martins Upitis – Riga, Latvia

Blender Conference 2010

Amsterdam, Netherlands

slide-3
SLIDE 3

Cosmic Particles Detectors + 30 meters Immersive Dome + Blender Game Engine

slide-4
SLIDE 4

Cosmic Sensation

slide-5
SLIDE 5

Science

  • Radboud University Nijmegen
  • Prof. Sijbrand de Jong
  • Muons
  • Barney Broomer
  • Academic Yearprize
  • Experiment
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8

Why ?

  • "Science to the masses"

– bringing to daily life events you wouldn't experience otherwise

  • Exploring new mediums

– realtime + fulldome

Communication

slide-9
SLIDE 9

What ?

  • 3 days of Silent Disco
  • generated music + DJ
  • generated effect light
  • generated visuals
slide-10
SLIDE 10

What ?

  • 3 days of Silent Disco
  • generated music + DJ
  • generated effect light
  • generated visuals
slide-11
SLIDE 11

A 3 days of Silent Disco a

slide-12
SLIDE 12

What ?

  • 3 days of Silent Disco
  • generated music + DJ
  • generated effect light
  • generated visuals
slide-13
SLIDE 13

A generated music + DJ a

slide-14
SLIDE 14

What ?

  • 3 days of Silent Disco
  • generated music + DJ
  • generated effect light
  • generated visuals
slide-15
SLIDE 15

a generated effect light a

slide-16
SLIDE 16

What ?

  • 3 days of Silent Disco
  • generated music + DJ
  • generated effect light
  • generated visuals
slide-17
SLIDE 17

a generated visuals a

slide-18
SLIDE 18

Immersive dome

slide-19
SLIDE 19
slide-20
SLIDE 20
  • Seamless field of view, 3D surface
  • Domes are cool
  • Unexplored medium

Immersive dome

slide-21
SLIDE 21

Blender Game Engine

  • Realtime
  • Open Source
  • 3D Game Engine
  • Dome compatibility
slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24

How ?

slide-25
SLIDE 25

How ?

slide-26
SLIDE 26

Development Process

  • “1 year project”
  • Dome creation framework
  • Art contest
  • Blender 2.50
slide-27
SLIDE 27

“It’s not what Blender can do for you, but what you can do for Blender.”

One year ago we had:

  • blenderplayer not building and not working
  • no proper interface for the BGE
  • Bugs, bugs, bugs

BGE was not ready yet (stable/reliable)

slide-28
SLIDE 28

Blender 2.56beta Blender 2.49

slide-29
SLIDE 29

Blender 2.50alpha Blender 2.55beta

slide-30
SLIDE 30
  • ne year before the event
  • Stitching tests
  • OSC tests
  • Performance tests
  • Output tests
  • Blender/BGE tests
  • Content brainstorms

. . . tests, tests and more tests . . .

slide-31
SLIDE 31
  • ne year before the event

. . . tests, tests and more tests . . .

slide-32
SLIDE 32

two months before the event

slide-33
SLIDE 33
  • no more art contest
  • finalized a few concepts for the visuals

two months before the event

slide-34
SLIDE 34

two months before the event

slide-35
SLIDE 35
  • ne month before the event

“No man is an island.” John Donne “Less is more.” Mies van der Rohe

slide-36
SLIDE 36
slide-37
SLIDE 37
slide-38
SLIDE 38
slide-39
SLIDE 39

ten days before the event

  • entire team flew to Holland to collaborate on

site.

  • artwork: creation, production
  • coding: optimization for this particular setup +

small patches

slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42
slide-43
SLIDE 43
slide-44
SLIDE 44
slide-45
SLIDE 45
slide-46
SLIDE 46
slide-47
SLIDE 47
slide-48
SLIDE 48
slide-49
SLIDE 49
slide-50
SLIDE 50
slide-51
SLIDE 51
slide-52
SLIDE 52
slide-53
SLIDE 53

the event

slide-54
SLIDE 54
slide-55
SLIDE 55

Part II: Code

“Previously at Blender Conference ...”

– Multiple cameras – CubeMap – Stitching

slide-56
SLIDE 56

Challenge: 4K x 1K @ 60fps

slide-57
SLIDE 57
slide-58
SLIDE 58
  • ptimizations
  • speed and resolution and no compromise

– "to make the optimum geometry to accommodate the maximum of valid pixels" – performance is proportional with the number of render cameras

  • FBO
  • off-axis frustum
  • pyramid solution - 3 cameras - 120deg.
slide-59
SLIDE 59

Vertical F.O.V. x 2 = cos (120)

Implemented Solution

slide-60
SLIDE 60

Future Solution

buffersize = vertical F.O.V. / sqrt (2)

slide-61
SLIDE 61

Part III: Logic

  • Particle Sensors sends data to Isadora as MIDI

sequence

  • Blender reads the data from Isadora via

OSC/Socket (Python)

  • Blender emits a virtual muon for every muon

the sensor detect.

  • Also has manual keyboard control for 'Vjing'

(adjustable parameters)

slide-62
SLIDE 62

Part IV: Art

  • Concept
  • Production
  • Graphic Techniques
  • Extra: Mini-Game
slide-63
SLIDE 63

Part IV: Art

  • Concept
  • Production
  • Graphic Techniques
  • Extra: Mini-Game
slide-64
SLIDE 64

Concept

  • make it look 3D

– depth and perspective

slide-65
SLIDE 65

Concept

  • Invisible as Muons
  • Visible as Muons
slide-66
SLIDE 66

Concept

  • limitations of the dome system

– It has to be dark – scale – It is not a Fulldome

slide-67
SLIDE 67

Concept

  • Inspiration

– Tron Legacy

  • neon lights
  • glossy dark glass effect
  • dark background
  • high-tech
slide-68
SLIDE 68

Tron Legacy

Concept - Inspiration

slide-69
SLIDE 69

Tron Legacy

Concept - Inspiration

slide-70
SLIDE 70

Production

“Production is that part where we take all the plans and rip them in tiny parts to build something completely different.”

slide-71
SLIDE 71

Production

  • Iterative process
  • the final product is quite different from the

initial concept.

  • some logic bricks, 1000 lines of python, 500

lines of GLSL shaders, no audio

slide-72
SLIDE 72

Production

slide-73
SLIDE 73

Graphics Techniques

  • Platform
  • Particles
  • Water wave
  • Post processing
slide-74
SLIDE 74

Graphics Techniques

  • Platform
  • Particles
  • Water wave
  • Post processing
slide-75
SLIDE 75

Platform

  • Light Attenuation
  • 3D Geometry
slide-76
SLIDE 76

Graphics Techniques

  • Platform
  • Particles
  • Water wave
  • Post processing
slide-77
SLIDE 77

Particles

  • Stretch of particles along velocity vector

linV = Vector(obj.worldLinearVelocity)

  • bj.alignAxisToVect(linV, 2)
  • bj.localScale = [1, 1, 1 + linV.length]
  • Spiral particles
  • Node based material
slide-78
SLIDE 78

Graphics Techniques

  • Platform
  • Particles
  • Water wave
  • Post processing
slide-79
SLIDE 79

Water Wave

(a.k.a. PS3 effect)

slide-80
SLIDE 80

Water Wave

  • Shader, Shader and more Shader
slide-81
SLIDE 81

Graphics Techniques

  • Platform
  • Particles
  • Water wave
  • Post processing
slide-82
SLIDE 82

Post Processing

  • Hue
  • Sharpness
  • Brightness
  • Saturation
  • Gamma
slide-83
SLIDE 83

Extra: Mini-Game

Le Grand Finale

slide-84
SLIDE 84

Part V: Post Mortem

  • Limiting performance with large number of
  • bject (particles)
  • Amazing engine for rapid prototyping.
  • It was an experiment and a learning experience.
  • Made patches specific for this project, but

probably will never be accepted in trunk (too hacky or too specific).

  • Completely burnt out at the end of the project :(
slide-85
SLIDE 85

You should read more

slide-86
SLIDE 86

You should read more

“Mastering Blender Game Engine” Mike Pan, Dalai Felinto CENGAGE To be released after Blender 2.6 Available for pre-sale

slide-87
SLIDE 87

You should read more

“Mastering Blender Game Engine” Mike Pan, Dalai Felinto CENGAGE To be released after Blender 2.6 Available for pre-sale

Dalai Felinto – www.dalaifelinto.com Mike Pan – www.mikepan.com Martins Upitis - artmartinsh.blogspot.com

slide-88
SLIDE 88

Domo Imersivo – Arquitetura e Urbanismo UFF www.domosimersivos.arq.br

slide-89
SLIDE 89

Domo Imersivo – Arquitetura e Urbanismo UFF www.domosimersivos.arq.br