POV-Ray : Newsgroups : povray.newusers : POVRay, Win, Height-field tutorial glitch : Re: POVRay, Win, Height-field tutorial glitch Server Time
3 Oct 2024 21:20:28 EDT (-0400)
  Re: POVRay, Win, Height-field tutorial glitch  
From: Ron Parker
Date: 15 Dec 1998 13:16:04
Message: <3676a764.0@news.povray.org>
On Tue, 15 Dec 1998 11:43:02 -0600, Stephanie Schnoebelen 
	<ssn### [at] leepfrogcom> wrote:
>When I exactly follow the POVRay (v 3.1) tutorial in the Windows Help
>files up to the creation of hfdemo.pov, I end up with an error that it
>can't open the tga file that I was supposed to have made from image.pov.
>It seems something has been left out of the instructions. (I do have an
>image .bmp in my directory, but I can't seem to save it as a .tga.) Can
>anyone help?

Version 3.1 of POV for Windows was changed rather late in the development 
cycle to output BMP files instead of TGA files by default, presumably so
the results could be viewed in the standard Windows Paint application. The
documentation must not reflect this change.  There are two things you can
do.  Either one will do what you want.

(1) You could change the file you're editing to read the .bmp file instead
of the .tga file.  This is a simple matter of doing
height_field { sys "image.bmp" ... } 
instead of
height_field { tga "image.tga" ... } 
(the ... isn't part of the syntax; I put it there to represent the other 
stuff in the height_field statement)

(2) You could change POV to output TGA images by default.  To do this, go to
the "Edit Settings/Render" dialog box (Alt-C, or look for it on the Render
menu) and enter "+FT" in the "Command line options" box.


Post a reply to this message

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