mscreen:在Maya中绘制OpenGL从未如此简单

时间:2021-05-23 05:15:48
【文件属性】:
文件名称:mscreen:在Maya中绘制OpenGL从未如此简单
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-23 05:15:48
Python 概述 mscreen是一个方便的库,可以轻松在Maya的视口上绘制openGL。 目标是为TD / TA提供一种简便的方法,以在调试过程中和/或在非关键工具中将基本的GL基元绘制为视觉反馈(该库以python实现,不要期望高性能)。 特征 以下是主要功能的快速演示: import random import mscreen # let's draw a square POINTS = (( 2.0 , 0.0 , 2.0 ), ( 2.0 , 0.0 , - 2.0 ), ( - 2.0 , 0.0 , - 2.0 ), ( - 2.0 , 0.0 , 2.0 ), ( 2.0 , 0.0 , 2.0 )) square = mscreen . drawCurve ( POINTS , color = mscreen . COLOR_GRAY ) # we can
【文件预览】:
mscreen-main
----setup.py(213B)
----.gitignore(34B)
----mscreen.py(23KB)
----README.md(2KB)
----tests()
--------test_transforms.py(451B)
--------test_points.py(578B)
--------test_deform.py(1KB)
--------test_stress.py(5KB)
--------test_lines.py(425B)
--------test_parent.py(329B)
--------test_linearInterpolate.py(627B)
--------test_readme.py(967B)
--------test_bezier.py(487B)
--------test_triangle.py(327B)
----docs()
--------pycco.css(7KB)
--------index.html(332B)
--------mscreen.html(122KB)

网友评论