知道任何体素图形C ++库? [英] Know any voxel graphics C++ libraries?

查看:372
本文介绍了知道任何体素图形C ++库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我正在寻找一个带有C ++库(面向游戏)的体素图形引擎。只是为了好玩,这将是第一次使用图形库,所以它不必非常复杂或强大,只是很容易理解。

So, I'm looking for a voxel graphic engine with C++ libraries (game oriented). Just for fun, it would be the first time I use a graphic library, so it doesn't have to be very complex or powerful, just easy to understand.

推荐答案

请记住,体素只是一个概念。有几种方法来处理它们作为数据,以及几种可视化的方法(提取几何,raycasting,...)。

Bear in mind that voxels are just a concept. There are several ways of handling them as data, and several ways of visualizing them (extract geometry, raycasting, ...).

间隔网格,就是这样。这个点代表什么或者哪些几何原语与它相关联,这完全是实现特定的。人们通常将它们视为占据固定空间网格中整个单元格的立方体,这就是为什么将它们与立方体相关联的原因。

It's a data point in a fixed-spaced grid, that's it. What this point represents or which geometric primitive you associate with it, that's totally implementation-specific. People usually visualize them as cubes occupying the entire cell in the fixed space grid, that's why you associate them with cubes.

最着名/最流行的基于体素的应用程序Minecraft ,使用标准栅格化管道将它们可视化为以网格为中心的立方体。 (学术)系统像GigaVoxels执行射线追踪到稀疏体素八叉树结构以生成图像。

The most famous/popular voxel-based application, Minecraft, visualizes them using the standard rasterization pipeline as cubes centered on a grid. (Academic) Systems like GigaVoxels perform ray-tracing into a Sparse Voxel Octree structure to generate images.

我遇到了以下面向体素的库:

I've encountered the following voxel-oriented libraries:

  • Field3D: Sony Pictures library for storing voxel data: http://opensource.imageworks.com/?p=field3d
  • OpenVDB: A new format released by Dreamworks Studios: http://www.openvdb.org/index.html
  • Polyvox: Used for several games, in active development: http://www.volumesoffun.com/polyvox-download/
  • VoxelIQ: Game-oriented block-based engine in C# - https://github.com/raistlinthewiz/voxeliq
  • GigaVoxels: Ray-guided streaming library for voxels - http://gigavoxels.imag.fr/
  • Binvox: Not really a library, but a voxelizer with a basic binary voxel data definition: http://www.cs.princeton.edu/~min/binvox/
  • VoxelFarm: An engine for generating procedural voxel terrain: http://www.voxelfarm.com/vfweb/engine.html

这里是一个含有20年voxel引擎代码的reddit帖子: https://www.reddit.com/r/VoxelGameDev/comments/3fvjb4/ 20_years_of_voxel_engines_source_code_included /

And here's a reddit post with 20 years of voxel engine code: https://www.reddit.com/r/VoxelGameDev/comments/3fvjb4/20_years_of_voxel_engines_source_code_included/

这篇关于知道任何体素图形C ++库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆