簡體   English   中英

如何使用POV-Ray和.stl文件與對象合並?

[英]How could I use POV-Ray with an .stl file for merge with object?

我有這個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 } }
}

povray + Imerge.pov

我想將一個.stl文件添加到union 我該怎么辦?

請幫我。

POV-Ray本身不支持STL文件,您必須使用轉換器才能獲得所需的結果。

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM