简体   繁体   English

3D网格表示

[英]3D mesh representation

Currently I'm developing a library to manage some stream of data, but at some point I'd like to represent my findings on 3d.目前我正在开发一个库来管理一些 stream 数据,但在某些时候我想代表我对 3d 的发现。 I would like to develop a 3D view of my project:我想为我的项目开发一个 3D 视图:

在此处输入图像描述

I have:我有:
- All the 3D vertices of one single block - 一个块的所有 3D 顶点
- All the properties related with the object - 与 object 相关的所有属性

The question is: Can I do this on python?问题是:我可以在 python 上执行此操作吗? Which library should I use?我应该使用哪个库? Is there any other solution rather than有没有其他解决方案而不是

Depending on what kind of display you are looking for.取决于您要寻找的显示器类型。

  • if you need to display it as scientific data, there is VTK which propose a great variety of ways to display如果您需要将其显示为科学数据, VTK提出了多种显示方式
  • if you want to operate your 3d data, display and inspect it at the same time, you can go for pymadcad (a lot of other modules are available for mesh manipulation only, but without display)如果你想操作你的 3d 数据,同时显示和检查它,你可以 go for pymadcad (很多其他模块仅可用于网格操作,但没有显示)
  • if you want a highly flexible rendering pipeline, you can take a look at moderngl , which is very close to the hardware reality by makes everything extremely simple如果你想要一个高度灵活的渲染管道,你可以看看moderngl ,它非常接近硬件现实,让一切变得非常简单
  • if you want a high interaction and flexibility in displaying meshes, maybe a game engine, like Panda3D can be more convenient如果你想要高交互性和显示网格的灵活性,也许像Panda3D这样的游戏引擎会更方便

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM