I am trying to use an object that is "freely useable". It works fine in it's
own pov file but when I tried using it in mine I get a problem. Consider
the following...
#declare Cylndr017 = object {
object { // Cylndr017->Cylndr018
Cylndr018
rotate -0.0*y
translate -1.5*x
}
}
POV stops on the line with the rotate and gives me the message...
Parse error: no matching } in "object" * found instead.
this is the brass bed object from the POVRAY objects collection. Like I said
it works fine from it's own pov file. I "included" the povray file in my
pov file and I get that error while parsing. I had a similar problem using
the desklamp from the same collection.
any opinions?
From: Slime
Subject: Re: why is math failing?
Date: 8 Feb 2005 00:15:25
Message: <42084aed@news.povray.org>
The following scene parsed and rendered for me without any problems in
POV-Ray 3.6.1:
#declare Cylndr018 = sphere{0,1}
#declare Cylndr017 = object {
object { // Cylndr017->Cylndr018
Cylndr018
rotate -0.0*y
translate -1.5*x
}
}
object {Cylndr017}
So the issue probably has something to do with the way you've included the
file or some other code within your script.
- Slime
[ http://www.slimeland.com/ ]
Well I tried this. first I remmed out those -0.0*y statements in the file (
why would I need to give something a non existant rotation anyway? y*0 = 0)
then I wrote out all those *x and *z statements the longway. and that helped
the file render. though for some odd reason the bed object rendered flipped
on the positive x axis. quick rotation fix and I have a working bed.
Thanks.
Barehunter wrote:
> Well I tried this. first I remmed out those -0.0*y statements in the file (> why would I need to give something a non existant rotation anyway? y*0 = 0)> then I wrote out all those *x and *z statements the longway. and that helped> the file render. though for some odd reason the bed object rendered flipped> on the positive x axis. quick rotation fix and I have a working bed.> Thanks.> >
I have that problem too when I'm tired.