|
![](/i/fill.gif) |
Cruxic a écrit :
> 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.
>
Well that's very strange, because on a simple test scene having png and
the name of the file on different lines seems to work... There is
probably something more evil at work behind the scene ;-)
Anyway, hats off to Tim for figuring it out!
--
Vincent
Post a reply to this message
|
![](/i/fill.gif) |