3D graphics eBook - Course Materials Repository
3D graphics eBook - Course Materials Repository 3D graphics eBook - Course Materials Repository
Voxel 245 Voxel data A (smoothed) rendering of a data set of voxels for a macromolecule relating to the same voxel positions. A voxel represents the sub-volume box with constant scalar/vector value inside which is equal to scalar/vector value of the corresponding grid/pixel of the original discrete representation of the volumetric data. The boundaries of a voxel are exactly in the middle between neighboring grids. Voxel data sets have a limited resolution, as precise data is only available at the center of each cell. Under the assumption that the voxel data is sampling a suitably band-limited signal, accurate reconstructions of data points in between the sampled voxels can be attained by low-pass filtering the data set. Visually acceptable approximations to this low pass filter can be attained by polynomial interpolation such as tri-linear or tri-cubic interpolation. The value of a voxel may represent various properties. In CT scans, the values are Hounsfield units, giving the opacity of material to X-rays. [1] :29 Different types of value are acquired from MRI or ultrasound. Voxels can contain multiple scalar values - essentially vector data; in the case of ultrasound scans with B-mode and Doppler data, density, and volumetric flow rate are captured as separate channels of data Other values may be useful for immediate 3D rendering, such as a surface normal vector and color. Uses Common uses of voxels include volumetric imaging in medicine and representation of terrain in games and simulations. Voxel terrain is used instead of a heightmap because of its ability to represent overhangs, caves, arches, and other 3D terrain features. These concave features cannot be represented in a heightmap due to only the top 'layer' of data being represented, leaving everything below it filled (the volume that would otherwise be the inside of the caves, or the underside of arches or overhangs). Visualization A volume containing voxels can be visualized either by direct volume rendering or by the extraction of polygon iso-surfaces which follow the contours of given threshold values. The marching cubes algorithm is often used for iso-surface extraction, however other methods exist as well. Computer gaming • C4 Engine is a game engine that uses voxels for in game terrain and has a voxel editor for its built in level editor. C4 Engine uses a LOD system with its voxel terrain that was developed by the game engine's creator. All games using the current or newer versions of the engine have the ability to use voxels. • Upcoming Miner Wars 2081 uses their own Voxel Rage engine to let the user deform the terrain of asteroids allowing tunnels to be formed. • Many NovaLogic games have used voxel-based rendering technology, including the Delta Force, Armored Fist and Comanche series. • Westwood Studios' Command & Conquer: Tiberian Sun and Command & Conquer: Red Alert 2 use voxels to render most vehicles. • Westwood Studios' Blade Runner video game used voxels to render characters and artifacts.
Voxel 246 • Outcast, a game made by Belgian developer Appeal, sports outdoor landscapes that are rendered by a voxel engine. [2] • The videogame Amok for the Sega Saturn makes use of voxels in its scenarios. • The computer game Vangers uses voxels for its two-level terrain system. [3] • The computer game Thunder Brigade was based entirely on a voxel renderer, according to BlueMoon Interactive making videocards redundant and offering increasing detail instead of decreasing detail with proximity. • Master of Orion III uses voxel graphics to render space battles and solar systems. Battles displaying 1000 ships at a time were rendered slowly on computers without hardware graphic acceleration. • Sid Meier's Alpha Centauri uses voxel models to render units. • Build engine first-person shooter games Shadow Warrior and Blood use voxels instead of sprites as an option for many of the items pickups and scenery. Duke Nukem 3D has an optional voxel model pack created by fans, which contains the high resolution pack models converted to voxels. • Crysis uses a combination of heightmaps and voxels for its terrain system. • Worms 4: Mayhem uses a "poxel" (polygon and voxel) engine to simulate land deformation similar to the older 2D Worms games. • The multi-player role playing game Hexplore uses a voxel engine allowing the player to rotate the isometric rendered playfield. • Voxelstein 3D also uses voxels for fully destructible environments. [4] • The upcoming computer game Voxatron, produced by Lexaloffle, will be composed and generated fully using [5] [6] voxels. • Ace of Spades uses Ken Silverman's Voxlap engine. • The game Blockade Runner uses a Voxel engine. Voxel editors While scientific volume visualization doesn't require modifying the actual voxel data, voxel editors can be used to create art (especially 3D pixel art) and models for voxel based games. Some editors are focused on a single approach to voxel editing while others mix various approaches. Some common approaches are: • Slice based – The volume is sliced in one or more axes and the user can edit each image individually using 2D raster editor tools. These generally store color information in voxels. • Sculpture – Similar to the vector counterpart but with no topology constraints. These usually store density information in voxels and lack color information. • Building blocks – The user can add and remove blocks just like a construction set toy. • Minecraft is a game built around a voxel art editor, where the player builds voxel art in a monster infested voxel world. Voxel editors for games Many game developers use in-house editors that are not released to the public, but a few games have publicly available editors, some of them created by players. • Slice based fan-made Voxel Section Editor III for Command & Conquer: Tiberian Sun and Command & Conquer: Red Alert 2. [7] • SLAB6 and VoxEd are sculpture based voxel editors used by Voxlap engine games, [8] [9] including Voxelstein 3D and Ace of Spades. • The official Sandbox 2 editor for CryEngine 2 games (including Crysis) has support for sculpting voxel based terrain. [10]
- Page 199 and 200: Sphere mapping 194 Sphere mapping I
- Page 201 and 202: Stencil codes 196 Stencil codes Ste
- Page 203 and 204: Stencil codes 198 Stencils The shap
- Page 205 and 206: Stencil codes 200 [7] Wellein, G et
- Page 207 and 208: Subdivision surface 202 used a four
- Page 209 and 210: Subsurface scattering 204 Subsurfac
- Page 211 and 212: Subsurface scattering 206 External
- Page 213 and 214: Surface normal 208 If a (possibly n
- Page 215 and 216: Surface normal 210 Normal in geomet
- Page 217 and 218: Texture filtering 212 Texture filte
- Page 219 and 220: Texture mapping 214 Texture mapping
- Page 221 and 222: Texture mapping 216 constant distan
- Page 223 and 224: Texture synthesis 218 • Structure
- Page 225 and 226: Texture synthesis 220 Pattern-based
- Page 227 and 228: Texture synthesis 222 • Micro-tex
- Page 229 and 230: UV mapping 224 A UV map can either
- Page 231 and 232: Vertex 226 Polytope vertices are re
- Page 233 and 234: Vertex Buffer Object 228 //Make the
- Page 235 and 236: Vertex Buffer Object 230 GLuint sha
- Page 237 and 238: Vertex Buffer Object 232 vertexes *
- Page 239 and 240: Virtual actor 234 Virtual actor A v
- Page 241 and 242: Virtual actor 236 exercises, and ev
- Page 243 and 244: Volume rendering 238 Volume ray cas
- Page 245 and 246: Volume rendering 240 Maximum intens
- Page 247 and 248: Volume rendering 242 Image-based me
- Page 249: Volumetric lighting 244 References
- Page 253 and 254: Z-buffering 248 Z-buffering In comp
- Page 255 and 256: Z-buffering 250 } } display COLOR a
- Page 257 and 258: Z-fighting 252 Z-fighting Z-fightin
- Page 259 and 260: Appendix 3D computer graphics softw
- Page 261 and 262: 3D computer graphics software 256
- Page 263 and 264: 3D computer graphics software 258
- Page 265 and 266: 3D computer graphics software 260 2
- Page 267 and 268: Article Sources and Contributors 26
- Page 269 and 270: Article Sources and Contributors 26
- Page 271 and 272: Image Sources, Licenses and Contrib
- Page 273 and 274: Image Sources, Licenses and Contrib
Voxel 246<br />
• Outcast, a game made by Belgian developer Appeal, sports outdoor landscapes that are rendered by a voxel<br />
engine. [2]<br />
• The videogame Amok for the Sega Saturn makes use of voxels in its scenarios.<br />
• The computer game Vangers uses voxels for its two-level terrain system. [3]<br />
• The computer game Thunder Brigade was based entirely on a voxel renderer, according to BlueMoon Interactive<br />
making videocards redundant and offering increasing detail instead of decreasing detail with proximity.<br />
• Master of Orion III uses voxel <strong>graphics</strong> to render space battles and solar systems. Battles displaying 1000 ships at<br />
a time were rendered slowly on computers without hardware graphic acceleration.<br />
• Sid Meier's Alpha Centauri uses voxel models to render units.<br />
• Build engine first-person shooter games Shadow Warrior and Blood use voxels instead of sprites as an option for<br />
many of the items pickups and scenery. Duke Nukem <strong>3D</strong> has an optional voxel model pack created by fans, which<br />
contains the high resolution pack models converted to voxels.<br />
• Crysis uses a combination of heightmaps and voxels for its terrain system.<br />
• Worms 4: Mayhem uses a "poxel" (polygon and voxel) engine to simulate land deformation similar to the older<br />
2D Worms games.<br />
• The multi-player role playing game Hexplore uses a voxel engine allowing the player to rotate the isometric<br />
rendered playfield.<br />
• Voxelstein <strong>3D</strong> also uses voxels for fully destructible environments. [4]<br />
• The upcoming computer game Voxatron, produced by Lexaloffle, will be composed and generated fully using<br />
[5] [6]<br />
voxels.<br />
• Ace of Spades uses Ken Silverman's Voxlap engine.<br />
• The game Blockade Runner uses a Voxel engine.<br />
Voxel editors<br />
While scientific volume visualization doesn't require modifying the actual voxel data, voxel editors can be used to<br />
create art (especially <strong>3D</strong> pixel art) and models for voxel based games. Some editors are focused on a single approach<br />
to voxel editing while others mix various approaches. Some common approaches are:<br />
• Slice based – The volume is sliced in one or more axes and the user can edit each image individually using 2D<br />
raster editor tools. These generally store color information in voxels.<br />
• Sculpture – Similar to the vector counterpart but with no topology constraints. These usually store density<br />
information in voxels and lack color information.<br />
• Building blocks – The user can add and remove blocks just like a construction set toy.<br />
• Minecraft is a game built around a voxel art editor, where the player builds voxel art in a monster infested voxel<br />
world.<br />
Voxel editors for games<br />
Many game developers use in-house editors that are not released to the public, but a few games have publicly<br />
available editors, some of them created by players.<br />
• Slice based fan-made Voxel Section Editor III for Command & Conquer: Tiberian Sun and Command &<br />
Conquer: Red Alert 2. [7]<br />
• SLAB6 and VoxEd are sculpture based voxel editors used by Voxlap engine games, [8] [9] including Voxelstein <strong>3D</strong><br />
and Ace of Spades.<br />
• The official Sandbox 2 editor for CryEngine 2 games (including Crysis) has support for sculpting voxel based<br />
terrain. [10]