|
![](/i/fill.gif) |
> So what clued you on to this, Tim? I didn't see any complaints in the pov
> output (but perhaps I missed it).
The file path provided raised an error, so I saw that
code, and remembered that you can't use concat to
form a filename in-place, it expects a literal or an
identifier, it just seemed simpler to move it.
Luck and experience I guess.
> Does this warrant a bug report?
Maybe, POV scenes should render the
same under any OS. Here's a minimal scene that
renders fine in Windows, does it work in Linux?
#version 3.6;
camera {
location <0.0, 0.5, -4.0>
direction 1.5*z
right x*image_width/image_height
look_at <0.0, 0.0, 0.0>
}
light_source {
<-30, 5, -30>
color <1, 1, 1>
}
#declare VAR = 1;
#declare PATH = "plasma3.png";
height_field {
#ifdef (VAR)
png
#else
png
#end
PATH
pigment {rgb <0,1,0>}
translate <-0.5,0,-0.5>
rotate <90,0,0>
scale <2,2,1>
}
Post a reply to this message
|
![](/i/fill.gif) |