SlideShare une entreprise Scribd logo
1  sur  20
Two Methods for Voxel Detail
      Enhancement
         Adam M. Smith
   adam.smith@hackerdojo.com
          @rndmcnlly
Two Methods for Voxel Detail Enhancement

Adam M. Smith (presenter)


expressiveintelligencestudio

UC Santa Cruz
amsmith@soe.ucsc.edu

PCGames 2011 – Bordeaux, France
Prelude

EXPLORATORY DESIGN


          Two Methods for Voxel Detail Enhancement   3
Exploratory Design
• Design
  – Analysis × Synthesis
• Exploration
  – travelling for the purpose of discovery

• Exploratory Design:
  – Extracting interesting nuggets
  – Building new components out of them
  – Examining implication for design of new artifacts

                 Two Methods for Voxel Detail Enhancement   4
Where does exploratory design
                  happen?
 Location                                            Events


                                                                       The Independent
                                                                       Game Jam




                                                                       SuperHappyDevHouse
Hacker Dojo
Mountain View, CA, USA

  “Hacker Dojo is a community
 center for hackers and thinkers                                       South Bay Game Jam
 to meet, discuss, learn, create,
         build and play.”


                            Two Methods for Voxel Detail Enhancement                        5
Interesting nugget #1

VOXELS


                        Two Methods for Voxel Detail Enhancement   6
Woxel’s a Voxel?

Pixels in Wolfenstein 3D                         Voxels in Voxelstein 3D




                                                 (voxel: a colored cube in space)
(pixel: a colored square on a plane)



                                Two Methods for Voxel Detail Enhancement            7
Voxels in Action
• Minecraft
  – Player-created architecture
• Ace of Spades
  – Combat on top of player-created architecture
• Voxatron
  – Retro-inspired arcade, bulk destruction
• Atomontage
  – Photorealism, limited editing

                  Two Methods for Voxel Detail Enhancement   8
Interesting nugget #2

PIXEL ART SCALING ALGORITHMS


                        Two Methods for Voxel Detail Enhancement   9
Pixel Art Scaling Algorithms



                                                       2xSaI



                                                  Super2xSaI




                                     hq3x

       Two Methods for Voxel Detail Enhancement        10
The new component

VOXEL DETAIL ENHANCERS


                    Two Methods for Voxel Detail Enhancement   11
Recursive Subdivision (Diagrammed)




          Two Methods for Voxel Detail Enhancement   12
Recursive Subdivision (Demonstrated)




           Two Methods for Voxel Detail Enhancement   13
Direct Resampling (Diagrammed)




         Two Methods for Voxel Detail Enhancement   14
Direct Resampling (Demonstrated)




          Two Methods for Voxel Detail Enhancement   15
Implications

DECOUPLED MODIFICATION AND
INTERACTION MECHANICS

               Two Methods for Voxel Detail Enhancement   16
Decoupling


        Enhancement




                                           Rendering




                            Perception


Two Methods for Voxel Detail Enhancement               17
Exploring a Design Space
                           Dwarf Fortress (2006)                   Minecraft (2009)             Terraria (



Wolfenstein 3D (1992)        Voxelstein (2008)                  Ace of Spades (2011)



                                                                                  Voxatron (201x)
 Wolfenstein (2009)
                                    ??? (20xx)
                                                                                      Braid (2008)
           Hardware-accelerated
                                         Voxel detail enhancement
          voxel rendering engines

          Hardware-accelerated
                                           Pixel art scaling algorithms
       triangle rendering engines

                               Two Methods for Voxel Detail Enhancement                          18
Related Concerns
• Visibility
   – Ignore the voxel unless it has a different neighbor
• Computational Complexity
   – Terrains are 2D manifolds  only n2 of n3 are visible
• Neighbor Dependence and Caching
   – Deterministic, finite domain – memoize it!
• Physics
   – Voxel normals only point in grid directions…
• Lighting
   – Emit many wandering snowflakes, they each lives long
     enough with hitting terrain, accumulate intensity

                    Two Methods for Voxel Detail Enhancement   19
Exploratory Design … on Mars?

    Two Methods for Voxel Detail Enhancement   20

Contenu connexe

Plus de rndmcnlly

A Case Study of Expressively Constrainable Level Design Automation Tools for ...
A Case Study of Expressively Constrainable Level Design Automation Tools for ...A Case Study of Expressively Constrainable Level Design Automation Tools for ...
A Case Study of Expressively Constrainable Level Design Automation Tools for ...rndmcnlly
 
Mechanizing Exploratory Game Design (PhD Defense)
Mechanizing Exploratory Game Design (PhD Defense)Mechanizing Exploratory Game Design (PhD Defense)
Mechanizing Exploratory Game Design (PhD Defense)rndmcnlly
 
BMOSLFGEMW: A Spectrum of Game Engine Architectures
BMOSLFGEMW: A Spectrum of Game Engine ArchitecturesBMOSLFGEMW: A Spectrum of Game Engine Architectures
BMOSLFGEMW: A Spectrum of Game Engine Architecturesrndmcnlly
 
Ludocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling VideogamesLudocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling Videogamesrndmcnlly
 
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...rndmcnlly
 
The intelligent game designer: Game design as a new domain for automated disc...
The intelligent game designer: Game design as a new domain for automated disc...The intelligent game designer: Game design as a new domain for automated disc...
The intelligent game designer: Game design as a new domain for automated disc...rndmcnlly
 

Plus de rndmcnlly (6)

A Case Study of Expressively Constrainable Level Design Automation Tools for ...
A Case Study of Expressively Constrainable Level Design Automation Tools for ...A Case Study of Expressively Constrainable Level Design Automation Tools for ...
A Case Study of Expressively Constrainable Level Design Automation Tools for ...
 
Mechanizing Exploratory Game Design (PhD Defense)
Mechanizing Exploratory Game Design (PhD Defense)Mechanizing Exploratory Game Design (PhD Defense)
Mechanizing Exploratory Game Design (PhD Defense)
 
BMOSLFGEMW: A Spectrum of Game Engine Architectures
BMOSLFGEMW: A Spectrum of Game Engine ArchitecturesBMOSLFGEMW: A Spectrum of Game Engine Architectures
BMOSLFGEMW: A Spectrum of Game Engine Architectures
 
Ludocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling VideogamesLudocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling Videogames
 
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...
Variations Forever: Flexibly Generating Rulesets from a Sculptable Design Spa...
 
The intelligent game designer: Game design as a new domain for automated disc...
The intelligent game designer: Game design as a new domain for automated disc...The intelligent game designer: Game design as a new domain for automated disc...
The intelligent game designer: Game design as a new domain for automated disc...
 

Two Methods for Voxel Detail Enhancement

  • 1. Two Methods for Voxel Detail Enhancement Adam M. Smith adam.smith@hackerdojo.com @rndmcnlly
  • 2. Two Methods for Voxel Detail Enhancement Adam M. Smith (presenter) expressiveintelligencestudio UC Santa Cruz amsmith@soe.ucsc.edu PCGames 2011 – Bordeaux, France
  • 3. Prelude EXPLORATORY DESIGN Two Methods for Voxel Detail Enhancement 3
  • 4. Exploratory Design • Design – Analysis × Synthesis • Exploration – travelling for the purpose of discovery • Exploratory Design: – Extracting interesting nuggets – Building new components out of them – Examining implication for design of new artifacts Two Methods for Voxel Detail Enhancement 4
  • 5. Where does exploratory design happen? Location Events The Independent Game Jam SuperHappyDevHouse Hacker Dojo Mountain View, CA, USA “Hacker Dojo is a community center for hackers and thinkers South Bay Game Jam to meet, discuss, learn, create, build and play.” Two Methods for Voxel Detail Enhancement 5
  • 6. Interesting nugget #1 VOXELS Two Methods for Voxel Detail Enhancement 6
  • 7. Woxel’s a Voxel? Pixels in Wolfenstein 3D Voxels in Voxelstein 3D (voxel: a colored cube in space) (pixel: a colored square on a plane) Two Methods for Voxel Detail Enhancement 7
  • 8. Voxels in Action • Minecraft – Player-created architecture • Ace of Spades – Combat on top of player-created architecture • Voxatron – Retro-inspired arcade, bulk destruction • Atomontage – Photorealism, limited editing Two Methods for Voxel Detail Enhancement 8
  • 9. Interesting nugget #2 PIXEL ART SCALING ALGORITHMS Two Methods for Voxel Detail Enhancement 9
  • 10. Pixel Art Scaling Algorithms 2xSaI Super2xSaI hq3x Two Methods for Voxel Detail Enhancement 10
  • 11. The new component VOXEL DETAIL ENHANCERS Two Methods for Voxel Detail Enhancement 11
  • 12. Recursive Subdivision (Diagrammed) Two Methods for Voxel Detail Enhancement 12
  • 13. Recursive Subdivision (Demonstrated) Two Methods for Voxel Detail Enhancement 13
  • 14. Direct Resampling (Diagrammed) Two Methods for Voxel Detail Enhancement 14
  • 15. Direct Resampling (Demonstrated) Two Methods for Voxel Detail Enhancement 15
  • 16. Implications DECOUPLED MODIFICATION AND INTERACTION MECHANICS Two Methods for Voxel Detail Enhancement 16
  • 17. Decoupling Enhancement Rendering Perception Two Methods for Voxel Detail Enhancement 17
  • 18. Exploring a Design Space Dwarf Fortress (2006) Minecraft (2009) Terraria ( Wolfenstein 3D (1992) Voxelstein (2008) Ace of Spades (2011) Voxatron (201x) Wolfenstein (2009) ??? (20xx) Braid (2008) Hardware-accelerated Voxel detail enhancement voxel rendering engines Hardware-accelerated Pixel art scaling algorithms triangle rendering engines Two Methods for Voxel Detail Enhancement 18
  • 19. Related Concerns • Visibility – Ignore the voxel unless it has a different neighbor • Computational Complexity – Terrains are 2D manifolds  only n2 of n3 are visible • Neighbor Dependence and Caching – Deterministic, finite domain – memoize it! • Physics – Voxel normals only point in grid directions… • Lighting – Emit many wandering snowflakes, they each lives long enough with hitting terrain, accumulate intensity Two Methods for Voxel Detail Enhancement 19
  • 20. Exploratory Design … on Mars? Two Methods for Voxel Detail Enhancement 20