Conquer Book Conquer: Your Battle Plan for Spiritual Victory (Excerpt)
Epipolarna - Project Presentation - Extrapolate and Conquer
-
Upload
mattiastiger -
Category
Engineering
-
view
24 -
download
1
Transcript of Epipolarna - Project Presentation - Extrapolate and Conquer
EXTRAPOLATE AND CONQUER• Entity System
• Proceduriellt genererad värld
• Terränggenerator
• Grundläggande materialsystem
• Vulkangenerator
• Skogsgenerator
• Skuggor
• Alpha mip-mapping
• Stora mängder objekt
• Partikelfysik
OUR ENTITY SYSTEM• Compile time verification
• Component dependencies
• Code generation
• Reference based access everywhere
• All components are allocated continous in memory
ENTITY SYSTEMCOMPILE TIME VERIFICATION• Components used as part of the Entity System in the code must have been added to the
Entity System.
• Example of usage
ENTITY SYSTEMEXAMPLE• Component (part of SpherePhysics component)
• Example System (not actually used...)
ENTITY SYSTEMFEATURES• Component dependencies
• Used to gurantee run-time integrity of systems.
• Code generation based on component dependencies
• Template Meta Programming used to only generate the code necessary.
• Which other components should be checked and added.
• Which other components should be checked and removed.
• If a removed component was required by another component, then this component should also be removed, recursively...
PROCEDURIELLT GENERERAD VÄRLDTERRÄNGGENERATOR• Simplex Noise (Stefan Gustavsson, 2005)
• Fractal Brownian Motion (Mandelbrot. B., 1968)
• Godtycklig upplösning av vertex-täthet
MÅNGA OBJEKT & PARTIKELFYSIK• De flesta objekt rör sig inte (vegetation), transformationerna beräknas bara en gång.
• Entity systemet tillåter snabb batchning av fysiken med maximal cache-användning
• Fysikkomponenterna ligger kontinuerligt i minnet
• Endast en få-instruktions branchning.
• i5 med Radeon HD 6800, ~60fps
• 500 lavabollar
• 3000 träd
• 13000 Buskar