POV-Ray : Newsgroups : povray.general : "The Last Guardian" cannot be rendered?? : Re: "The Last Guardian" cannot be rendered?? Server Time
30 Jul 2024 22:18:06 EDT (-0400)
  Re: "The Last Guardian" cannot be rendered??  
From: Vincent Le Chevalier
Date: 3 Apr 2008 03:37:24
Message: <47f49744@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.