pyEngine3D:香草python3中的3D图形引擎

时间:2024-05-29 03:24:31
【文件属性】:

文件名称:pyEngine3D:香草python3中的3D图形引擎

文件大小:1.43MB

文件格式:ZIP

更新时间:2024-05-29 03:24:31

Python

PyEngine3D 简单风景的例子 山地景观的例子 我的medium.com帖子介绍了此处的代码 PyEngine3D是一个简单的模块,仅使用python标准库来显示3D设计并与之交互。 主模块可以在“图形”目录中找到,其他文件是不同功能的演示。 第一步是创建一个Engine对象,该对象需要一组点和一组将它们链接在一起的三角形。 test = Engine3D ([[ 1 , 1 , 1 ], [ 0 , 0 , 0 ], [ 2 , 2 , 2 ]], [[ 0 , 1 , 2 ]]) # this will create a single triangle between these points test = Engine3D ([[ 1 , 1 , 1 ], [ 0 , 0 , 0 ], [ 2 , 2 , 2 ]], [[ 0 , 1 , 2 , "green" ]]


【文件预览】:
pyEngine3D-master
----cubeExample.py(499B)
----images()
--------Screen Shot 2019-09-27 at 09.10.35.png(35KB)
--------cube2.png(32KB)
--------shark1.png(41KB)
--------shark2.png(50KB)
--------landscape2.png(607KB)
--------galleon2.png(185KB)
--------cube1.png(41KB)
--------galleon1.png(155KB)
--------landscape1.png(233KB)
----LICENSE(34KB)
----coords()
--------GalleonV.txt(106KB)
--------GalleonT.txt(77KB)
--------SharkT.txt(11KB)
--------SharkV.txt(21KB)
----galleonExample.py(843B)
----dragExample.py(704B)
----README.md(2KB)
----sharkExample.py(818B)
----graphics()
--------engine.py(6KB)
--------face.py(195B)
--------vertex.py(2KB)
--------screen.py(1KB)
----CODE_OF_CONDUCT.md(3KB)

网友评论