点云压缩入门篇(2)谷歌开源点云压缩draco平台编译

最近一直在看pcc点云压缩平台,算是有点起色,准备开始做实验。偶然在网上发现,谷歌已经开源了一个腻害的压缩mesh、点云的软件--draco。WHAT!!!Holy High!!!赶紧拿来试一试!!!

附一段谷歌github上的draco的介绍和下载地址:

介绍:Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.

Draco was designed and built for compression efficiency and speed. The code supports compressing points, connectivity information, texture coordinates, color information, normals, and any other generic attributes associated with geometry. With Draco, applications using 3D graphics can be significantly smaller without compromising visual fidelity. For users, this means apps can now be downloaded faster, 3D graphics in the browser can load quicker, and VR and AR scenes can now be transmitted with a fraction of the bandwidth and rendered quickly.

Draco is released as C++ source code that can be used to compress 3D graphics as well as C++ and Javascript decoders for the encoded data.

下载地址:https://github.com/google/draco#windows

我自己的编译过程:

1)下载安装包,解压到draco文件夹,所以源文件的路径为-D:\draco\draco-master。在源文件夹里新建一个build文件夹,用来放cmake后的文件。

2)windows键+R,打开dos界面。先切换到build文件夹的路径,然后用命令行

cmake path -DENABLE_TESTS=ON -G "Visual Studio 14 2015 Win64"  

进行cmake。其中
-DENABLE_TESTS=ON
是为了打开“  Googletest unit test”组件,方便我们用ENABLE_TESTS来测试。因为Draco可以支持用Googletest来做测试。

-G "Visual Studio 14 2015 Win64" 
这条命令是为了生成64位的windows的VS解决方案。

然后,就可以去build文件夹里找到draco.sln。就可以用VS进行编译啦~





  • 3
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值