|
|
Loek Peters wrote:
>
> Hello all
Hello.
> Is there a way to optimize the code I have writen, or is this the shortes
> way to this shape?
Shortest?
background{rgb 0}camera{location 10*z
look_at-z}light_source{<1,3,6>1}#declare
T=texture{pigment{rgb<.56,.35,.3>}normal{bumps.7
scale.02}finish{ambient.27 diffuse.8 phong.2}}#declare
R=union{sphere{<0,3,2>,.5}sphere{<0,-3, 2>,.5}cylinder{
<0,3,2>,<0,-3,2>,.5}texture{T}}difference{intersection{
object{R}box{<-.6,-3.6,1>,<.6,3.6,2>}texture{T}}object{R
scale<-.7,.954,>}object{R scale<-.1,.875,1>translate<0,0,-.5>}}
(i am sure ABX can significantly improve this of course...)
But i have the impression this is not what you wanted to know...
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 17 Jun. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|