|
|
Nathan, this related tot he translate issue, but I have discovered a problem
with the $ shorcut in MegaPOV 0.5a.
If I use
$Dothis = 0;
after a texture with a finish, is does not parse.
'Object or directive expected but $ found instead' is the message
Sample code:
#declare M_texture = texture {
pigment {rgb <0.75, 0.75, 0.75> }
finish {
ambient 0.1
brilliance 6
diffuse 0.7
metallic
specular 0.80
roughness 1/120
reflection 0.8
}
}
$Dothis = 0;
This complains about the $Dothis
if the $Dothis is before the #declare it works correctly.
I discovered this beceause the #declare was in a .inc file and the $Dothis
was giving an error...
Alan
"Nathan Kopp" <Nat### [at] Koppcom> wrote in message
news:398e3032@news.povray.org...
>
> Nathan Kopp <Nat### [at] Koppcom> wrote...
> >
> > > mega pov running in official mode works fine with
> > >
> > > translate 7.5*z
> > >
> > > in mega mode, it dosen't
>
> > 1) vector->color promotion fixes
> > 2) fast macro patch
>
> Wait... switching to 'official' mode doesn't turn either of these off, so
it
> couldn't be them.
>
> > 3) $ and % as shortcuts for #declare and #local
>
> So that means it's either this or some other change that I've forgotten
> about.
>
> -Nathan
>
>
Post a reply to this message
|
|