POV-Ray : Newsgroups : povray.windows : Povray Bug..?? : Re: Povray Bug..?? Server Time
28 Jul 2024 12:22:21 EDT (-0400)
  Re: Povray Bug..??  
From: Morpheus Dreamlord
Date: 6 Mar 1999 00:56:55
Message: <36E0C39F.ADE5826F@excite.com>
Umm, yes, sorry, I was typing quickly Tit_Hull is the name..lol.

What happens is Povray looks forward about 20 characters, then starts
parsing from that point, with obvious error messages (this happens on
other peoples scene files too, stuff that worked with 3.1a (I skipped b,
c, versions)

Ken wrote:
> 
> Morpheus Dreamlord wrote:
> >
> > I think I've found a VERY annoying bug in Povray 3.1d (unless it's
> > already been found..LOL)
> >
> > It occurs during parsing, and seems to happen after a number of #while
> > .... #end commands.
> >
> > Povray errors out with a message that it can't understand what "-" (or
> > "d") is. It seems to skip about 20 odd characters after the #end, then
> > resumes parsing...  eg - (NOT real code, but came from a Titanic
> > animation I'm trying to do)
> >
> > #end
> > #declare Tit-Hull=union{sphere
> >
> > This will error out will a message about "p" (in sp*here) being
> > undefined.
> >
> > As you can imagine, I now can no longer render some of my files.
> > Does anyone have version 3.1c anywhere?
> 
> If you are really trying to use a " - " as a part of your declared
> object name then you will get and error. Perhaps you should be
> recieveing a different warning but I think what is happening is that
> Pov goes through the loop until it processes all of the interations
> and then starts looking for directions on how to proceed. At this
> point it has been parsing for quite a while and then it hits a
> directive from you to subtract Tit from Hull and starts looking for
> the definition of the terms. Using Tit-Hull is an illegal operation
> because the minus sign is a reserved symbol. You should instead use
> an underscore like this #declare Tit_Hull = whatever .
> 
> --
> Ken Tyler
> 
> mailto://tylereng@pacbell.net

-- 

Politicians are lying, cheating, thieving, underhanded, corrupt,
unethical, unprincipled, degraded, venal, money-grabbing,
self-serving filth that should be killed on sight
(in the messiest, most painful way possible)!

Clean up the world !! Kill a politician today !!


Post a reply to this message

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