|
![](/i/fill.gif) |
That's it, Tim! Step #3 is the important one. Apparently the following works
on Windows but not Linux:
#declare base_terrain = height_field {
#ifdef (USE_PNG_HF)
png
#else
sys
#end
terrain_file
...
}
As Tim found, it must be in the form:
#declare base_terrain = height_field {
#ifdef (USE_PNG_HF)
png terrain_file
#else
sys terrain_file
#end
...
}
So if you merely make the above tweak to terrain.ini you can render it as per
the author's readme file. You will still get warnings but this time it will
progress past them.
So what clued you on to this, Tim? I didn't see any complaints in the pov
output (but perhaps I missed it).
Does this warrant a bug report?
"Tim Attwood" <tim### [at] comcast net> wrote:
>
> 3. Modify terrain.inc to refer the height_field path...
> (Line 216 - 223), only the png portion really matters,
> but make sure to move terrain_file into the #ifdef
> so it doesn't raise an error. Like this...
>
> #declare base_terrain = height_field {
> #ifdef (USE_PNG_HF)
> png "full file path\base_terrain_v2.png"
> #else
> sys terrain_file
> #end
>
Post a reply to this message
|
![](/i/fill.gif) |