POV-Ray : Newsgroups : povray.general : Question: Twisting a Heightfield? : Re: Question: Twisting a Heightfield? Server Time
8 May 2024 00:15:14 EDT (-0400)
  Re: Question: Twisting a Heightfield?  
From: Sven Littkowski
Date: 7 Feb 2016 22:00:20
Message: <56b804c4$1@news.povray.org>
Hi, line 5 gives that error.

In this case, the error message mentions I might have to include
"functions.inc". I did a 2nd try, now having included "functions.inc",
but that is still causing the same error message, now without mentioning
"functions.inc".

Now I followed up the advise of William F. Pokorny, and added instead
"shapes.inc" to the code. The result is, that now finally the inserted
code is complete and functional, and I get what I wanted.

My conclusion is, that the INSERT code was incomplete: the include
"shapes.inc" was missing, or at least any hint that shapes.inc has to be
included was missing. How would someone know that? I use POV-Ray since
1989 or so and didn't know it. How would any newbie using the
comfortable INSERT options know, that more is required, if this is
nowhere mentioned or done. I think, any INSERT code needs to be complete
and functional, only then it makes sense.

I advise, to add such includes to each INSERT object where applicable,
and also to add a comment behind it mentioning that the include needs to
be there only one time (in case you use more than one INSERT objects
that require the same include).


Post a reply to this message

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