POV-Ray : Newsgroups : moray.win : 1rst animation : Re: 1rst animation Server Time
29 Jul 2024 02:29:42 EDT (-0400)
  Re: 1rst animation  
From: Ken
Date: 18 Jun 1999 15:09:39
Message: <376A968C.A9E3FB79@pacbell.net>
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

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