通过旋转 2D 轮廓创建和渲染 3D 模型的最简单方法
我有一个黑白 2D 轮廓图(例如,一个国际象棋棋子),我想围绕一个轴旋转它以创建一个 3D 对象。
然后我想使用某种光线跟踪软件从多个角度渲染该 3D 对象,并将每个角度保存到单独的文件中。
自动(重复)1. 从 2D 绘图中获取矢量路径 2. 通过旋转创建 3D 模型 3. 将其导入光线追踪器中,最简单的方法是什么。
- 我还没有选择特定的光线追踪器,但 Sunflow 引起了我的注意。
- 纹理/凹凸贴图会很好,但不是必需的
I have a black and white 2D drawing of a silhouette (say, a chess piece) that I would like to rotate around an axis to create a 3D object.
Then I want to render that 3D object from multiple angles using some sort of raytracing software, saving each angle into a separate file.
What would be the easiest way to automatically (repeatedly) 1. get a vector path from the 2d drawing 2. create the 3D model by rotating it 3. import it into the raytracer.
- I haven't chosen a specific raytracer yet, but Sunflow has caught my eye.
- Texturing/bump mapping would be nice but non-essential
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在寻找的建模功能是车床。
Sunflow可以导入3ds文件和blender文件。
我从未使用过搅拌机,但这里有一个使用车床制作酒杯的教程。您可以用您的形状替换酒杯的轮廓:
http://www.blendermagz.com/2009/04/14/blender-3d-lathe-modeling-wine-glass/
Blender 是 FOSS,您可以在这里下载:
www. Blender.org/download/get-blender/(无法发布多个链接,因此您必须自己输入此链接:-)
The modeling feature you're looking for is a Lathe.
Sunflow can import 3ds files and blender files.
I've never used blender, but here's a tutorial for using the lathe to make a wine glass. You'd replace the silhouette of the wine glass with your shape:
http://www.blendermagz.com/2009/04/14/blender-3d-lathe-modeling-wine-glass/
Blender is FOSS, you can down load it here:
www.blender.org/download/get-blender/ (can't post more than one link, so you'll have to type this one in yourself :-)
我发现了一个非常酷的网站,您可以在其中以交互方式在线执行此操作:
http ://www.fi.uu.nl/toepassingen/00182/toepassing_wisweb.en.html
没有很大的细节革命,但也许您可以找到代码并将其扩展以满足您的需求。
I found a pretty cool site where you can do this online, interactively:
http://www.fi.uu.nl/toepassingen/00182/toepassing_wisweb.en.html
No great detail revolution but maybe you can find the code and extend it to your needs.