Voxel Cone Tracing
   HOME

TheInfoList



OR:

In
3D computer graphics 3D computer graphics, or “3D graphics,” sometimes called CGI, 3D-CGI or three-dimensional computer graphics are graphics that use a three-dimensional representation of geometric data (often Cartesian) that is stored in the computer for th ...
, a voxel represents a value on a regular grid in three-dimensional space. As with pixels in a 2D bitmap, voxels themselves do not typically have their position (i.e. coordinates) explicitly encoded with their values. Instead, rendering systems infer the position of a voxel based upon its position relative to other voxels (i.e., its position in the
data structure In computer science, a data structure is a data organization, management, and storage format that is usually chosen for efficient access to data. More precisely, a data structure is a collection of data values, the relationships among them, a ...
that makes up a single volumetric image). In contrast to pixels and voxels,
polygons In geometry, a polygon () is a plane figure that is described by a finite number of straight line segments connected to form a closed ''polygonal chain'' (or ''polygonal circuit''). The bounded plane region, the bounding circuit, or the two toge ...
are often explicitly represented by the coordinates of their vertices (as
points Point or points may refer to: Places * Point, Lewis, a peninsula in the Outer Hebrides, Scotland * Point, Texas, a city in Rains County, Texas, United States * Point, the NE tip and a ferry terminal of Lismore, Inner Hebrides, Scotland * Point ...
). A direct consequence of this difference is that polygons can efficiently represent simple 3D structures with much empty or homogeneously filled space, while voxels excel at representing regularly sampled spaces that are non-homogeneously filled. Voxels are frequently used in the visualization and analysis of medical and scientific data (e.g.
geographic information system A geographic information system (GIS) is a type of database containing Geographic data and information, geographic data (that is, descriptions of phenomena for which location is relevant), combined with Geographic information system software, sof ...
s (GIS)). Some volumetric displays use voxels to describe their
resolution Resolution(s) may refer to: Common meanings * Resolution (debate), the statement which is debated in policy debate * Resolution (law), a written motion adopted by a deliberative body * New Year's resolution, a commitment that an individual mak ...
. For example, a cubic volumetric display might be able to show 512×512×512 (or about 134 million) voxels. One of the definitions is:
Voxel is an image of a three-dimensional space region limited by given sizes, which has its own ''nodal point'' coordinates in an accepted coordinate system, its own ''form'', its own ''state parameter'' that indicates its belonging to some modeled object, and has ''properties'' of modeled region.
This definition has the following advantage. If fixed voxel form is used within the whole model it is much easier to operate with voxel ''nodal points'' (i.e. three coordinates of this point). Yet, there is the simple form of record: indexes of the elements in the model set (i.e. integer coordinates). Model set elements in this case are ''state parameters,'' indicating voxel belonging to the modeled object or its separate parts, including their surfaces.


Etymology

The word ''voxel'' originated analogously to the word " pixel", with ''vo'' representing " volume" (instead of pixel's "picture") and ''el'' representing "element"; a similar formation with ''el'' for "element" is the word " texel". The term ''hypervoxel'' is a generalization of voxel for higher-dimensional spaces.


Rendering

A volume described as voxels can be visualized either by direct volume rendering or by the extraction of polygon iso-surfaces that follow the contours of given threshold values. The marching cubes algorithm is often used for isosurface extraction, however other methods exist as well. Both ray tracing and ray casting, as well as rasterisation, can be applied to voxel data to obtain 2D
raster graphics upright=1, The Smiley, smiley face in the top left corner is a raster image. When enlarged, individual pixels appear as squares. Enlarging further, each pixel can be analyzed, with their colors constructed through combination of the values for ...
to depict on a monitor.


Incremental error rasterisation

Another technique for voxels involves raster graphics where one simply raytraces every pixel of the display into the scene, tracking an error term to determine when to step. A typical implementation will raytrace each pixel of the display starting at the bottom of the screen using what is known as a y-buffer. When a voxel is reached that has a higher y value on the display it is added to the y-buffer overriding the previous value and connected with the previous y-value on the screen interpolating the color values. There is a major downside to voxel rasterization when transformation is applied which causes severe aliasing. The advantage was the ability to rasterise using cheap integer calculations on a
CPU A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program. The CPU performs basic arithmetic, logic, controlling, and ...
without
hardware acceleration Hardware acceleration is the use of computer hardware designed to perform specific functions more efficiently when compared to software running on a general-purpose central processing unit (CPU). Any transformation of data that can be calcula ...
. '' Outcast'', and other 1990s video games employed this graphics technique for effects such as reflection and
bump-mapping Bump mapping is a texture mapping technique in computer graphics for simulating bumps and wrinkles on the surface of an object. This is achieved by perturbing the surface normals of the object and using the perturbed normal during lighting calcu ...
and usually for terrain rendering. ''Outcasts
graphics engine Rendering or image synthesis is the process of generating a physically-based rendering, photorealistic or Non-photorealistic rendering, non-photorealistic image from a 2D model, 2D or 3D model by means of a computer program. The resulting im ...
was mainly a combination of a ray casting ( heightmap) engine, used to render the landscape, and a texture mapping polygon engine used to render objects. The "Engine Programming" section of the games credits in the manual has several subsections related to graphics, among them: "Landscape Engine", "Polygon Engine", "Water & Shadows Engine" and "Special effects Engine". Although ''Outcast'' is often cited as a forerunner of voxel technology, this is somewhat misleading. The game does not actually model three-dimensional volumes of voxels. Instead, it models the ground as a surface, which may be seen as being made up of voxels. The ground is decorated with objects that are modeled using texture-mapped polygons. When ''Outcast'' was developed, the term "voxel engine", when applied to computer games, commonly referred to a ray casting engine (for example the '' VoxelSpace'' engine). On the engine technology page of the game's website, the landscape engine is also referred to as the "Voxels engine". The engine is purely software-based; it does not rely on hardware-acceleration via a 3D
graphics card A graphics card (also called a video card, display card, graphics adapter, VGA card/VGA, video adapter, display adapter, or mistakenly GPU) is an expansion card which generates a feed of output images to a display device, such as a computer moni ...
.Voxel terrain engine
", introduction. In a coder's mind, 2005.
John Carmack John D. Carmack II (born August 20, 1970) is an American computer programmer and video game developer. He co-founded the video game company id Software and was the lead programmer of its 1990s games ''Commander Keen'', ''Wolfenstein 3D'', ''Doo ...
also experimented with Voxels for the '' Quake III'' engine. One such problem cited by Carmack was the lack of graphics cards designed specifically for such rendering requiring them to be software rendered.
Comanche The Comanche or Nʉmʉnʉʉ ( com, Nʉmʉnʉʉ, "the people") are a Native American tribe from the Southern Plains of the present-day United States. Comanche people today belong to the federally recognized Comanche Nation, headquartered in La ...
was also the first commercial
flight simulation A flight simulator is a device that artificially re-creates aircraft flight and the environment in which it flies, for pilot training, design, or other purposes. It includes replicating the equations that govern how aircraft fly, how they rea ...
based on voxel technology. NovaLogic used the proprietary Voxel Space engine developed for the company by Kyle Freeman (written entirely in
Assembly language In computer programming, assembly language (or assembler language, or symbolic machine code), often referred to simply as Assembly and commonly abbreviated as ASM or asm, is any low-level programming language with a very strong correspondence be ...
) to create open landscapes. This rendering technique allowed for much more detailed and realistic terrain compared to simulations based on vector graphics at that time.


Gallery

3D rendering of a micro CT scan of a piece of dried leaf..ogv, 3D rendering of a µCT scan of a leaf piece, resolution circa 40 µm/voxel when viewed at the full size Ribo-Voxels.png, A (smoothed) rendering of a data set of voxels for a
macromolecule A macromolecule is a very large molecule important to biophysical processes, such as a protein or nucleic acid. It is composed of thousands of covalently bonded atoms. Many macromolecules are polymers of smaller molecules called monomers. The ...


Data

A voxel represents a single sample, or data point, on a regularly spaced, three-dimensional grid. This data point can consist of a single piece of data, such as an opacity, or multiple pieces of data, such as a color in addition to opacity. A voxel represents only a single point on this grid, not a volume; the space between each voxel is not represented in a voxel-based dataset. Depending on the type of data and the intended use for the dataset, this missing information may be reconstructed and/or approximated, e.g. via 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.Novelline, Robert. ''Squire's Fundamentals of Radiology''. Harvard University Press. 5th edition. 1997. . Different types of value are acquired from MRI or ultrasound. Voxels can contain multiple
scalar Scalar may refer to: *Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers * Scalar (physics), a physical quantity that can be described by a single element of a number field such ...
values, essentially vector (tensor) data; in the case of ultrasound scans with B-mode and Doppler data, density, and
volumetric flow rate In physics and engineering, in particular fluid dynamics, the volumetric flow rate (also known as volume flow rate, or volume velocity) is the volume of fluid which passes per unit time; usually it is represented by the symbol (sometimes ). I ...
are captured as separate channels of data relating to the same voxel positions. While voxels provide the benefit of precision and depth of reality, they are typically large data sets and are unwieldy to manage given the bandwidth of common computers. However, through efficient compression and manipulation of large data files, interactive visualization can be enabled on consumer market computers. Other values may be useful for immediate 3D rendering, such as a surface
normal vector In geometry, a normal is an object such as a line, ray, or vector that is perpendicular to a given object. For example, the normal line to a plane curve at a given point is the (infinite) line perpendicular to the tangent line to the curve at ...
and color. Technologies to extend voxels into 4 and 5 dimensions of data are under investigation.


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).


3D computer graphics software

* ''
3D-Coat 3D-Coat is a commercial digital sculpting program from Pilgway designed to create free-form organic and hard surfaced 3D models from scratch, with tools which enable users to sculpt, add polygonal topology (automatically or manually), create UV ...
'' offers a voxel sculpting mode. * '' Blender (2.81+)'' allows one to create a voxel-like effect by Quad Remesh (with Quadriflow algorithm) or Voxel Remesh (with
OpenVDB OpenVDB is an open source software library for working with sparse volumetric data. It provides a hierarchical data structure and related functions to help with calculating volumetric effects in CGI applications. Volumetric effects apply to vol ...
). * '' Cinema 4D (R20+)'' allows one to create a voxel-like effect (with
OpenVDB OpenVDB is an open source software library for working with sparse volumetric data. It provides a hierarchical data structure and related functions to help with calculating volumetric effects in CGI applications. Volumetric effects apply to vol ...
). * '' ZBrush'' uses its voxel-like Unified Skin technology for the DynaMesh and other tools. It makes a smart pixel which is called a "pixol". * Mega Voxels is a free-to-use voxel editor developed by Go Real Games, LLC to design 3D models using voxels. *
Voxel Builder
', an online open-source playground based on '' Babylon.js''.


Computer games

* ''
3D Dot Game Heroes is an action role-playing video game developed by Silicon Studio for the PlayStation 3. The game is presented using voxel-based graphics in a 3D environment to emulate the 2D graphics of earlier video games. The game was published in Japan by Fr ...
'' uses voxels to present retro-looking graphics. * '' 7 Days to Die'' is a voxel-based open world survival horror game developed by The Fun Pimps Entertainment. * '' Ace of Spades'' used Ken Silverman's Voxlap engine before being rewritten in a bespoke
OpenGL OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardwa ...
engine. * '' Amok'' uses voxels for its environments. * '' Armored Fist 3'' is a computer game made by Novalogic that used voxel-based rendering technology. * '' Blade Runner'' is a video game that used voxels to render characters and artifacts. * '' Castle Story'', a castle building Real Time Strategy game in development, has terrain consisting of smoothed voxels. * '' Cloudpunk'', a cyberpunk adventure game, is almost entirely voxel-based. * '' Comanche series'', a series of computer games made by NovaLogic that used the Voxel Space voxel rasterization for terrain rendering. * '' Command & Conquer: Tiberian Sun'', '' Command & Conquer: Red Alert 2'' and '' Command & Conquer: Yuri's Revenge'' are computer games made by Westwood Studios that used voxels to render most vehicles. * '' Crysis'', as well as '' Cryengine 2'' and '' Cryengine 3'', use a combination of
heightmaps In computer graphics, a heightmap or heightfield is a raster image used mainly as Discrete Global Grid in secondary elevation modeling. Each pixel stores values, such as surface elevation data, for display in 3D computer graphics. A heightm ...
and voxels for their terrain systems. * '' Cube World'', an
action role-playing game An action role-playing game (often abbreviated action RPG or ARPG) is a subgenre of video games that combines core elements from both the action game and role-playing genre. Definition The games emphasize real-time combat where the player h ...
, features procedurally generated voxel landscapes. * '' Delta Force'' is a computer game made by Novalogic that used the in-house Voxel Space rendering engine. * '' Dual Universe'' is a single-shard universe MMORPG game that uses voxels to build spaceships, civilizations, and space stations. * '' EverQuest Next'' and ''EverQuest Next: Landmark'', cancelled MMORPGs by Sony Online Entertainment, make extensive use of voxels for world creation as well as player generated content * '' Hexplore'', a multi-player role playing game, uses a voxel engine allowing the player to rotate the isometric rendered playfield. * '' Hytale'' is a RPG Sandbox voxel-based game which gets developed by
Hypixel Studios ''Hytale'' is an upcoming sandbox game by Hypixel Studios. Production began in 2015 by developers from the ''Minecraft'' multiplayer server ''Hypixel'' with funding from Riot Games, who later bought the studio in 2020. The developers are aiming t ...
and gets funded by
Riot Games Riot Games, Inc. is an American video game developer, publisher and esports tournament organizer based in Los Angeles, California. It was founded in September 2006 by Brandon Beck and Marc Merrill to develop ''League of Legends'' and went on t ...
, release date is set to 2023 at earliest. * '' 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. * '' Medieval Engineers'' is the second voxel-based engineering game by Keen Software House inspired from medieval technology. * '' Minecraft'' is a
sandbox A sandbox is a sandpit, a wide, shallow playground construction to hold sand, often made of wood or plastic. Sandbox or Sand box may also refer to: Arts, entertainment, and media * Sandbox (band), a Canadian rock music group * Sandbox ( ...
video game that uses voxels to store terrain data, but does not use voxel rendering techniques. Instead it uses polygon rendering to display each voxel as a cubic "block". * '' Miner Wars 2081'' is a 6DOF open world game made by Keen Software House that uses its own VRage voxel rendering engine to let the user deform the terrain of asteroids allowing tunnels to be formed. * '' No Man's Sky'' is a space exploration game consisting of procedurally generated star systems containing explorable planets, moons and asteroids made up of voxels. The voxel engine allows for both terrain destruction and creation. * '' Outcast'', is a third-person action computer game made by former Belgian
video game developer A video game developer is a broad term for a software developer specializing in video game development – the process and related disciplines of creating video games. A game developer can range from one person who undertakes all tasks to a large ...
Appeal, with landscapes rendered by a voxel engine. * ''
Phase Zero ''Phase Zero'' is an unreleased action- shooter video game that was in development by Hyper Image Productions and originally planned to be published by Atari Corporation on a scheduled September 1995 release date exclusively for the Atari Jag ...
'' is a 2002 unreleased action- shooter video game for Atari Jaguar, with landscapes redered by the engine Voxel Space. * ''
Planet Coaster ''Planet Coaster'' is a construction and management simulation video game developed and published by Frontier Developments for Microsoft Windows. It was released worldwide on 17 November 2016. Frontier had previously worked in the amusement par ...
'' is a 2016 construction and management simulation developed and published by
Frontier Developments Frontier Developments is a British video game developer founded by David Braben in January 1994 and based at the Cambridge Science Park in Cambridge, England. Frontier is known for developing amusement park Construction and management simulation ...
which uses a voxel-based terrain editor. * '' Resogun'' is a 2013 voxel-based side-scrolling shoot 'em up video game developed by Finnish developer Housemarque. * '' Roblox'' uses voxels for terrain. * ''
Robocraft ''Robocraft'' is an online vehicular combat game developed and published by Freejam Games. The game is set on different planets, with players constructing robots to fight with and against others in battle. The game features contained garage bays ...
'', a vehicular combat game in which players build combat machines out of voxels and premade components * ''ScrumbleShip'', a block-building MMO space simulator game in development (as of 2017), renders each in-game component and damage to those components using dozens to thousands of voxels. * '' Shadow Warrior'' and '' Blood'' use Build engine for first-person shooter game voxel rendering, instead of sprites, as an option for many of the items pickups and scenery. '' Duke Nukem 3D'' has a fan-created pack in a similar style. * '' Shattered Steel'' featured deforming landscapes using voxel technology. * '' Sid Meier's Alpha Centauri'' uses voxel models to render units. * '' SkySaga: Infinite Isles'' is a voxel-based sandbox MMORPG, being developed by Radiant Worlds and published by Smilegate. * ''
Space Engineers ''Space Engineers'' is a voxel-based sandbox game, developed and published by Czech independent developer Keen Software House. In 2013, the initial developmental release of the game joined the Steam early access program. During the following ye ...
'' is a voxel-based sandbox game set in space, developed and published by Keen Software House * ''
Starbase The concepts of space stations and space habitats feature in science fiction. The difference between the two is that habitats are larger and more complex structures intended as permanent homes for substantial populations (though generation ship ...
'', a voxel-based massively multiplayer online role-playing game set in space, being developed and published by Frozenbyte. * '' StarMade'', a voxel-based sandbox game set in space, developed and published by Robin "Schema" Promesberger. * '' Subnautica'', a voxel-based survival game set on planet 4546B, developed and published by Unknown Worlds Entertainment. * '' Teardown'', a voxel-based game featuring fully destructible environments, developed and published by the studio Tuxedo Labs * '' The Sandbox'' * '' Trove'' is a voxel-based MMORPG with building elements, developed and published by Trion Worlds. * ''
Vangers ''Vangers'' (''Вангеры'', also known as ''Vangers: One for the Road'') is a racing role-playing video game developed by K-D Lab, a Russian company. It was released in North America in June 29, 1998 after receiving positive responses at that ...
'' is a computer game uses voxels for its two-level terrain system. * '' Vox'', released in 2012, is a voxel based exploration/RPG game focused on player generated content. * '' Voxatron'', a computer game produced by Lexaloffle, is composed and generated fully using voxels. * '' Werewolf'' is a computer game made by Novalogic that used voxel-based rendering technology. It was originally bundled and shipped with the ''Comanche 2'' game although they were two separate games. * '' Worms 4: Mayhem'' uses a voxel-based engine to simulate land deformation similar to the older 2D Worms games. * '' Minetest'' uses them for rendering nodes


Editors

While scientific volume visualization does not 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. There are a few voxel editors available that are not tied to specific games or engines. They can be used as alternatives or complements to traditional 3D vector modeling.


Extensions

A generalization of a voxel is the ''toxel'', or temporal voxel. This is used in the case of a 4D dataset, for example, an image sequence that represents 3D space together with another dimension such as time. In this way, an image could contain 100×100×100×100 toxels, which could be seen as a series of 100
frames A frame is often a structural system that supports other components of a physical construction and/or steel frame that limits the construction's extent. Frame and FRAME may also refer to: Physical objects In building construction *Framing (co ...
of a 100×100×100 volume image (the equivalent for a 3D image would be showing a 2D cross section of the image in each frame). Although storage and manipulation of such data requires large amounts of memory, it allows the representation and analysis of spacetime systems.


See also

*
Maxel In materials science Functionally Graded Materials (FGMs) may be characterized by the variation in composition and structure gradually over volume, resulting in corresponding changes in the properties of the material. The materials can be desig ...
– material element * Pixel – picture element *
Plane partition In mathematics and especially in combinatorics, a plane partition is a two-dimensional array of nonnegative integers \pi_ (with positive number, positive integer indices ''i'' and ''j'') that is nonincreasing in both indices. This means that : \pi ...
* Resel – resolution element * Sparse voxel octree * Texel – texture element *
Tixel A tactile pixel or tixel is the smallest measuring/transmitting element of a tactile matrix. Is a part of haptic technologies. Design of a tactile pixel consists of a switching transistor and a resistive touch sensor. The electrical connection to ...
- tactile element * Tomography *
Volume mesh In 3D computer graphics and modeling, volumetric meshes are a polygonal representation of the interior volume of an object. Unlike polygon meshes, which represent only the surface as polygons, volumetric meshes also discretize the interior struct ...
* Volume rendering


References


External links

*
Fundamentals of voxelization"Archived"
{{Authority control 3D computer graphics 3D imaging Articles containing video clips Cubes