POV-Ray : Newsgroups : povray.newusers : Problems with #declare : Re: Problems with #declare Server Time
2 Nov 2024 05:17:58 EDT (-0400)
  Re: Problems with #declare  
From: Josh
Date: 9 Sep 2004 04:37:42
Message: <41401656$1@news.povray.org>
I'm guessing here as I havn't tried rendering you code but there appears to
be a missing semi colon after your declare e.g.
> #declare Reloj =
> union {
>   merge {
>     box {<-5,0,-55>,<0,95,55>}
>     cylinder{<-5,95,0>,<0,95,0>,55}
>    texture { T_Wood15 } finish { specular .51 ambient 1 diffuse .96 }
>   scale 0.1}
>
> difference {
>     cylinder{<-10,95,0>,<20,95,0>,40}
>     cylinder{<-11,95,0>,< 6,95,0>,36}
>     texture { T_Gold_1D } finish { specular 2 ambient 1 diffuse .07
> reflection 0.1 phong 0.3 phong_size 30 }
>     scale 0.1}} ;   <===================================== Here...
> object { Reloj rotate y*115 translate <0, 0, 0> }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.