POV-Ray : Newsgroups : moray.win : 1rst animation : Re: 1rst animation Server Time
29 Jul 2024 02:24:20 EDT (-0400)
  Re: 1rst animation  
From: Steven
Date: 18 Jun 1999 15:22:51
Message: <376a9c8b@news.povray.org>
thanks Ken, you can tell I don't like working with text, I am not a
programmer just a copy and paste hack :-)
Ken <tyl### [at] pacbellnet> wrote in message
news: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.