我想在德国维基百科页面上绘制完全相同的双曲面(只是没有轴):
http://de.wikipedia.org/wiki/Hyperboloid
例如,我知道如何绘制两张双曲面:
#include "colors.inc"
background {White}
camera { orthographic
location <0, 35, -200>
up <0.0, 25.0, 0.0>
right <33, 0.0, 0.0>
look_at <0, 0, 0>
}
light_source { <-10, 20, -25> color White }
light_source { <100, 50, -200> color White}
intersection {
quadric {
<1, -1, 1> <0, 0, 0><0, 0, 0>(1)
texture {
pigment { color rgb<0,0,1>}
}
}
object { box {<-15, -5, -5>, <15, 5, 5> texture{ pigment { Clear } } } }
bounded_by { box {<-15, -15, -5>, <15, 15, 5> } }
no_shadow
}
但我希望它在维基页面上看起来像。有人可以帮我这个吗?
答案 0 :(得分:1)
你的意思是什么?
// render with +UA
#include "colors.inc"
//background {White}
camera { orthographic
location <0, 10, -30>
look_at <0, 0, 0>
}
light_source { <-10, 20, -25> color White }
//light_source { <100, 50, -200> color White}
#declare my_hyperboloid=intersection {
quadric {
<1, -1, 1> <0, 0, 0><0, 0, 0>(12)
}
object { box {<-20, -10, -10>, <20, 10, 10> texture{ pigment { Clear } } } }
bounded_by { box {<-20, -20, -10>, <20, 20, 10> } }
no_shadow
}
object{my_hyperboloid scale <1,0.8,1> texture{pigment{color rgbt<0.44, 0.87, 0.87,0.1>}}}
我建议您向POV-Ray新闻组(http://news.povray.org/)询问更详细的答案。