|
![](/i/fill.gif) |
Steven wrote:
>
> I am trying to do my very first animation, this is what I get
> error: object or directive expected but translate found instead
>
> retuned from renderer (non-zero return value)
>
> here is my script. Whats wrong?
Whenever you get that warning start counting left and right curly braces
i.e. {} for every left brace there must be a left brace. In your code you
have a right brace closing the sphere object before the translate operation
so Pov is returning the warning you are seeing. See arrow where brace it
wrongly placed.
> sphere { // Sphere001
> <0,0,0>,1
> material {
> ChromeTexture
> }
> scale <10.0, 10.0, 1.0>
====>}
> translate
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
![](/i/fill.gif) |