我如何使用带有.stl文件的POV-Ray与对象合并?

问题描述 投票:1回答:1

我有这个povray代码:

#include "colors.inc"
camera{
  location <4, 4, -10>
  look_at 0
  angle 36
}

light_source{ <500, 500, -1000> White }

plane{ y, -1.5
  pigment{ checker Green White }
}

union{
  box{ -1, 1 pigment{ Blue } }
  sphere{ 0, 1.375 pigment{ Red } }
  sphere{<0,1,0>,1.35  pigment{ Blue } }
  cone{<0,0,0>,0.45,<0,1.2,0>,0 pigment{ Blue } }
}

Powere + Emerg.pov

我想将.stl文件添加到union。我怎么能这样做?

请帮我。

merge 3d povray stl-format
1个回答
0
投票

POV-Ray本身不支持STL文件,您必须使用转换器来实现所需的结果。

查看stl2pov(https://github.com/timschmidt/stl2pov)或http://www.povray.org/resources/links/3D_Programs/Conversion_Utilities/官方列表中的任何其他工具。

© www.soinside.com 2019 - 2024. All rights reserved.